*BSD News Article 59961


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.uoknor.edu!news.nodak.edu!netnews1.nwnet.net!news.u.washington.edu!news.alt.net!nntp1.jpl.nasa.gov!nntp-server.caltech.edu!fnnews.fnal.gov!uwm.edu!cs.utexas.edu!howland.reston.ans.net!newsfeed.internetmci.com!news.mathworks.com!fu-berlin.de!news.dfn.de!news.uni-jena.de!news.HRZ.HAB-Weimar.DE!News.HTWM.De!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: newfs on floppy problem
Date: 17 Jan 1996 23:09:04 GMT
Organization: Private BSD site, Dresden
Lines: 39
Message-ID: <4djvig$d6u@uriah.heep.sax.de>
References: <4di314$lcl@news.fsu.edu>
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

astuy@bio.fsu.edu (Alexander Stuy) writes:
> Can somebody clue me in on where I am going wrong?  I am only getting about 
> half of the floppy's capacity as well as the following warnings.

You're wasting too much space in useless i-nodes.  This is the comment
on top of a fairly recent /etc/disktab:

#
# Floppy formats:
#
# To make a filesystem on a floppy:
#       fdformat [-f <size>] fd<drive>[.<size>]
#       disklabel -B -r -w fd<drive>[.<size>] fd<size>
#       newfs <opts> fd<drive>[.<size>]
#
# with <opts>:
#       -t 2    - two heads
#       -u 9|15|18 - sectors per track
#       (using the default value of 1/4096 is not much useful for floppies)
#       -l 1    - interleave 1 (for most floppies)
#       -i 65536 - bytes of data per i-node
#       (the default -i value will render you with a floppy wasting way
#       too much space in i-node areas)
#

It's mostly the -i option to newfs that will make you happy.

(Note that you could abbreviate the above -t and -u settings by
-t0 -u0.)

Btw., you don't really want to create a ufs floppy.  Almost nobody
does it.

-- 
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. ;-)