Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.cis.okstate.edu!news.ksu.ksu.edu!news.physics.uiowa.edu!math.ohio-state.edu!howland.reston.ans.net!newsfeed.internetmci.com!tank.news.pipex.net!pipex!oleane!in2p3.fr!swidir.switch.ch!swsbe6.switch.ch!scsing.switch.ch!news.belwue.de!news.uni-stuttgart.de!schweikh
From: schweikh@itosun.ito.uni-stuttgart.de (Jens Schweikhardt)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: problem with wasted sectors on floppies
Date: 8 Jan 1996 15:09:39 GMT
Organization: Comp.Center (RUS), U of Stuttgart, FRG
Lines: 37
Message-ID: <4crc3j$2i2m@info4.rus.uni-stuttgart.de>
NNTP-Posting-Host: itosun.ito.uni-stuttgart.de
Keywords: floppy sector wasted newfs
Hello *,
I've got some trouble with wasted sectors on my floppies.
When I try to create a ufs using newfs, I receive a warning that
there are 1216 unallocted sectors. I looked at /etc/disktab and
followed the instructions. Here's what I did:
root:~# fdformat fd0 # answered 'yes' to format 1440k
root:~# disklabel -r -w fd0 floppy3
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
The /etc/disktab from my vanilla 2.1.0-RELEASE has this entry:
fd1440|floppy|floppy3|3in|3.5in High Density Floppy:\
:ty=floppy:se#512:nt#2:rm#300:ns#18:nc#80:\
:pa#2880:oa#0:ba#4096:fa#512:\
:pb#2880:ob#0:bb#4096:fb#512:\
:pc#2880:oc#0:bc#4096:fc#512:
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?
Bye, Jens
--
SIGSIG -- signature too long (core dumped)