Date: 02 Mar 2002 14:00:11 +0000 From: Harry Newton <harry_newton@telinco.co.uk> To: dave_ontario@yahoo.com (bst) Cc: freebsd-questions@freebsd.org Subject: Re: Floppy mounting. Message-ID: <86vgcf2hp0.fsf@basilisk.locus> In-Reply-To: <3c7d89bd.454479036@news.peterboro.net> References: <3c7d89bd.454479036@news.peterboro.net>
index | next in thread | previous in thread | raw e-mail
I think you need to use /dev/fd0c ( N.B. the appended 'c' ).
(4)% grep floppy /etc/fstab
/dev/fd0c /mnt/floppy msdos rw,noauto 0 0
Your kernel configuration is what I have, though I only have one
floppy drive.
Format the floppy with:
fdformat /dev/fd0 ( N.B. No 'c' )
And, put an MSDOS filesystem on it with:
newfs_msdos -f 1440 fd0
Rather than mounting a floppy by hand, have a look at the mtools port
( emulators/mtools ).
Also consider using the automounter, amd(8).
To put a unix filesystem on the floppy, format it as before, and then
do:
disklabel -B -r -w fd0.1440 fd1440
newfs -m 0 fd0
This can then be mounted with:
mount /dev/fd0 /floppy_mount_point
and of course, you can fsck(8) the disk with a unix filesystem:
fsck /dev/fd0
Hope this is of use !
Cheers,
- Harry
>>>>> "bst" == bst <dave_ontario@yahoo.com> wrote:
bst> I cant mount my floppy drive.
bst> here is a snippet from my new kernel (freebsd 4.5 stable)
bst> # Floppy drives
bst> device fdc0 at isa? port IO_FD1 irq 6 drq 2
bst> device fd0 at fdc0 drive 0
bst> device fd1 at fdc0 drive 1
bst> #
bst> i tried mounting a ufs and fat, but nothing..
bst> mount /dev/fd0 /mnt/floppy
bst> mount: /dev/fd0: Device not configured
bst> i tried various methods aswell
bst> something im missing??
--
Harry Newton
harry_newton at telinco.co.uk
www.gaudeamus.telinco.co.uk/html/gpg.html
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86vgcf2hp0.fsf>
