LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-02-2022, 07:21 AM   #1
adrianmariano
Member
 
Registered: Dec 2004
Distribution: Ubuntu Yakkety
Posts: 193

Rep: Reputation: 15
mount exfat with lower case filenames?


I can mount a vfat file system with lower case filenames using the mount option shortname=lower, but I have not found a way to get the same result with exfat. (I also haven't found a list of mount options for exfat anywhere. It appears that mount.fuse does the mount and the list of mount options it gives appears to be incomplete, since for example, fmask isn't listed but does work. The behavior I get with a mounted exfat is a little funny: pre-existing files are shown in upper case, but I can create new files that display with any case, even mixed case. Of course, filenames on exfat aren't actually case sensitive, so a command like 'mv FOO foo' gives the error 'FOO' and 'foo' are the same file.

Running Ubuntu 21.04.
 
Old 04-02-2022, 12:36 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,640

Rep: Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279
mount.exfat-fuse is actually responsible for mounting exFAT filesystems.

https://www.systutorials.com/docs/li...nt.exfat-fuse/

And the behavior with regards to mix case is a known bug.
 
Old 04-02-2022, 07:01 PM   #3
adrianmariano
Member
 
Registered: Dec 2004
Distribution: Ubuntu Yakkety
Posts: 193

Original Poster
Rep: Reputation: 15
I have no mount.exfat-fuse on my system, so the mount must be happening some other way.

Code:
adrian> ls /usr/sbin/mount*
 16 /usr/sbin/mount.fuse*          0 /usr/sbin/mount.ntfs@
  0 /usr/sbin/mount.lowntfs-3g@    0 /usr/sbin/mount.ntfs-3g@
120 /usr/sbin/mount.nfs*          36 /usr/sbin/mountstats*
  0 /usr/sbin/mount.nfs4@
But my behavior is consistent with that man page. So sounds like there's no solution, then.
 
Old 04-02-2022, 07:24 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,640

Rep: Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279
Dang it, exFAT is supported natively since kernel 5.4 so it isn't using fuse. Not sure how the native kernel module is different.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i restore lower case filenames in a source code package? unclejed613 Linux - Software 6 01-02-2010 09:33 AM
script to list the filenames which are in lower case naveensankineni Programming 2 03-12-2008 07:09 AM
renaming directories from upper case to lower case, help!! linux_teller Linux - Newbie 3 03-07-2008 05:15 AM
Why are all my upper case files being shown as lower case?? [Kernel 2.6.9-1.667 FC3] t3gah Fedora 4 03-11-2005 04:09 PM
Lower case to upper case letter sudhasmyle Programming 1 12-03-2004 04:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration