5

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?

Zlatko
  • 99

3 Answers3

4

JFS with Option -O:

https://linux.die.net/man/8/mkfs.jfs

CIOPFS (case insensitive on purpose file system):

https://www.brain-dump.org/projects/ciopfs/

cularis
  • 1,269
3
  • 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 casefold property

    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 casefold option

    mkfs.f2fs -O casefold /dev/hda
    
  • XFS supports case-insensitive ASCII file names through the version=ci option

    mkfs.xfs -f -n version=ci /dev/sda
    

For more information read https://lwn.net/Kernel/Index/#Filesystems-Case-independent_lookups

phuclv
  • 30,396
  • 15
  • 136
  • 260
3

You can create case insensitive filesystems with ZFS:

# zfs create -o casesensitivity=insensitive filesystem
grawity
  • 501,077
jlliagre
  • 14,369