On Sat, Jan 21, 2023 at 08:36:33PM -0800, Chris Miller wrote:
Hi Folks,
I have three NASs: two Buffalo Link Stations, and one ASUStor. It never
occurred to me to check for case insensitivity before, but I did and
they aren't! This surprises me because case sensitivity is much easier
to implement and it does not surprise me because the Windows world is
case insensitive.
So, my first question is, "Can I require case sensitivity during the
mount command?". I can't find anything about that, but I have seen
comments claiming that CIFS mounts are case sensitive by default, but
mine clearly aren't.
As an ancillary question, does anybody know if btrfs is case sensitive?
I've spent some time looking, but I haven't found any comments I trust.
For example, the [1]Wikipedia article fails to mention it.
I don't have btrfs, yet if I check the man page for btrfs, you will see the
options. Plus, there are certain options that are implemented regardless
of the file system type.
Start with the following
$ man mount
Search for
FILESYSTEM-INDEPENDENT MOUNT OPTIONS
Then search for file system specific options.
FILESYSTEM-SPECIFIC MOUNT OPTIONS
You will see that there is a man page specific to btrfs
You can see that ntfs has the following option. I imagine that this is
something just for ntfs.
$ man mount.ntfs
ignore_case (only with lowntfs-3g)
Ignore character case when accessing a file (FOO, Foo,
foo, etc. designate
the same file). All files are displayed
with lower case in directory listings.
Or, use
$ apropos mount
Investigate btrfs.
$ man btrfs
Install the man pages if you haven't installed them.
That should give you your options.
Brian
--
Brian Lavender
http://www.brie.com/brian/
"There are two ways of constructing a software design. One way is to
make it so simple that there are obviously no deficiencies. And the other
way is to make it so complicated that there are no obvious deficiencies."
Professor C. A. R. Hoare
The 1980 Turing award lecture