Newfs under SunOS4.1 reports file system sizes incorrectly
Dan Ehrlich
ehrlich at psuvax1.cs.psu.edu
Fri Jul 6 03:06:08 AEST 1990
I just noticed that when running newfs the file system size that is
reported is about 105% of what it should be. For example
# newfs /dev/rid000h
/dev/rid000h: 159900 sectors in 130 cylinders of 15 tracks, 82 sectors
81.9MB in 9 cyl groups (16 c/g, 10.08MB/g, 4608 i/g)
Using my trusty TI-55-II calculator to compute (159900*512)/1048576 yields
a result of 78.076172MB. Even worse 9g * 10.08MB/g = 90.72MB, not 81.9MB.
This is off by about 12%. Can anyone explain to me why these values would
be so far from what it would appear they should be?
Thanks.
Dan Ehrlich <ehrlich at cs.psu.edu>/Voice: +1 814 863 1142/FAX: +1 814 865 3176
More information about the Comp.sys.sun
mailing list