mount / umount

From: Fabrizio Parrella <fabrizio_at_nldesign.com>
Date: Tue, 6 Jan 2004 10:59:54 -0500
I mount a msdos floppy disk with:

mount -tmsdos /dev/fd0 /mnt/floppy

and everything works fine..
when I tried to umount, I got this:

umount: unmount of /mnt/floppy failed: Resourde temporary  unavailable
# fd0: hard error cmd=write fsbn 19 (ST0 40<abnrml> ST1 2<write_protect> ST2 0 
cyl 0 hd 1 sec 2
(this last line repeat every few seconds)

I have a partition NTFS mounted as RO in the first part of the disk.

if I check the directory /mnt/floppy I see it empty.

PLUS, if I try to mount the floppy disk by an user and not as root, I get thie 
message:

msdosfs: /dev/fd0: Operation not permitted

I did as root:

chmod -R 666 /dev/fd*
and also (a plus?)

devfs ruleset 10
devfs rule add path "fd0*" group wheel mode 666
devfs rule applyset

naturally the user that I use to mount the floppy is in the group wheel.

uname -a
FreeBSD 127.0.0.1 5.2-CURRENT FreeBSD 5.2-CURRENT #3: Mon Jan  5 15:22:38 EST 
2004     fabrizio_at_127.0.0.1:/usr/obj/usr/src/sys/MYKERNEL  i386


                        Fabrizio Parrella 
Received on Tue Jan 06 2004 - 07:01:23 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:36 UTC