Upgrade to Udisks 2.0 to get a working floppy drive?

NoOp glgxg at sbcglobal.net
Sun Sep 30 00:35:15 UTC 2012


On 09/29/2012 12:20 PM, John Hupp wrote:
> The bug which kept floppy drives from working in udisks 1.x (included in 
> Lubuntu) has been closed without a resolution. Developer or maintainer 
> David Zeuthen advises upgrading to 2.0, in which which he says floppy 
> drives work.  See https://bugs.freedesktop.org/show_bug.cgi?id=30283#c26
> 
> Is there any reason not to upgrade in Ubuntu 12.04?  How do I do it?

Well... 12.04 doesn't provide udisks 2.x, it only provides:
$ apt-cache policy udisks
udisks:
  Installed: 1.0.4-5ubuntu2.1
  Candidate: 1.0.4-5ubuntu2.1
  Version table:
 *** 1.0.4-5ubuntu2.1 0
        500 http://archive.ubuntu.com/ubuntu/ precise-updates/main i386
Packages
        100 /var/lib/dpkg/status
     1.0.4-5ubuntu2 0
        500 http://archive.ubuntu.com/ubuntu/ precise/main i386 Packages

And as you know, that doesn't work worth crap due to this:

<https://bugs.launchpad.net/ubuntu/+source/linux/+bug/441835?comments=all>
[Clicking on floppy gives "no device media found"]

My recommendation is to simply create a shell file to:

udisks --mount /dev/fd0

Create a launcher to it[1] and forget about the nonsense from 441835.
Personally my time is much more valuable that bothering to contribute
to, or test, any more Ubuntu udisk bugs. You could of course putts
around & experiment with:
https://launchpad.net/ubuntu/+source/udisks2
But I wouldn't waste time doing it.

Oh, and be aware that if you do mount the floppy via any method (udisks
--mount /dev/fd0) and decide to unmount it by right-clicking and
unmounting in Nautilus, you'll run into this bug that Ubuntu considers a
"Wishlist" bug:

<https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/886327>
[Nautilus window closes when unmounting currently explored filesystem]

Doesn't matter if you have 4 or 5 tabs open in Nautilus that you've been
working with... unmount the floppy (or any other drive), and 'Poof'
Nautilus is gone, along with all of your work/tabs etc.

So, either use:

udisks --unmount /dev/fd0

or right-click the mounted desktop icon and unmount it there. Just don't
unmount it via Nautilus.


[1]

gedit MountFloppy
udisks --mount /dev/fd0
Save As: Desktop/MountFloppy
Right-click the file in Nautlaus|Properties and make it executable for
the owner. Done.








More information about the ubuntu-users mailing list