Comment 24 for bug 1064195

Revision history for this message
In , Wbauer (wbauer) wrote :

(In reply to comment #18)
> OK, with updated patch it works. But there is a problem:
>
> $ udisksctl mount -b /dev/fd0
> Error mounting /dev/fd0: GDBus.Error:org.freedesktop.UDisks2.Error.Failed:
> Failed to open device /dev/fd0 for filesystem probing.
>
> $ udisksctl mount -b /dev/fd0
> Mounted /dev/fd0 at /media/nikts/disk.
>
> The diskette is always mounted only with the second attempt.

I can confirm this here: It works now, but only on second attempt when there's no fstab entry (with an entry it works immediately).

But I don't think this is related to the patch or udisks2.
I see the same behavior with "mdir". After inserting a new disk, "mdir" fails with:
Can't open /dev/fd0: No such device or address
Cannot initialize 'A:'
Running it a second time works. Also after running mdir once, "udisksctl mount" works and vice versa. So this rather seems to be a kernel issue I think.