Comment 223 for bug 441835

Revision history for this message
florment-2 (florment-2) wrote : R: [Bug 441835] Re: Clicking on floppy gives "no device media found"

Mi dispiace ma ho provato i comandi suggeriti e questo è il risultato:
quindi...?
Grazie

.....o@......-desktop:~$ sudo mount floppy
[sudo] password for ....: ..................
mount: impossibile trovare floppy in /etc/fstab o /etc/mtab
.......o@------desktop:~$ $ mount /media/floppy0
$: command not found

>----Messaggio originale----
>Da: <email address hidden>
>Data: 24-giu-2010 17.40
>A: <email address hidden>
>Ogg: [Bug 441835] Re: Clicking on floppy gives &quot;no device media
found&quot;
>
>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 direct subscriber
>of the bug.
>
>Status in obsolete project: Fix Released
>Status in GVFS: Unknown
>Status in “devicekit-disks” package in Ubuntu: Invalid
>Status in “linux” package in Ubuntu: Invalid
>Status in “udisks” package in Ubuntu: Fix Released
>Status in “devicekit-disks” source package in Lucid: Invalid
>Status in “linux” source package in Lucid: Invalid
>Status in “udisks” source package in Lucid: Fix Released
>Status in “devicekit-disks” source package in Karmic: Triaged
>Status in “linux” source package in Karmic: Invalid
>Status in “udisks” source package in Karmic: Invalid
>
>Bug description:
>In Karmic GNOME, floppies are detected correctly by linux, udev, devkit-
disks, and gvfs. However, when clicking on the floppy icon in GNOME, you get a
"no medium found" error.
>
>Remote reproducer: gvfs-mount -li
>
> - When you just start that with no other processes running, you get a
correct "volume" for /dev/fd0 ("floppy0").
> - When you start it through dbus-launch, you get a floppy0 "drive" instead,
and no volume
>
>To unsubscribe from this bug, go to:
>https://bugs.launchpad.net/devicekit/+bug/441835/+subscribe
>