Is there a way to format and use a partition under Linux which is case-insensitive?
I know of vfat, but was hoping I could find some alternatives. Any suggestions?
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
Gabriel Krisman Bertazi (who is the author of the case-insentive feature in ext4) wrote the blog Using the Linux kernel's Case-insensitive feature in Ext4. In short you need to enable the
mkfs -t ext4 -O casefold /dev/vda
For existing filesystems:
tune2fs -O casefold /dev/sda1
This doesn't automatically make the whole filesystem case-insensitive – each directory has to be marked so individually:
chattr +F ~/.wine
F2FS also supports case-insensitive name lookups via the
mkfs.f2fs -O casefold /dev/hda
XFS supports case-insensitive ASCII file names through the
mkfs.xfs -f -n version=ci /dev/sda
For more information read https://lwn.net/Kernel/Index/#Filesystems-Case-independent_lookups