From owner-freebsd-questions Fri Jan 15 20:19:59 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA29501 for freebsd-questions-outgoing; Fri, 15 Jan 1999 20:19:59 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gamma.aei.ca (gamma.aei.ca [206.123.6.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA29485 for ; Fri, 15 Jan 1999 20:19:52 -0800 (PST) (envelope-from malartre@aei.ca) Received: from aei.ca (ppp-109-183.mtl.aei.ca [207.107.109.183]) by gamma.aei.ca (8.8.5/8.8.5) with ESMTP id XAA23692; Fri, 15 Jan 1999 23:19:37 -0500 (EST) Message-ID: <36A01312.E232FB61@aei.ca> Date: Fri, 15 Jan 1999 23:18:26 -0500 From: Malartre X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 2.2.8-STABLE i386) X-Accept-Language: fr, en MIME-Version: 1.0 To: junkmale@xtra.co.nz CC: "Roy D. Fulton" , freebsd-questions@FreeBSD.ORG Subject: Re: Using the floppy References: <19990116035055.JTGX682101.mta1-rme@wocker> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dan Langille wrote: > > 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 Sorry if you receive this message 2 times: my netscape crashed when I was posting it for the first time. See: http://www.daemonnews.org/199811/newbies.html http://www.aei.ca/~malartre/freebsd/xfloppy_drive.html -- [Malartre][malartre@aei.ca][http://www.aei.ca/~malartre/] [French piss me off - Cartman, South Park] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message