tech-kern archive

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

Re: Case insensitive FFS

On Wed, Aug 06, 2008 at 08:45:51AM -0400, Greg Troxel wrote:
>   how difficult would it be to add a mount option to FFS to have
>   case insensitive filesystem?
> Do you really mean case insensitive, or case preserving?

I mean case insensitive like HFS+ under Mac OS X:

> uname -as
Darwin 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 
10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 i386
> echo Greg >Troxel
> cat troxel

>   My naive idea is that changing ufs_lookup() and the hash functions
>   in the UFS_DIRHASH case to treat upper case letters like lower case
>   letter (or vice versa).
> That sounds like case preserving.  If all vnode ops lowercased on entry
> (plus the above to handle 'legacy' files) then it would be case
> insensitive.

I'm sorry but I don't understand your argumentation. FFS is already
case preserving. I want to make it case insensitive in addition.

        Kind regards

Matthias Scheler                        

Home | Main Index | Thread Index | Old Index