cvs commit: src/sbin/newfs newfs.8 newfs.c newfs.h
Yar Tikhiy
yar at FreeBSD.org
Tue Nov 27 23:29:10 PST 2007
yar 2007-11-28 07:29:10 UTC
FreeBSD src repository
Modified files:
sbin/newfs newfs.8 newfs.c newfs.h
Log:
MFp4:
Add a new option to newfs(8), -r, to specify reserved space at the
end of the device. It can be useful, e.g., when the device is to
become a member of a gmirror array later w/o losing the file system
on it.
Document the new option in the manpage.
While I'm here, improve error handling for -s option, which is
syntactically similar to -r; and document the fact that -s0 selects
the default fs size explicitly, which can be useful, e.g., in a
menu-based wrapper around newfs(8) requiring some value be entered
for the fs size.
Also fix a small typo in the help line for -s (missing space).
Idea and initial implementation by: marck
Discussed on: -fs
Critical review by: bde
Tested with: cmp(1)
Revision Changes Path
1.71 +21 -3 src/sbin/newfs/newfs.8
1.83 +37 -18 src/sbin/newfs/newfs.c
1.19 +1 -1 src/sbin/newfs/newfs.h
More information about the cvs-src
mailing list