From owner-freebsd-questions Tue Dec 15 00:16:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA00419 for freebsd-questions-outgoing; Tue, 15 Dec 1998 00:16:26 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from jason04.u.washington.edu (jason04.u.washington.edu [140.142.78.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA00414 for ; Tue, 15 Dec 1998 00:16:25 -0800 (PST) (envelope-from durang@u.washington.edu) Received: from goodall2.u.washington.edu (durang@goodall2.u.washington.edu [140.142.12.168]) by jason04.u.washington.edu (8.8.4+UW97.07/8.8.4+UW98.06) with ESMTP id AAA14836; Tue, 15 Dec 1998 00:16:21 -0800 Received: from localhost (durang@localhost) by goodall2.u.washington.edu (8.8.4+UW97.07/8.8.4+UW98.06) with SMTP id AAA57692; Tue, 15 Dec 1998 00:16:20 -0800 Date: Tue, 15 Dec 1998 00:16:20 -0800 (PST) From: "K. Marsh" To: "Pavel V. Antipov" cc: freebsd-questions@FreeBSD.ORG Subject: Re: About floppy, please In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 15 Dec 1998, Pavel V. Antipov wrote: > When I formatted 1.4M floppy as discribed in /etc/disktab, I got > 1218K total disk space and 1180K free disk space. > > But I want to have 1440K total disk space. > > How can I format floppy correctly ? > > 1. fdformat -f 1440 /dev/fd0.1440 > 2. disklabel -B -r -w /dev/fd0.1440 fd1440 > 3. newfs -t 2 -u 18 /dev/fd0.1440 I can't say you'll get the whole 1440K, but if you use: newfs -t 2 -u 18 -l 1 -i 65536 /dev/rfd0 You'll set the interleave to 1 (not sure what default is) and the bytes-per-i-node to 65536. The default i-node value is a waste of space on a disk as small as a floppy. Kenneth J. Marsh University of Washington durang@u.washington.edu Chemical Engineering To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message