public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: "Linda A. Walsh" <xfs@tlinx.org>
To: Christoph Hellwig <hch@infradead.org>
Cc: xfs-oss <xfs@oss.sgi.com>
Subject: Re: Changing a file system from case sensitive to case	insensitive...
Date: Mon, 24 Aug 2009 11:37:54 -0700	[thread overview]
Message-ID: <4A92DE02.5050303@tlinx.org> (raw)
In-Reply-To: <20090824174134.GA25187@infradead.org>



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.

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

      reply	other threads:[~2009-08-24 18:38 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
2009-08-24 18:37       ` Linda A. Walsh [this message]

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=4A92DE02.5050303@tlinx.org \
    --to=xfs@tlinx.org \
    --cc=hch@infradead.org \
    --cc=xfs@oss.sgi.com \
    /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