Re: case sensitivity

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2002-05-21 at 22:19, Rodrigo Barbosa wrote:
> Attention: RANT LEVEL set to 7.
> 
> On Tue, May 21, 2002 at 09:11:24PM +0200, petter wahlman wrote:
> > So, why are 'linux' filesystems case sensitive?
> 
> I think the question is "Why is Windows case insensitive" ?


Or OS/2 and Novel witch are some of the other OS's I share code with.


> 
> Last time I checked with my language teacher (no matter what language),
> "A" and "a" are not the same. So, we can reframe your question as
> "Why do we have different cases for the same letter of the alphabet ?".
> In that case, I really can't answer.

Semantically speaking, I agree that 'A' != 'a'. The number of possible
filenames are also gratly increased with case sensitivity.
I would probably religously be against such a change if I did not
experience the previously mentioned problems. 

> 
> As for Linux, that is the way Unix is since the beginning, in the 60's.
> And Linux is a Unix-like derivative. Other exemples include Solaris,
> AIX, Irix, MacOSX, FreeBSD, bsd386, NetBSD, SunOS etc.


I know, and can proably think of other examples, but that does not
change the fact that the lack of such a feature causes problems.
I do not think that changing the default behavior is the right think to
do, though.

> 
> > Having two files or directories that only differ by case is IMO wrong,
> > but should at least be controlable with a generic mount option.
> 
> Just becouse you don't like something does not make it wrong. I, for one,
> use different cases for different functionalities. Lets say I have a
> datafile (data.dat) I want to disable, but want to know what this file
> is. I simply rename it to data.DAT, or Data.dat. The application will not
> use it anymore, and I still know the correct name. That is one of several
> possible uses.

Wrong was probably a too strong word (i wanted to get some feedback on
my post :), and can absolutely see the value of having the possibility
you mention. 

> 
> You see, most people want to be able to control what a program (application,
> OS etc) do, and not just put some crap in and hope the program will work
> it's way. Old computer proverb: Garbage in, garbage out.
> 
> If you need to conver filename, you can easily do it with a onliner. Same
> for file references inside a Makefile or anything else.
> 

No, it is not that easy. I do not have the permission to change the case
on the include statements in all the source files I access, due to RO
and locked files.
It's not as easy as doing a 'find' ;)

-p.

> -- 
>  Rodrigo Barbosa                   - rodrigob at tisbrasil.com.br
>  TIS 				   - Belo Horizonte, MG, Brazil
>  "Quis custodiet ipsos custodes?"  - http://www.tisbrasil.com.br/
>  Brainbench Certified -> Transcript ID #3332104
> 
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
> 


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux