Source-Changes archive

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

CVS commit: basesrc/sbin/newfs



Module Name:    basesrc
Committed By:   lukem
Date:           Sat Aug 25 01:42:47 UTC 2001

Modified Files:
        basesrc/sbin/newfs: mkfs.c

Log Message:
various calcipg() fixes:
- fix round-off errors when determining the number of inodes per group,
  which often resulted in the total number of inodes in the file system
  being less than what the density asked for.
  now you might get more inodes than requested for a given density,
  rather than less.
- if the new inodes/group is <= 0, ensure that it's at least 1, preventing
  a possible division by zero or other wacky problems
- use long long instead of quad_t


To generate a diff of this commit:
cvs rdiff -r1.51 -r1.52 basesrc/sbin/newfs/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