*BSD News Article 52274


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!wizard.pn.com!Germany.EU.net!news.dfn.de!gs.dfn.de!fauern!news.tu-chemnitz.de!irz401!uriah.heep!not-for-mail
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: mount floppy
Date: 2 Oct 1995 00:38:18 +0100
Organization: Private FreeBSD site, Dresden.
Lines: 32
Message-ID: <44n8pa$jvu@uriah.heep.sax.de>
References: <DFKs5t.2qo@cerc.wvu.edu> <44f7ko$139@uriah.heep.sax.de> <DFq22B.Cx@tarush.chattanooga.net>
NNTP-Posting-Host: uriah.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

Tom Rush <tom@tarush.chattanooga.net> wrote:
>J Wunsch (j@uriah.heep.sax.de) wrote:
>: If you care to create an ufs floppy (native BSD file system), use
>
>: 	disklabel -r -w -B fd0 fd1440
>: 	newfs -t2 -u18 -l1 -i65536 /dev/rfd0a
>              ^^^^^^^^^^^^^^^^^^^^
>
>Thanks for explaining this.  The instructions for this process in
>/etc/disktab leave out the arguments to newfs.  If you do it that way,
>you get a floppy with about half the space wasted.  (Maybe someone
>should add this to /etc/disktab...)

Yes.

>For the floppy, it seems essential.  But I noticed that when I installed
>the system, the default value of 4096 sectors/cylinder was used instead
>of the actual value derived from the disk geometry.  Is this the best
>way to do it, or should you tell newfs the actual geometry (using the
>menu option that allows you to do this)?

Overriding the values from the disklabel to 4096 blocks/cylinder
improves the performance for all "modern" disks.  That's why it's been
made the default (and FreeBSD 2.1+ won't bother you with a useless
warning about this).  Only "true" disks are better served with the
actual values, that is: floppies and other drives with removable media
(ZIP, MOD, Syquest).
-- 
cheers, J"org

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