mount / umount
Fabrizio Parrella
fabrizio at nldesign.com
Tue Jan 6 08:01:24 PST 2004
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
More information about the freebsd-current
mailing list