From owner-freebsd-questions Sat Aug 24 11:57:01 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA22821 for questions-outgoing; Sat, 24 Aug 1996 11:57:01 -0700 (PDT) Received: from hod.tera.com (hod.tera.com [206.215.142.67]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id LAA22816 for ; Sat, 24 Aug 1996 11:56:58 -0700 (PDT) Received: from athena.tera.com (athena.tera.com [206.215.142.62]) by hod.tera.com (8.7.5/8.7.3) with ESMTP id LAA07972; Sat, 24 Aug 1996 11:56:24 -0700 (PDT) From: Gary Kline Received: (from kline@localhost) by athena.tera.com (8.7.5/8.7.3) id LAA27736; Sat, 24 Aug 1996 11:56:23 -0700 (PDT) Message-Id: <199608241856.LAA27736@athena.tera.com> Subject: Re: How to format a floppy disk for FreeBSD? In-Reply-To: from Ken Marsh at "Aug 24, 96 11:01:42 am" To: durang@u.washington.edu (Ken Marsh) Date: Sat, 24 Aug 1996 11:56:23 -0700 (PDT) Cc: reyes01@ibm.net, questions@freebsd.org X-Mailer: ELM [version 2.4ME+ PL23 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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 ] fd[.] > # disklabel -B -r -w fd[.] fd > # newfs fd[.] > # > # with : > # -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