Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: basesrc



Module Name:    basesrc
Committed By:   perseant
Date:           Tue Jan 18 00:02:29 UTC 2000

Modified Files:
        basesrc/sbin/disklabel: disklabel.c
        basesrc/sbin/newfs_lfs: lfs.c newfs_lfs.8

Log Message:
disklabel now understands the p_sgs partition field (shift to compute
segment size from block size).

newfs_lfs now reads the disklabel to find segment, block, and fragment
sizes.  Because reading this info from the wrong fs type could result in
very poor fs layout (e.g. ffs has "16" where the segshift would go,
resulting in 512-*megabyte* segments for 8K blocks), newfs_lfs refuses
to create a filesystem on a partition not labeled "4.4LFS".

Man pages for newfs_lfs updated to reflect this change.


To generate a diff of this commit:
cvs rdiff -r1.79 -r1.80 basesrc/sbin/disklabel/disklabel.c
cvs rdiff -r1.6 -r1.7 basesrc/sbin/newfs_lfs/lfs.c
cvs rdiff -r1.3 -r1.4 basesrc/sbin/newfs_lfs/newfs_lfs.8

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




Home | Main Index | Thread Index | Old Index