Subject: CVS commit: src/sbin/newfs
To: None <>
From: David Laight <>
List: source-changes
Date: 11/01/2003 17:43:03
Module Name:	src
Committed By:	dsl
Date:		Sat Nov  1 17:43:03 UTC 2003

Modified Files:
	src/sbin/newfs: Makefile newfs.8 newfs.c

Log Message:
Use fstat(2) to get the partition size (falling back to the label on old
kernels) so that newfs works on vinum (and similar).
Kill the -V hack for vinum.
Don't bother faking up a label for -F and mfs, nothing is needed from it.
Ignore label if special doesn't match DISKPART(sb.st_rdev);
Simplifly logic for default block/frag sizes.
Update man page to match.

To generate a diff of this commit:
cvs rdiff -r1.27 -r1.28 src/sbin/newfs/Makefile
cvs rdiff -r1.61 -r1.62 src/sbin/newfs/newfs.8
cvs rdiff -r1.74 -r1.75 src/sbin/newfs/newfs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.