reynolds@uunet.uu.net (Brian Reynolds) (10/09/90)
I seem to be a bit confused about block and partition sizes when using Minix 1.5 for the Atari. I originally installed Minix 1.1 when it first came out. /dev/hd2 is the root image for the RAM disk and /dev/hd3 is the /usr partition. (I know, not too bright. I formatted the disk before I had Minix.) I wasn't convinced I had the the mkfs sizes correct, but the manual had a discussion about sectors, blocks, and zones and I figured that since things weren't broken don't fix it. I've been running v1.5(unpatched) from floppy while I wait for the new HD utilities from ICD so that I can upgrade to TOS 1.4 and reformat my HD. I decided to mount my hard disk and poke around a bit. This is where the confusion comes in. Using different utilities I seem to get different sizes for the same partitions. partition readall df partlook /dev/hd2 976 511 1953 /dev/hd3 31250 16383 62500 readall -t reports 1KB blocks and seems to agree with partlook (a TOS utility from START by Dave Small and Dan Moore) which reports 512 byte sectors. df, which reports the total number of 1KB blocks, however seems to report only about half of the partition. The ICD software doesn't read the partition data off the disk so their format/partitioning utility doesn't help. Does anyone see what I'm doing wrong? I'm confident that the partitions are the size partlook states, so I'm not worried about overwriting past the end. /dev/hd3 is not the last partition on the disk. I haven't seen any mention of zones in the v1.5 manual. I imagine I could have done the mkfs wrong when I installed v1.1, but why does readall report the correct size? Shouldn't it stop at what df thinks is the end of the partition? By the way, is there a way to use the hard disk as the root partition and not use a RAM disk (or only use it for /tmp)? Overall I like v1.5. Even running from floppies it seems faster than v1.1, and the manual is very nice. See you around. Brian Reynolds | reynolds@fsg.com Fusion Systems Group | -or- 225 Broadway 35th floor | ...!uunet!fsg!reynolds New York, NY 10007 | Phone: (212)285-8001