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 01:15:22PM +0100, Matthias Scheler wrote:
> how difficult would it be to add a mount option to FFS to have
> case insensitive filesystem?

We discussed this some years ago (it would be very usefull in samba
context) and ended up with no consensus on an in-kernel iconv.

> 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).

If you only allow ASCII filenames this should work. Otherwise you would
have to pass down a locale at mount time (or find it somehow) and use that
for conversion.


Home | Main Index | Thread Index | Old Index