Filesystems and case-insensitivity
Filesystems and case-insensitivity
Posted Nov 28, 2018 15:34 UTC (Wed) by bokr (guest, #58369)Parent article: Filesystems and case-insensitivity
NAME TYPE FSTYPE MOUNTPOINT
sda disk
├─sda1 part vfat /boot
├─sda2 part ext4 /
├─sda3 part
└─sda4 part ext4
[16:01 ~/bs]$ ls -ld /boot/ef*
ls: cannot access '/boot/ef*': No such file or directory
[16:02 ~/bs]$ ls -ld /boot/E*
drwxr-xr-x 7 root root 4096 May 6 2018 /boot/EFI
[16:04 ~/bs]$ ls -ld /boot/V*
ls: cannot access '/boot/V*': No such file or directory
[16:06 ~/bs]$ ls -ld /boot/v*
-rwxr-xr-x 1 root root 5838720 Nov 23 10:05 /boot/vmlinuz-linux
[16:07 ~/bs]$ ls -ld /boot/VMLINUZ-LINUX
-rwxr-xr-x 1 root root 5838720 Nov 23 10:05 /boot/VMLINUZ-LINUX
It appears that globbing is case-sensitive but a complete name is
case-insensitive.
BTW, I like a default case-insensitive search like you get from emacs,
whereas query-replace using the same regex works case-sensitively unless
you say otherwise.
Posted Nov 28, 2018 17:31 UTC (Wed)
by mina86 (guest, #68442)
[Link]
Filesystems and case-insensitivity