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

Re: A problem with case of filenames



On Thu, 10 Jul 1997, Meir Litmanovich wrote:

> > using perl instead of tail...). Your suggestions are most welcome.
> > 
> You can hack the kernel ... Find an ext2 code ( or any else ) and
> clone from it new when uppercase letters will be equal to 
> lowercase .I'm system adminstrator, not programmer, but 
> it won't be too hard also because all the VFS stuff in Linux 
> kernel . And you don't need the sources of your program right now .
> And you can ask kernel gurus help ....
I've done much complex things with linux kernels, so I can tell you that
the implementation of the idea will be very easy, but the consequences
would break down your system in no time. All the C/Unix world is based
on case sensitive names, and all the VAX/VMS/FORTRAN world (the "twin"
universe of Unix ;-) is based on non-case sensitive. I would'nt try to
change it just to port some sources.
Furthermore, if the programmer of the sources wasn't strict enough with
the upper/lower case of names - you might bump into much irritating
problems than you think.

I think it would be quite trivial to write down a small sed script that
will do the trick in much much painless way.


  bye,                       	| "Gravitation is not responsible
    Moshe Maor               	|   for people falling in love"
maorm@pst.co.il              	|
s2543848@t2.technion.ac.il   	|              Albert Einstein
Finger for a PGP public key  	|


References: