From owner-freebsd-questions Wed Mar 20 23:18:21 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA00711 for questions-outgoing; Wed, 20 Mar 1996 23:18:21 -0800 (PST) Received: from nixpbe.pdb.sni.de (mail.sni.de [192.109.2.33]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id XAA00694 for ; Wed, 20 Mar 1996 23:18:09 -0800 (PST) Received: (from nerv@localhost) by nixpbe.pdb.sni.de (8.6.12/8.6.12) id IAA25031 for questions@freebsd.org; Thu, 21 Mar 1996 08:17:40 +0100 Message-Id: <199603210717.IAA25031@nixpbe.pdb.sni.de> Subject: Re: newfs on a floppy disk To: jerry@border.com (Jerry Kendall) Date: Thu, 21 Mar 96 8:15:00 MET From: Greg Lehey Cc: questions@freebsd.org In-Reply-To: <96Mar20.093357est.18435-1@janus.border.com>; from "Jerry Kendall" at Mar 20, 96 9:33 am X-Mailer: xmail 2.4 (based on ELM 2.2 PL16) Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Jerry Kendall wrote: > > On Wed, 20 Mar 1996, k.k phang wrote: > >> >> Can someone out there tell me how to construct a new file system on a >> floppy disk? > > I do it all the time.... Well maybe 3 times a week. Just out of interest, why? >> This was my attempt, no luck. >> >> cluck: {10} disklabel -r -w /dev/rfd1a floppy3 > > try 'disklabel -r -w fd1 floppy3'.... > > Basically you want to put the label on /dev/rfd1c not /dev/rfd1a. > > /dev/rfd1a is where you do the 'newfs' ie: 'newfs /dev/rfd1a'... > > Use can then mount it... > > If you have any trouble, let me know. If you try doing this, you'll find you're left with about 800 kB on a 3 1/2" floppy: newfs leaves nearly half the disk unused. That's why you need to specify the geometry. It's still a bad idea to make a ufs file system on a floppy. Greg