IgnorantGuru / udevil

Mount without password
http://ignorantguru.github.com/udevil/
GNU General Public License v3.0
130 stars 30 forks source link

Udevil dont mount usb-stick (exfat fs) with linux kernel 5.5.3 #89

Open mlindner opened 4 years ago

mlindner commented 4 years ago

Now that exfat is part of the linux kernel, no additional fuse packages are needed. udevil should just mount it like it does any other partittion, however this doesn't work. I get the error:

mount: /media/sdb1-usb-Kingston-DataTra: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error.

Possibly related to https://github.com/IgnorantGuru/udevil/issues/81

biopsin commented 4 years ago

Look first in 'sudo dmesg --color=always | tail -n 100'

[EXFAT] Unrecognized mount option nonempty or missing value

Remove 'nonempty' from default_options in udevil.conf solves this; but it's very slow to mount tho. My kernel 5.4.22

$ udevil mount /dev/sdc1 --verbose ROOT: /bin/mount -v -t exfat -o nosuid,noexec,nodev,noatime,umask=0077,uid=1000,gid=1000,iocharset=utf8,namecase=0 /dev/sdc1 /media/BLACKGO3 mount: /dev/sdc1 mounted on /media/BLACKGO3. Mounted /dev/sdc1 at /media/BLACKGO3

thierrybo commented 4 years ago

Debian Bullseye/testing Kernel 5.7.0-1amd64. Still "nonempty" option to remove but I did not noticed any "slow mount", it is instantaneous on my usb stick.

Docbroke commented 2 years ago

Someone should create pull request for this, so that default udevil comes without nonempty option for default_options_exfat. it is small change but creates plenty of troubles.