11 ms·
As for common filesystems (for some reasonable value of "common"): NTFS, HFS+ and SMB will probably be case insensitive. ZFS may be case insensitive. There ar
by ethomson 12y ago
As for common filesystems (for some reasonable value of "common"): NTFS, HFS+ and SMB will probably be case insensitive. ZFS may be case insensitive.
There are others that would be exotic these days, like AFP. And with FUSE, could be anything.
- SSLy 12y agoMy quick an dirty (pun intended) experiment concluded that ntfs, while mounted on linux, is case-sensitive. Windows will happily list all files from fs in explorer, whatever case they are, but treat them as one. And this is deep in win32: http://i.imgur.com/sWnCMdq.png http://i.imgur.com/sWnCMdq.png (that's cygwin, while on linux, I've put a `small` file in the `test` dir).
- ethomson 12y agoYou can mount NTFS case sensitive, but you probably don't want case sensitivity if you interop with Windows and, if you don't, why on earth would you use NTFS?
- hoov 12y agoYeah. NTFS is case preserving, not case sensitive.
- barrkel 12y agoNTFS is case sensitive. The Win32 layer presents NTFS as case preserving, but the NT POSIX layer (since renamed to SFU), as well as Cygwin, use NTFS's case sensitivity.
- ygra 12y agoMore to the point, the NTFS API can be both. And you can access that from Win32 code as well. There's also a registry flag to make NTFS case-sensitive by default.
- im3w1l 12y agoAnyone knows what happens if an NTFS partition has both fiLe and file, when used in windows?
- gizmo686 12y agoI just quickly tested this on Windows 7. It showed both a directory for both spelling, but both of them contained the same content corresponding to one of the two directories.
- mitchty 12y agoRe zfs, you have to turn case insensitivity off if you want it. The default is case sensitive. That is: $ zfs get casesensitivity zroot NAME PROPERTY VALUE SOURCE zroot casesensitivity sensitive - Is what you want in general. Unless you have some reason not to be, in which case you have to worry about the bug.