| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
the global variable dev_bsize. Add a prototype for sblock_init()
to fsck.h, and set the return type correctly.
|
|
|
|
| |
- MAN[1-9] -> MAN.
|
|
|
|
|
|
| |
<sys/param.h> (the latter includes the former).
Submitted by: bde
|
|
|
|
| |
Submitted by: Ollivier Robert <roberto@eurocontrol.fr>
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Approved by: rwatson
Obtained from: NetBSD source tree
Second part of the fsck wrappers commit. This commit enables the new fsck
code (removing the fsck/* code and replacing it with the netbsd fsck
wrapper code), and enabling some FFS-based utilities to compile.
Details:
* quotacheck, fsdb required modification to use the fsck_ffs/ code rather
than fsck/ . This might change later since quotacheck requires preen.c
which should exist in fsck/ rather than fsck_ffs/
* src/Makefile has fsck_ffs added to it so it it built as part of the tree
now
* share/doc/smm/03.fsck/ uses the SMM.doc/ stuff from fsck_ffs, not fsck.
I've tested this, and it shouldn't require any changes on your machine.
The fsck wrapper reads /etc/fsck and is command-line-compatible enough
to not require rc changes (well, most changes unless you want to do
anything nifty by specifying the fs types explicityly, read the man page
if you want further details on what it can do.)
This now allows us to support multiple filesystem types during bootup.
|
| |
|
|
|
|
|
| |
the strings "FreeBSD" and "NetBSD". Use the .Fx or .Nx macro
instead.
|
|
|
|
| |
Reviewed by: phk
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
o main returns int not void
o use braces to avoid potentially ambiguous else
Note: The fix to natd is potentially functional in nature since I used
the indentation as the right thing rather than the struct semantics.
Someone more familiar with the code should double check me on this one.
Reviewed by: obrien and chuckr
|
|
|
|
| |
PR: docs/10973
|
|
|
|
|
|
|
| |
array that were doing sizeof on an unrelated variable. This just happened
to work right on the i386, but would not on the alpha.
PR: bin/8427
|
| |
|
|
|
|
|
| |
formatting of rcsid. Remove unused #includes. Do not use memory after
freeing it.
|
| |
|
| |
|
|
|
|
| |
unused variables.
|
| |
|
| |
|
| |
|
|
|
|
| |
stamps in the inodes and call one of fsck's utility funcs with a new arg.
|
| |
|
|
|
|
|
|
|
|
| |
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
|
| |
|
| |
|
|
|
|
|
|
| |
in order to create sparse directory files that caused a panic of a
filesystem where fsck would not find anything. A fix for fsck is in the
make but still has to be reviewed by Kirk McKusick.
|
|
|
|
| |
ts_nsec -> tv_nsec
|
| |
|
| |
|
|
|
|
| |
differences that we dont have.
|
|
Obtained from: NetBSD
|