View previous topic :: View next topic |
Author |
Message |
John5788 Advocate
Joined: 06 Apr 2004 Posts: 2140 Location: 127.0.0.1
|
Posted: Fri Sep 14, 2012 5:28 am Post subject: exFAT and FUSE |
|
|
I am trying t get exfat working on my Gentoo install.
I have enabled FUSE support in my kernel (not module, built in) and emerged fuse, fuse-exfat, exfat-utils.
I've loaded the new kernel by rebooting into it and I still cannot mount my exfat external drive:
Code: | # mount /dev/sde1 /mnt/usb/
mount: unknown filesystem type 'exfat' |
Am I missing something else? _________________ John5788 |
|
Back to top |
|
|
depontius Advocate
Joined: 05 May 2004 Posts: 3509
|
Posted: Fri Sep 14, 2012 1:11 pm Post subject: |
|
|
I've never fiddled with any of the exFAT stuff, but I have used the sshfs-fuse, mildly related, as it also works through FUSE. To use sshfs-fuse, after building the correct kernel and installing all of the correct packages, you still have to run some sort of command in order to make the new filesystem available, in my case the "sshfs" command.
I would look through any files your exFAT-related packages install for any commands, man pages, etc. I'm pretty sure the vanilla "mount" command won't do the job for you, and least until you run something else to make the system aware of the exFAT capabilities. I would guess that you either need to add some init script to your default runlevel, or may need to run a different "mount" command.
I've stuck to SDHC for my camera. One SD card lasts me a few months anyway, and I'd just as soon not collect more than that in-camera. _________________ .sigs waste space and bandwidth |
|
Back to top |
|
|
morpheus2051 Tux's lil' helper
Joined: 07 May 2006 Posts: 95
|
Posted: Sat Sep 15, 2012 10:41 am Post subject: |
|
|
Can you try mount -t <don't know how exfat is called here but insert correct name> /dev/sde1 /mnt/usb/. Or does the exfat-utils package contain a helper program like ntfs-3g? Then use that program. Hope this helps a bit. |
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3264 Location: Canada
|
Posted: Sat Sep 15, 2012 4:31 pm Post subject: |
|
|
morpheus2051 wrote: | Can you try mount -t <don't know how exfat is called here but insert correct name> /dev/sde1 /mnt/usb/. Or does the exfat-utils package contain a helper program like ntfs-3g? Then use that program. Hope this helps a bit. |
Based on the error
mount: unknown filesystem type 'exfat'
when mount is run without -t, I gather there is some entry in /etc/fstab. What does it read ? |
|
Back to top |
|
|
BillWho Veteran
Joined: 03 Mar 2012 Posts: 1600 Location: US
|
Posted: Sat Sep 15, 2012 11:52 pm Post subject: |
|
|
John5788,
According to the web page you should use mount.exfat-fuse _________________ Good luck
Since installing gentoo, my life has become one long emerge |
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3264 Location: Canada
|
Posted: Sun Sep 16, 2012 5:03 am Post subject: |
|
|
BillWho wrote: | John5788,
According to the web page you should use mount.exfat-fuse |
.
Actually that probably points to the solution - the filesystem is perhaps called exfat-fuse, not exfat
mount -t system calls mount.system, so my guess is mount -t exfat-fuse should work,
and so is setting filesystem to exfat-fuse in /etc/fstab
Last edited by dmpogo on Wed Sep 19, 2012 2:24 am; edited 1 time in total |
|
Back to top |
|
|
John5788 Advocate
Joined: 06 Apr 2004 Posts: 2140 Location: 127.0.0.1
|
Posted: Tue Sep 18, 2012 4:30 am Post subject: |
|
|
BillWho wrote: | John5788,
According to the web page you should use mount.exfat-fuse |
That works from the command line. How would I go about integrating this into my file manager Thunar? When I click on the external drive in Thunar, it attempts to use the method of `mount -t exfat` instead of using the mount.exfat-fuse command. _________________ John5788 |
|
Back to top |
|
|
morpheus2051 Tux's lil' helper
Joined: 07 May 2006 Posts: 95
|
Posted: Tue Sep 18, 2012 11:08 am Post subject: |
|
|
Try putting exfat_fuse in /etc/filesystems, presuming mount -t exfat_fuse does work. |
|
Back to top |
|
|
SamuliSuominen Retired Dev
Joined: 30 Sep 2005 Posts: 2133 Location: Finland
|
Posted: Tue Sep 18, 2012 11:45 am Post subject: |
|
|
Might need an udev rules.d file like ntfs3g has
/etc/udev/rules.d/99-exfat.rules
Code: |
ENV{ID_FS_TYPE}=="exfat", ENV{ID_FS_TYPE}="exfat_fuse"
|
(Or was it the otherway around?) |
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3264 Location: Canada
|
Posted: Wed Sep 19, 2012 2:25 am Post subject: |
|
|
morpheus2051 wrote: | Try putting exfat_fuse in /etc/filesystems, presuming mount -t exfat_fuse does work. |
I don't know, but is it underscore exfat_fuse or dash exfat-fuse ? |
|
Back to top |
|
|
s4e8 Guru
Joined: 29 Jul 2006 Posts: 311
|
Posted: Wed Sep 19, 2012 4:21 am Post subject: |
|
|
re-emerge util-linux and fuse-exfat.
fuse-exfat put mount helper mount.exfat symlink into /usr/sbin/, old util-linux may not search this directory. |
|
Back to top |
|
|
John5788 Advocate
Joined: 06 Apr 2004 Posts: 2140 Location: 127.0.0.1
|
Posted: Wed Sep 19, 2012 4:59 am Post subject: |
|
|
ssuominen wrote: | Might need an udev rules.d file like ntfs3g has
/etc/udev/rules.d/99-exfat.rules
Code: |
ENV{ID_FS_TYPE}=="exfat", ENV{ID_FS_TYPE}="exfat_fuse"
|
(Or was it the otherway around?) |
That worked for changing the the -t parameter to mount when I attempt to access in Thunar. However, the unfortunate bit is this:
Code: | # mount /dev/sde1 -t exfat-fuse /mnt/usb/
mount: unknown filesystem type 'exfat-fuse'
# mount.exfat /dev/sde1 /mnt/usb/
FUSE exfat 0.9.8 |
The first command using -t parameter does not work. calling mount.exfat or mount.exfat-fuse works (they are both symlinked together)
Why doesn't mount -t exfat or mount -t exfat-fuse work? _________________ John5788 |
|
Back to top |
|
|
SamuliSuominen Retired Dev
Joined: 30 Sep 2005 Posts: 2133 Location: Finland
|
Posted: Wed Sep 19, 2012 7:25 am Post subject: |
|
|
John5788 wrote: |
The first command using -t parameter does not work. calling mount.exfat or mount.exfat-fuse works (they are both symlinked together)
Why doesn't mount -t exfat or mount -t exfat-fuse work? |
I don't know of other than too old util-linux version doesn't have support for reading mount or umount helpers from /usr. |
|
Back to top |
|
|
John5788 Advocate
Joined: 06 Apr 2004 Posts: 2140 Location: 127.0.0.1
|
Posted: Wed Sep 19, 2012 7:34 am Post subject: |
|
|
ssuominen wrote: | John5788 wrote: |
The first command using -t parameter does not work. calling mount.exfat or mount.exfat-fuse works (they are both symlinked together)
Why doesn't mount -t exfat or mount -t exfat-fuse work? |
I don't know of other than too old util-linux version doesn't have support for reading mount or umount helpers from /usr. |
I'm using 2.20.1-r2. Do you think this is too old? Should I update to 2.22 (latest) _________________ John5788 |
|
Back to top |
|
|
SamuliSuominen Retired Dev
Joined: 30 Sep 2005 Posts: 2133 Location: Finland
|
Posted: Wed Sep 19, 2012 11:19 am Post subject: |
|
|
John5788 wrote: | ssuominen wrote: | John5788 wrote: |
The first command using -t parameter does not work. calling mount.exfat or mount.exfat-fuse works (they are both symlinked together)
Why doesn't mount -t exfat or mount -t exfat-fuse work? |
I don't know of other than too old util-linux version doesn't have support for reading mount or umount helpers from /usr. |
I'm using 2.20.1-r2. Do you think this is too old? Should I update to 2.22 (latest) |
I think 2.20.1-r2 is the first one where umount wrappers were fixed and mount wrappers was already fixed prior to that. So 2.20.1-r2 should be good. You can try to upgrade. It is safe.
Furthermore you shouldn't really be using mount or umount at all for removable devices, just use `udisks --mount` or `udisks --unmount` with sys-fs/udisks:0 or `udisksctl mount` or `udisksctl unmount` with sys-fs/udisks:2.
Then you can even mount as a normal user as long as you are authorized by ConsoleKit to be 'active = TRUE' in the 'ck-list-sessions' output. |
|
Back to top |
|
|
benayed n00b
Joined: 27 Mar 2009 Posts: 2
|
Posted: Tue Oct 09, 2012 5:40 pm Post subject: |
|
|
All you need to do is:
ln -s /usr/bin/mount.exfast-fuse /sbin/mount.exfat
fuse-exfat creates the symlink in /usr/bin which will not be picked up by mount.
This may be a defect against the fuse-exfaxt package. Once you do this, the exfat filesystem is reconized by Thunar, KDE, mount an others.
Thanks,
Karim Benayed |
|
Back to top |
|
|
ralpho n00b
Joined: 17 Aug 2014 Posts: 3
|
Posted: Fri Sep 05, 2014 8:53 pm Post subject: exfat |
|
|
I think you guys missed the simple explanation.
The kernel needs fuse. |
|
Back to top |
|
|
fwong n00b
Joined: 16 Sep 2014 Posts: 1 Location: France
|
Posted: Tue Sep 16, 2014 4:50 pm Post subject: |
|
|
avant tout, installer le paquet 'sys-fs/fuse-exfat' :
Code: | sudo equo install sys-fs/fuse-exfat |
_________________ Francis Wong |
|
Back to top |
|
|
|