Date: Sat, 19 Oct 1996 09:19:49 +1000 From: Bruce Evans <bde@zeta.org.au> To: joerg_wunsch@uriah.heep.sax.de, pallenby@mikom.csir.co.za Cc: freebsd-hackers@freebsd.org Subject: Re: 2.2-961014-SNAP install problem Message-ID: <199610182319.JAA23964@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>> uses C*H*S as the number of blocks on drive, it wastes space. (Newfs >> wastes space, too, since it can also only think in terms of >> cylinders.) >> >> -- >> cheers, J"org > >Agreed! Try newfs'ing a floppy without 'c 1' I fixed this in 4.4Lite2: --- Script started on Sat Oct 19 08:33:20 1996 ttyp0:bde@gamplex:/tmp> newfs /dev/rfd1c floppy5 Warning: 1696 sector(s) in last cylinder unallocated /dev/rfd1c: 2400 sectors in 1 cylinders of 1 tracks, 4096 sectors 1.2MB in 1 cyl groups (1 c/g, 2.00MB/g, 576 i/g) super-block backups (for fsck -b #) at: 32, ttyp0:bde@gamplex:/tmp> disklabel -i /dev/rfd1c Filesystem 1024-blocks Used Avail Capacity iused ifree %iused Mounted on /dev/rfd1c 1099 0 1011 0% 3 573 1% ttyp0:bde@gamplex:/tmp> exit Script done on Sat Oct 19 08:34:08 1996 -- The old newfs is confused by the fake geometry of 1/1/4096 and generates 5 cylinder groups with 889 inodes each. With `-c 1', it generates 352 inodes. 352 is probably better than 576, but 576 is correct because the default for -i is 2048. (576 is is slightly wrong too. It is based on 1099 data blocks (576 = 1099/2 rounded up to use a multiple of 4K for inodes), but there are only 1011 avaiable (1011/2 rounded gives 512).) Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610182319.JAA23964>