Page 1 of 2

Filesystem: case-retaining or case-sensitive?

Posted: Thu Mar 08, 2007 3:28 pm
by Trond
Do you prefer the filesystem to be case retaining but case insensitive (like Windows) or case sensitive (like Linux)?

Posted: Thu Mar 08, 2007 3:33 pm
by Derek
I think case sensitive is a total pain in the ass, except for passwords of course.

Posted: Thu Mar 08, 2007 3:35 pm
by Kaeru Gaman
it's just a question what you got used to.
you can cope with both if you have to work with it.

Posted: Thu Mar 08, 2007 5:26 pm
by merihevonen
I have asked in many Linux forums and I will ask here too:
How can you make your Linux NON-case-sensitive?

It's so damn painful to write long Bash scripts and find out that it doesn't work because a case typo like /root/desktop/ instead of /root/Desktop/

Btw.. is Mac OS X case-sensitive? It's interesting to know, now that it also features Bash :roll:

Posted: Thu Mar 08, 2007 6:00 pm
by Nik
Mac OS X is the only case insensitive UNIX out there (it's offically included in the UNIX Familiy tree)

Posted: Thu Mar 08, 2007 6:01 pm
by Nik
however the bash on OS X does have some problems with this fact, it's not critical though...

Posted: Thu Mar 08, 2007 7:56 pm
by merihevonen
Now if there would be a case-in-sensitive Linux? I hate the one who implemented case-sensitiviness to Linux :evil: :!:

Posted: Thu Mar 08, 2007 8:22 pm
by netmaestro
Not needing to worry about case when searching for a file is really helpful. Microsoft has gotten some things right over the years and I think this is one of them. Case retension for the user's sake but the OS isn't going to enforce it. Perfect.

Posted: Thu Mar 08, 2007 8:56 pm
by freak
Case-sensitivity makes a lot of sense from a multilingual perspective.
This way names can be easily compared without worrying about the language
they are in and which characters are considered equal in that particular language when case is ignored.

This was one of the main reason why XML has been made case sensitive for example.

Posted: Thu Mar 08, 2007 9:31 pm
by merihevonen
freak wrote:Case-sensitivity makes a lot of sense from a multilingual perspective.
This way names can be easily compared without worrying about the language
they are in and which characters are considered equal in that particular language when case is ignored.

This was one of the main reason why XML has been made case sensitive for example.
Atleast someone gave an example of why case-sensitiviness (is that even a word?) is good..

But I'm still looking for an answer to my question:
How do I make my Linux case-non-sensitive?

Posted: Thu Mar 08, 2007 10:07 pm
by Trond
merihevonen wrote:I have asked in many Linux forums and I will ask here too:
How can you make your Linux NON-case-sensitive?
This is exactly why I posted this poll: to see if people wanted a case-insensitive linux.
It's so damn painful to write long Bash scripts and find out that it doesn't work because a case typo like /root/desktop/ instead of /root/Desktop/
I can't make bash case insensitive, but the filenames can be.
Btw.. is Mac OS X case-sensitive? It's interesting to know, now that it also features Bash :roll:
It's not case sensitive by default.
How do I make my Linux case-non-sensitive?
You need to use a filesystem which isn't case sensitive. The problem is that most are.

Posted: Fri Mar 09, 2007 3:27 pm
by merihevonen
Trond wrote:This is exactly why I posted this poll: to see if people wanted a case-insensitive linux.
Ok, now this poll does make sense.. so you are going to make your own Linux?
Trond wrote:I can't make bash case insensitive, but the filenames can be.
How can you make filenames case-in-sensitive?
Trond wrote:You need to use a filesystem which isn't case sensitive. The problem is that most are.
Is there a good alternative for ext3 which would be case-insensitive?

Posted: Fri Mar 09, 2007 3:34 pm
by Trond
merihevonen wrote:
Trond wrote:This is exactly why I posted this poll: to see if people wanted a case-insensitive linux.
Ok, now this poll does make sense.. so you are going to make your own Linux?
It probably won't be finished, but yes apart from that "minor" problem.
merihevonen wrote:
Trond wrote:I can't make bash case insensitive, but the filenames can be.
How can you make filenames case-in-sensitive?
By using a case-insensitive filesystem. You can't use your current filesystem.
merihevonen wrote:
Trond wrote:You need to use a filesystem which isn't case sensitive. The problem is that most are.
Is there a good alternative for ext3 which would be case-insensitive?
Yes, JFS. But it's not case sensitive by default either, you have to turn it on.

Posted: Fri Mar 09, 2007 3:40 pm
by merihevonen
Thanks Trond!
So if I was using JFS, would my Bash scripts work even if there was a "case typo"?

Posted: Fri Mar 09, 2007 3:47 pm
by merihevonen
Trond, look at this!
ext3ci -- Case insensitive ext3 filesystem for Linux 2.6

The ext3ci software v2.6-1 creates a new "ext3ci" driver for Linux 2.6 based on the ext3 driver. The ext3ci driver differs from ext3 in that it is not case sensitive. That is, a=A, b=B and so forth. Use "mount -t ext3ci /dev/hda1 /mnt" on any ext3 filesystem instead of the normal mount command. This is known to work with Linux 2.6.11, but should work with any 2.6 series kernel. View the README file for installation and instructions.
I found it at http://bill.herrin.us/freebies/
I think this is alot better than to use a different filesystem :P