On Wed, Apr 02, 2008 at 04:25:10PM +1000, Barry Naujok wrote:
> Implement ASCII case-insensitive support. It's primary purpose
> is for supporting existing filesystems that already use this
> case-insensitive mode migrated from IRIX. But, if you only need
> ASCII-only case-insensitive support (ie. English only) and will
> never use another language, then this mode is perfectly adequate.
> ASCII-CI is implemented by generating hashes based on lower-case
> letters and doing lower-case compares. It implements a new
> xfs_nameops vector for doing the hashes and comparisons for
> all filename operations.
> It also overrides the Linux dentry cache operations with its
> own hash and compare functions (the same as used in the xfs_nameops
> To create a filesystem with this CI mode, use:
> # mkfs.xfs -n version=ci <device>
Since you have to mkfs anyway, why not just use the unicode mkfs option, and
the ci mount option. Then, you can just drop this patch :)
Josef 'Jeff' Sipek.
Ready; T=0.01/0.01 20:32:39