Source-Changes archive

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

CVS commit: basesrc/usr.sbin/makefs/ffs



Module Name:    basesrc
Committed By:   lukem
Date:           Fri Jan 18 08:32:35 UTC 2002

Modified Files:
        basesrc/usr.sbin/makefs/ffs: mkfs.c

Log Message:
apply changes from revs 1.56-1.59 of newfs/mkfs.c:
* revision 1.56
        the change of calculation of inodes per group in rev 1.52 was far too
        aggressive; rework to be a bit less susceptable to round-off error.
        now it's likely that the density might not be obtained with a small
        filesystem with a large number of inodes (e.g -s 4M -i 1k), but that's
        an extremely unlikely corner case that can easily be rectified with
        command-line arguments.
        fixed provided in private email by Takao Shinohara 
<shin%sm.sony.co.jp@localhost>
        should resolve PRs [bin/14049] and [bin/14046]
    [ this fixes a problem in makefs(8) that matt green reported ]

* revision 1.58
        clamp bsize to MAXBSIZE

* revision 1.59
        don't bother printing a warning about the cylinder group size being
        restricted if -c isn't given; it just confuses a user of newfs (and
        the cpg info is printed as part of the display anyway), and prints an
        unnecessary warning for mount_mfs.

XXX: I must rework newfs/mkfs.c to make it easier to just .PATH into makefs(8)


To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 basesrc/usr.sbin/makefs/ffs/mkfs.c

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