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 09:24:43AM -0400, Greg Troxel wrote:
>   >   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.
> 
> I have seen three terms used:
> 
>   case sensitive: what we are used to with BSD FFS, HFS+ with the case
>   sensitive option
> 
>   case preserving: comparisons are done without regard to case, but ls
>   shows files having the same case as when they were created.  HFS+
>   (without the case-sensitive option)
> 
>   case insensitive: in addition to comparisons ignoring case, all
>   filenames are presented in either upper or lower, depending on the
>   system.  I think pre-NTFS on windows is like this.

I've heard the latter refered to as case non-preserving, and both 
"preserving" variants as qualifiers on case insensitive.

Take care,

Bill

Attachment: pgp9tuGB41nEK.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index