From: Christoph Hellwig <hch@infradead.org>
To: "Linda A. Walsh" <xfs@tlinx.org>
Cc: Christoph Hellwig <hch@infradead.org>, xfs-oss <xfs@oss.sgi.com>
Subject: Re: Changing a file system from case sensitive to case insensitive...
Date: Mon, 24 Aug 2009 13:41:34 -0400 [thread overview]
Message-ID: <20090824174134.GA25187@infradead.org> (raw)
In-Reply-To: <4A92C43B.1060604@tlinx.org>
On Mon, Aug 24, 2009 at 09:47:55AM -0700, Linda A. Walsh wrote:
>
>
> Christoph Hellwig wrote:
>> It's not theoretically impossible, but not implemented right now.
> ----
> How difficult -- would it just be changing a flag
> in the super, in the simple case -- i.e. with the result that
> a user could lose access to any files of alternate cases?
The CI flag relaly only hcanges on thing in the on disk format, and
that is the hash used for calculating the directory b+tree indices.
So what you need to do is the following algorithm
foreach diretory {
read the whole directory structure into memory
rewrite the btree with the case insensitive hash
}
handling of conflicts would be a pretty natural fallout of this,
by checking for hash conflicts with the new case-sensitive flag.
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2009-08-24 17:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-24 12:14 Changing a file system from case sensitive to case insensitive Linda A. Walsh
2009-08-24 14:49 ` Christoph Hellwig
2009-08-24 16:47 ` Linda A. Walsh
2009-08-24 17:41 ` Christoph Hellwig [this message]
2009-08-24 18:37 ` Linda A. Walsh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090824174134.GA25187@infradead.org \
--to=hch@infradead.org \
--cc=xfs@oss.sgi.com \
--cc=xfs@tlinx.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox