From owner-freebsd-questions Fri Jan 15 19:51:25 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA26285 for freebsd-questions-outgoing; Fri, 15 Jan 1999 19:51:25 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mta1-rme.xtra.co.nz (203-96-92-1.ipnets.xtra.co.nz [203.96.92.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA26280 for ; Fri, 15 Jan 1999 19:51:23 -0800 (PST) (envelope-from junkmale@pop3.xtra.co.nz) Received: from wocker ([210.55.210.87]) by mta1-rme.xtra.co.nz (InterMail v04.00.02.07 201-227-108) with SMTP id <19990116035055.JTGX682101.mta1-rme@wocker>; Sat, 16 Jan 1999 16:50:55 +1300 From: "Dan Langille" Organization: The FreeBSD Diary To: "Roy D. Fulton" Date: Sat, 16 Jan 1999 16:51:20 +1300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Using the floppy Reply-to: junkmale@xtra.co.nz CC: freebsd-questions@FreeBSD.ORG In-reply-to: <19990116031305289.AAA222@mail.net1plus.com@redhwk> X-mailer: Pegasus Mail for Win32 (v3.01d) Message-Id: <19990116035055.JTGX682101.mta1-rme@wocker> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 15 Jan 99, at 22:19, Roy D. Fulton wrote: > I'm new to FreeBSD and am quite rusty with UNIX period. I'm having > trouble trying to use the floppy. Can anyone give me examples of the > commands needed to prepare, read, and write to a blank floppy, and also > how to use DOS floppies? I was trying the same thing last night. I was told to do the following: format: fdformat /dev/rfd0 disk label: disklabel -w -r /dev/rfd0 fd1440 new file system: newfs /dev/rfd0 I've been told to do the above, then mount it. Then you can treat it like any other file system. Use cp to copy, mv to move, etc. mount floppy: mount /dev/fd0 /mnt mount DOS floppy: mount -t msdos /dev/fd0 /mnt The above commands allow you to access the contents of the floppy via the /mnt directory. and remember to unmount: umount /mnt Hope ths helps. -- Dan Langille The FreeBSD Diary http://www.FreeBSDDiary.com/freebsd To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message