From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 21:55:45 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F154D16A4CE for ; Tue, 16 Mar 2004 21:55:45 -0800 (PST) Received: from popimap02.icare.priv (unknown [203.78.64.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id C633943D2F for ; Tue, 16 Mar 2004 21:55:44 -0800 (PST) (envelope-from satimis@icare.com.hk) Received: from smtpi01.icare.priv ([10.11.12.46]) by popimap02.icare.priv with Microsoft SMTPSVC(5.0.2195.5329); Wed, 17 Mar 2004 13:55:43 +0800 Received: from 203.88.164.29 ([203.88.164.29]) by smtpi01.icare.priv with Microsoft SMTPSVC(5.0.2195.5329); Wed, 17 Mar 2004 13:55:42 +0800 From: Stephen Liu To: Mike Jeays , Prodigy Date: Wed, 17 Mar 2004 22:56:23 +0800 User-Agent: KMail/1.5.4 References: <200403170921.34200.satimis@icare.com.hk> <004501c40b75$501d8e90$1e00a8c0@prodigy> <1079484528.5194.9.camel@chaucer> In-Reply-To: <1079484528.5194.9.camel@chaucer> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200403172256.24082.satimis@icare.com.hk> X-OriginalArrivalTime: 17 Mar 2004 05:55:43.0003 (UTC) FILETIME=[7BC2CEB0:01C40BE4] cc: freebsd-questions Subject: Re: Format floppy problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Mar 2004 05:55:46 -0000 - snip - > > > $ fdformat /dev/fd0 > > > Format 1440K floppy `/dev/fd0'? (y/n): y > > > Processing VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV done. > > > > > > they could not be mounted > > > > > > $ mount -t msdos /dev/fd0 /usr/home/user/floppy > > > msdosfs: /dev/fd0: Invalid argument > > > > > > I tested 3 floppies with the same result. Kindly advise how to fix > > > this problem. Is there a special format floppy command for FreeBSD. > > > - snip - > If you want to format a floppy with the FAT format for use in a Windows > system, try: > > #!/bin/sh > # Format a DOS floppy TMJ 1999-05-15 > fdformat -f 1440 fd0 > newfs_msdos -f 1440 fd0 > > You can then mount it as > mount -t msdos /dev/fd0 /mnt > > The other method is to format it with the UFS filesystem, by: > > #!/bin/sh > # Floppy formats: > # > # To make a filesystem on a floppy: > # fdformat [-f ] fd[.] > # disklabel -B -r -w fd[.] fd > # newfs fd[.] > fdformat -q fd0.1440 > disklabel -B -r -w fd0.1440 fd1440 > newfs -c 1 fd0.1440 > > These can be mounted by > mount /dev/fd0 /mnt > but cannot be used on a Windows system. Hi Mike, Prodigy and other folks Thanks for your advice. Problem is now solved. B.R. Stephen