[clug] case-insensitive file system

Martin Pool mbp at samba.org
Wed Jun 16 01:13:25 GMT 2004


On 16 Jun 2004, Bill Clarke <Bill.Clarke at anu.edu.au> wrote:
> David Gibson wrote, On 16/06/04 10:54:
> > No, it's really not a trivial task in userspace.  The only way to do a
> > case-insensitve lookup from userspace is list and scan the entire
> > directory manually.  Ugly and slow.
> 
> not if the file names are only stored lower- (or upper-) case.

And if they're all stored in lowercase, then you don't need to worry
at all. :-) 

Although you can speed it up by guessing, in the general case, David
is right.

-- 
Martin 


More information about the linux mailing list