Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 704728

Summary: sys-fs/fuse-exfat nonempty option of fuse does not take effect
Product: Gentoo Linux Reporter: Mikhail <m.shadowlord>
Component: Current packagesAssignee: Mike Gilbert <floppym>
Status: RESOLVED UPSTREAM    
Severity: normal CC: base-system, g2t, jstein
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
See Also: https://github.com/IgnorantGuru/udevil/issues/89
https://github.com/IgnorantGuru/udevil/pull/106
Whiteboard:
Package list:
Runtime testing required: ---

Description Mikhail 2020-01-03 22:24:45 UTC
When I try to mount SD-card by SpaceFM (udevil), error occurs:

FUSE exfat 1.3.0
WARN: volume was not unmounted cleanly.
fuse: mountpoint is not empty
fuse: if you are sure this is safe, use the 'nonempty' mount option

Related bugs:
https://github.com/relan/exfat/issues/131
https://github.com/IgnorantGuru/udevil/issues/83
Comment 1 Mike Gilbert gentoo-dev 2020-01-04 05:17:55 UTC
Needs to be fixed upstream.
Comment 2 Thomas Kohler 2020-04-01 18:07:53 UTC
udevil is able to mount, so this is possible not a bug of "sys-fs/fuse-exfat"?

workaround for command line:

as root:
 mkdir /media/custom

than it is possible to "mount" as user:
 /usr/bin/udevil --verbose mount /dev/<your device here> -o 'noexec,nosuid,noatime' /media/custom/

which gives (for sdb1):
 FUSE exfat 1.3.0
 Mounted /dev/sdb1 at /media/custom

Eject is possible with SpaceFM.
Comment 3 Thomas Kohler 2023-08-13 08:00:03 UTC
"nonempty" is not supported anymore

A PR to fix this issue now exists: https://github.com/IgnorantGuru/udevil/pull/106/files

It is possible to fix the mount problem in SpaceFM manually by removing the nonempty option in /etc/udevil/udevil.conf