[clug] case-insensitive file system

David Gibson david at gibson.dropbear.id.au
Wed Jun 16 00:54:45 GMT 2004


On Wed, Jun 16, 2004 at 10:44:56AM +1000, Michael Still wrote:
> Kim Holburn wrote:
> 
> >For a particular use I need a case-insensitive file system.  Short of 
> >using samba and doing a remount, does anyone know of a way of doing this 
> >under linux.  Is there an ext2/3 option to do this?  is there an fs that 
> >can do this?
> 
> I can't see an option for ext2 in the mount man page. If ext2 doesn't do 
> it, then ext3 wont either.
> 
> This sounds like a fairly trivial userspace filesystem task, although if 
> you have serious performance requirements then that might not be the 
> right answer. Are case sensitive clients also going to be using the 
> filesystem, or just the case insensitive ones?

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.

-- 
David Gibson			| For every complex problem there is a
david AT gibson.dropbear.id.au	| solution which is simple, neat and
				| wrong.
http://www.ozlabs.org/people/dgibson


More information about the linux mailing list