Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jan 2004 10:59:54 -0500
From:      Fabrizio Parrella <fabrizio@nldesign.com>
To:        current@freebsd.org
Subject:   mount / umount
Message-ID:  <200401061059.54892.fabrizio@nldesign.com>

index | next in thread | raw e-mail

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@127.0.0.1:/usr/obj/usr/src/sys/MYKERNEL  i386


                        Fabrizio Parrella 


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401061059.54892.fabrizio>