udisks2 - unexpected error on unmount

Serghei Amelian serghei at thel.ro
Mon Jun 4 12:03:51 PDT 2012


Hi David,

I mount a cd then I'm trying to unmount it. The cd label is "M2N_CM_DVI", but 
for unknown reason de mounting point become "/run/media/serghei/M2N_CM_DVI1". 
However, udisks2 should know about it, but seems it trying to unmount a path 
based on cd label.

Output of commands:

# udisksctl mount -b /dev/sr0
Mounted /dev/sr0 at /run/media/serghei/M2N_CM_DVI1.

# udisksctl unmount -b /dev/sr0
Error unmounting /dev/sr0: GDBus.Error:org.freedesktop.UDisks2.Error.Failed: 
Error unmounting /dev/sr0: Command-line 
`umount  "/run/media/serghei/M2N_CM_DVI"' exited with non-zero exit status 
32: umount: /run/media/serghei/M2N_CM_DVI: not mounted

# mount
/dev/sr0 on /run/media/serghei/M2N_CM_DVI1 type iso9660 
(ro,nosuid,nodev,relatime,uid=1000,gid=1000,iocharset=utf8,mode=0400,dmode=0500,uhelper=udisks2)

# rpm -q udisks2
udisks2-1.94.0-5.fc17.i686

-- 
Serghei


More information about the devkit-devel mailing list