[Bug 441835] Re: Clicking on floppy gives "no device media found"
Arrigo Marchiori
ardovm at yahoo.it
Thu Jun 24 15:40:22 UTC 2010
Hi, I can confirm that this bug still exists in Lucid, using udisks 1.0.1-1ubuntu1
I have tried two scenarios: with and without an entry in /etc/fstab for the floppy drive, and I found a funny thing.
I kept the command 'udisks --monitor' running in a separate terminal.
1- without entry in /etc/fstab
As an user with administrator right, I run the command:
$ sudo mount /dev/fd0 /mnt
udisks says:
> changed: /org/freedesktop/UDisks/devices/fd0
and the floppy is correctly mounted into /mnt. Then I run the command:
$ sudo umount /mnt
udisk says:
> changed: /org/freedesktop/UDisks/devices/fd0
and the floppy is correctly unmounted.
2- with entry in /etc/fstab
/dev/fd0 /media/floppy0 vfat user,noauto 0 0
As the same user, I run the command (notice I am not using sudo):
$ mount /media/floppy0
The mount command returns zero, BUT the disk is immediately, automagically unmounted! udisk says:
> changed: /org/freedesktop/UDisks/devices/fd0
> job-changed: /org/freedesktop/UDisks/devices/fd0
> changed: /org/freedesktop/UDisks/devices/fd0
> job-changed: /org/freedesktop/UDisks/devices/fd0
The same things happens if I use mount with sudo.
Summary: it is not possible to mount a floppy disk in current Lucid, either double-clicking its icon, or using the mount command inside a terminal.
The only way I can mount the floppy disk is _not_ having it in /etc/fstab and using 'sudo mount'.
Otherwise, the floppy disk is unmounted right after I mount it! See below:
$ mount /media/floppy0 && mount | grep floppy
/dev/fd0 on /media/floppy0 type vfat (rw,noexec,nosuid,nodev,user=amministratore)
$
$ mount /media/floppy0 && sleep 2 && mount | grep floppy
$
The floppy disk is unmounted before 2 seconds!
HTH
--
Clicking on floppy gives "no device media found"
https://bugs.launchpad.net/bugs/441835
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.
More information about the kernel-bugs
mailing list