From owner-freebsd-hackers Fri Oct 18 16:23:01 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA00549 for hackers-outgoing; Fri, 18 Oct 1996 16:23:01 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id QAA00535 for ; Fri, 18 Oct 1996 16:22:36 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.7.6/8.6.9) id JAA23964; Sat, 19 Oct 1996 09:19:49 +1000 Date: Sat, 19 Oct 1996 09:19:49 +1000 From: Bruce Evans Message-Id: <199610182319.JAA23964@godzilla.zeta.org.au> To: joerg_wunsch@uriah.heep.sax.de, pallenby@mikom.csir.co.za Subject: Re: 2.2-961014-SNAP install problem Cc: freebsd-hackers@freebsd.org Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >> 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