Date: Sat, 24 Aug 1996 11:56:23 -0700 (PDT) From: Gary Kline <kline@tera.com> To: durang@u.washington.edu (Ken Marsh) Cc: reyes01@ibm.net, questions@freebsd.org Subject: Re: How to format a floppy disk for FreeBSD? Message-ID: <199608241856.LAA27736@athena.tera.com> In-Reply-To: <Pine.A32.3.92a.960824110056.108423D-100000@homer01.u.washington.edu> from Ken Marsh at "Aug 24, 96 11:01:42 am"
next in thread | previous in thread | raw e-mail | index | archive | help
According to Ken Marsh: > On Sat, 24 Aug 1996, Francisco Reyes wrote: > > > I tried the FAQ, the Handbook and the Email archives and could not > > find how to format a floppy disk for FreeBSD. I did find how to mount > > it for DOS though. > > Here's the comment from /etc/disktab about floppies: > # 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) > > To format a floppy for mounting on FBSD, this cookbook works for me for the 3.5-inch 1.44M floppies. As root: # fdformat /dev/rfd0 # disklabel -w -B fd0 fd1440 # newfs -t 2 -u 15 -i 65536 -l1 /dev/rfd0 And to simply format a 1.44, simply: # fdformat /dev/rfd0 This is for floppy dev 0 == ``COM1'' gary > > <><> No act of kindness, no matter how small, is ever wasted. -- Aesop
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608241856.LAA27736>