*BSD News Article 59039


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!gatech!newsfeed.internetmci.com!howland.reston.ans.net!Germany.EU.net!zib-berlin.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: problem with wasted sectors on floppies
Date: 8 Jan 1996 23:20:23 GMT
Organization: Private BSD site, Dresden
Lines: 34
Message-ID: <4cs8rn$jst@uriah.heep.sax.de>
References: <4crc3j$2i2m@info4.rus.uni-stuttgart.de>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.3

schweikh@itosun.ito.uni-stuttgart.de (Jens Schweikhardt) writes:
> 
> root:~# newfs fd0 fd0.1440
> disk doesn't have an MBR
> Warning: Block size and bytes per inode restrict cylinders per group to 5.
> Warning: 1216 sector(s) in last cylinder unallocated
> /dev/rfd0:      2880 sectors in 1 cylinders of 1 tracks, 4096 sectors
>         1.4MB in 1 cyl groups (5 c/g, 10.00MB/g, 4448 i/g)
> super-block backups (for fsck -b #) at:
>  32,
> root:~# mount -t ufs /dev/fd0 /a
> root:~# df /a
> Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
> /dev/fd0          855        0      786     0%    /a

> I expected about 1440 1K-blocks to be available. The missing +600k
> correspond to the 1216 unallocated sectors, I think.
> Is there a way to have a bigger fs on a floppy?

Yes, by reading the man page for newfs(8). :-)

You're simply wasting too much space in useless i-nodes.  Try
something like

	newfs -l1 -i65536 -t0 -u0 fd0

RTFM for the options.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)