andrew@nsc.nsc.com (Andrew Lue) (07/24/87)
I hope someone out there can solve this problem. I have a UNIX-based development system that includes a 40 Mb hard disk. I created three partitions. Using mkfs, I assigned 29088 blocks (each 512 bytes) to /dev/dsk/0s0 and 22032 blocks to /dev/dsk/0s2. The second partition was the swap area. (Obviously, before I did the mkfs I mkpt'ed.) When I df -t'ed to confirm the number of total blocks per partition, I got unexpected results: -- /dev/dsk/0s2 had 21896 blocks (4236 blocks free) -- /dev/dsk/0s0 had 9928 blocks (1672 blocks free) The discrepancy for 0s0 is unbelievable. Can anyone explain? Please respond to ucbvax!sun!nsc!andrew. Thanks. andrew lue PS: This is a System V.2 setup.