28 May 18 09:42, you wrote to Paul Quinn:
PQ>> What do you reckon? Have you played with any Linux gear recently?
HG> No I haven't. Once there was an ignition in me that should try it, but
HG> the ignition breaker failed. The reason for the failure was the case
HG> sensitivity for files and such.
HG> OS/2 isn't case sensitive. Any file/directory name I write in lower or
HG> mixed case is always presented in upper case. The only exception I can
HG> recall is in the list of download directories for saved files/bulletins.
HG> There the name of the directory stays in lower case but it's not
HG> preventing the files moving to the correct directory even if it's
HG> presented in upper case in the directory listing.
HG> I admit however that the case sensitivity of Linux does have advantages.
HG> It gives you hundreds of varietes in naming things but that could also
HG> be a disadvantage.
Case sensitivity is something you do adjust to over time.
Saying "Linux is case-sensitive" is a bit simplistic. In the case of Linux and
other UNIX systems, case sensitivity is a function of the underlying
filesystems provided by the kernel.
This might not be the case for OS/2 where I suspect the case insensitivity is
in a layer above the IFS drivers.
Programatically it's easier to write case-insensitive filesystem drivers
because case insensitivity depends on which language you are using, unless of
course the drivers assume English and map 'a'..'z' to 'A'..'Z' and nothing
more.
Linux's cousin, OS X, uses the HFS filesystem which by default
case-insensitive. Typing "curl" or "CURL" or "cUrL" in OS X's Terminal will run
the same command.
The arguments are still case sensitive, though! "curl -d" and "CURL -D" will do
different things.
Conceivably you could run a Linux distro from a case-insensitive filesystem,
eg. JFS created with "mkfs.jfs -O". It would be an interesting experiment.
Alternatively you could have a separate home partition formatted with "mkfs.jfs
-O" and have the rest of the system use the default ext4.
ZFS pools can also be set to be case-insensitive.
--- GoldED+/BSD 1.1.5-b20170303
* Origin: Blizzard of Ozz, Melbourne, Victoria, Australia (3:633/267)
|