From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 16:48:50 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 3805316A4CE for ; Tue, 16 Mar 2004 16:48:50 -0800 (PST) Received: from fep01-mail.bloor.is.net.cable.rogers.com (fep01-mail.bloor.is.net.cable.rogers.com [66.185.86.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC4DC43D41 for ; Tue, 16 Mar 2004 16:48:49 -0800 (PST) (envelope-from Mike.Jeays@rogers.com) Received: from [192.168.2.100] ([24.43.93.57]) by fep01-mail.bloor.is.net.cable.rogers.comESMTP <20040317004822.GVCY230350.fep01-mail.bloor.is.net.cable.rogers.com@[192.168.2.100]>; Tue, 16 Mar 2004 19:48:22 -0500 From: Mike Jeays To: Prodigy In-Reply-To: <004501c40b75$501d8e90$1e00a8c0@prodigy> References: <200403170921.34200.satimis@icare.com.hk> <004501c40b75$501d8e90$1e00a8c0@prodigy> Content-Type: text/plain Organization: Message-Id: <1079484528.5194.9.camel@chaucer> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Date: 16 Mar 2004 19:48:48 -0500 Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH PLAIN at fep01-mail.bloor.is.net.cable.rogers.com from [24.43.93.57] using ID at Tue, 16 Mar 2004 19:48:22 -0500 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 00:48:50 -0000 On Tue, 2004-03-16 at 11:39, Prodigy wrote: > When u formated your floppy, u have to use disklabel to label floppy disc: > disklabel -w -r /dev/fd0 fd1440 > > and then u have to make new file system on that floppy: > newfs /dev/fd0 > > That's all, now u can mount your floppy disc. > > > Hi folks, > > > > FreeBSD 5.2 > > ========== > > > > Floppies formatted on M$Win can be mounted, copied files to and read, etc. > > > > But floppies formatted on FreeBSD with > > > > $ 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. > > > > TIA > > > > Stephen Liu > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" 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.