Comment 9 for bug 1064195

Revision history for this message
In , Zeuthen (zeuthen) wrote :

(In reply to comment #3)
> I just noticed that the floppy _is_ mounted as user when I specify the
> filesystem type with the -t option:
>
> wolfi@amiga:~> udisksctl mount -b /dev/fd0 -t vfat
> Mounted /dev/fd0 at /run/media/wolfi/disk.
> wolfi@amiga:~> ls -la /run/media/wolfi/disk
> insgesamt 86
> drwx------ 2 wolfi users 3584 1. Jän 1970 .
> drwxr-x---+ 3 root root 60 24. Apr 20:05 ..
> -rw-r--r-- 1 wolfi users 83968 16. Okt 2001 slides1.ppt
>
> So the issue seems to be that udisks doesn't correctly identify the
> filesystem type.

Well, we can't identify it ahead of time as it would create a lot of noise and there's no way to check if a new medium has been inserted. We should probably special-case /dev/fd* and always just assume that it's vfat...