Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jan 1999 16:51:20 +1300
From:      "Dan Langille" <junkmale@xtra.co.nz>
To:        "Roy D. Fulton" <rfulton@net1plus.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Using the floppy
Message-ID:  <19990116035055.JTGX682101.mta1-rme@wocker>
In-Reply-To: <19990116031305289.AAA222@mail.net1plus.com@redhwk>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990116035055.JTGX682101.mta1-rme>