xfs
[Top] [All Lists]

Re: Changing a file system from case sensitive to case insensitive...

To: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Subject: Re: Changing a file system from case sensitive to case insensitive...
From: "Linda A. Walsh" <xfs@xxxxxxxxx>
Date: Mon, 24 Aug 2009 11:37:54 -0700
Cc: xfs-oss <xfs@xxxxxxxxxxx>
In-reply-to: <20090824174134.GA25187@xxxxxxxxxxxxx>
References: <4A928413.4050205@xxxxxxxxx> <20090824144904.GB20898@xxxxxxxxxxxxx> <4A92C43B.1060604@xxxxxxxxx> <20090824174134.GA25187@xxxxxxxxxxxxx>
User-agent: Thunderbird 2.0.0.22 (Windows/20090605)


Christoph Hellwig wrote:
foreach diretory {
        read the whole directory structure into memory
        rewrite the btree with the case insensitive hash
}
---
        Looks like a trivial shell script...;^)...

I'm sure there's a bash-app for that...

*sigh*

And here I thought it was as simple as setting a flag on disk.

Sounds like the implementation lends itself to having an extended-attr
to potentially set the option on a dir-by-dir basis similar to the +d bit, though it would only apply to dirs and files
within -- but not subdirs (due to different mount locations)?

That might certainly be more flexible than a whole disk as well if it
is practical.

Then as the 'attr' was set, the hash could be rebuilt either inplace,
or created as a newdir with files being moved to the new dir.

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