xfs
[Top] [All Lists]

Re: [RFC 0/2] Case-insensitive filename lookup for XFS

To: "Martin Steigerwald" <ms@xxxxxxxxx>, xfs@xxxxxxxxxxx
Subject: Re: [RFC 0/2] Case-insensitive filename lookup for XFS
From: "Barry Naujok" <bnaujok@xxxxxxx>
Date: Wed, 24 Oct 2007 10:34:15 +1000
In-reply-to: <200710231422.21637.ms@xxxxxxxxx>
Organization: SGI
References: <op.t0m36sn43jf8g2@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <200710231422.21637.ms@xxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Opera Mail/9.10 (Win32)
On Tue, 23 Oct 2007 22:22:21 +1000, Martin Steigerwald <ms@xxxxxxxxx> wrote:

> Am Dienstag, 23. Oktober 2007 schrieb Barry Naujok:
>
> Hi Barry,
>
>> To allow case-insensitivity to be a mount option rather than
>> a mkfs option, the hashes stored on disk are always case-folded.
>> This is indicated by the new "unicode" bit in the superblock.
>> This bit also associated with the presence of the case-folding
>> table on disk.
>
> What would happen in the following scenario?
>
> mount -t xfs /dev/somedevice /mnt/tmp
> touch /mnt/tmp/testfile
> touch /mnt/tmp/Testfile
> touch /mnt/tmp/TESTFILE
>
> mount -t xfs -o remount,ci /dev/somedevice /mnt/tmp
> rm /mnt/tmp/testfile

testfile would be deleted, Testfile and TESTFILE will remain.
Subsequent rm's should remove the rest.


<Prev in Thread] Current Thread [Next in Thread>