Install ciopfs
-
Get source code from https://github.com/martanne/ciopfs.
-
Install dependencies.
Fedora:$ sudo dnf install make gcc fuse-devel glib2-devel libattr-devel
Debian:
$ sudo apt install make gcc libfuse-dev libglib2.0-dev libattr1-dev
-
Build and install.
$ make && make install
Create folder that files inside it are case-insensitive
-
Create two folders: one for contain real data (case-sensitive), one is mount point (case-insensitive).
$ mkdir .data-real data
-
Mount
.data-real
todata
withciopfs
.$ sudo ciopfs .data-real data
Now just use folder data
as a case-insensitive folder.
Auto-mount on boot
Add mount entry to /etc/fstab
.
/path/to/.data-real /path/to/data ciopfs allow_other,default_permissions,use_ino,attr_timeout=0 0 0