[Goodies-dev] [Bug 13304] The plugin fails to umount EXFAT flash drive

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Sat Jan 28 16:30:43 CET 2017


https://bugzilla.xfce.org/show_bug.cgi?id=13304

--- Comment #6 from Fabian Nowak <timystery at arcor.de> ---
OK, I have the same problem with a USB stick with a Linux live image that is
formatted as NTFS (for whatever reason). When hung in automatically or even
manually by Thunar, I cannot unmount via the xfce4-mount-plugin. Would you mind
confirming that by testing on your computer? With a second exfat filesystem on
the stick, only the latter is mounted automatically and cannot be unmounted
just as you reported.

In contrast, vfat partitions mounted by Thunar manually can be removed via the
plugin.

To me, it seems we have several effects:

- With several partitions on a disk/stick, only 1 is mounted automatically and
shown in Thunar as a device. Resolving mount point and device might be a
problem. 

- From the mount plugin's messages, we can tell that it has some problems in
resolving entries from /etc/fstab to the current mount table. Do you have an
entry in /etc/fstab pointing to the same device such as /dev/sdb1? Solution may
be to have a custom umount command using the device placeholder instead of the
mount point: "umount %d".

- FUSE filesystems (such as exfat). They are automatically unmounted using
"fusermount -u". fuse.sshfs is unmounted properly, fuseblk seems to be causing
problems. Device cannot be found in /etc/mtab; 
$ fusermount -u "/media/user/Debian 7.8.0 i386 1"
fusermount: entry for /media/user/Debian 7.8.0 i386 1 not found in /etc/mtab
$ umount "/media/user/Debian 7.8.0 i386 1"; echo $?
0

- Several spaces in mount point names haven't been supported so far.

- Maybe encoding problems of device names, "Debian iso" is converted in
/etc/mtab to "Debian\040iso".

As a first result, I will try using "fusermount -u" only for "fuse.*"
filesystems but not for "fuse" only, so that FUSE filesystems will be unmounted
using the regular umount commands.

Secondly, I target supporting several spaces in mount point names.

Please check the newest release.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.


More information about the Goodies-dev mailing list