public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [REVIEW 0/2] Case insensitive support for XFS
@ 2008-01-18  4:43 Barry Naujok
  2008-01-18 18:05 ` Martin Steigerwald
  2008-01-19  5:48 ` Eric Sandeen
  0 siblings, 2 replies; 8+ messages in thread
From: Barry Naujok @ 2008-01-18  4:43 UTC (permalink / raw)
  To: xfs@oss.sgi.com; +Cc: xfs-dev


In the following two emails is contains patches for
case-insensitive and Unicode support for XFS in Linux.
It implements case-insensitivity utilising a Unicode
case folding table stored on disk generated from
http://www.unicode.org/Public/UNIDATA/CaseFolding.txt

As the filesystem stores names as Unicode (UTF-8), the "nls"
mount option has been added to support systems not utilising
UTF-8 natively. If the nls mount option is not used, it will
use the default NLS defined in the kernel's config.

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. This affects both directory and extended
attribute names.

With the case-folding table on disk, it allows us to upgrade
the table in the future while retaining backwards and forwards
compatibility. It also allows special case tables such as
Turkic case which is supported in this patch set.

There are two mount options for enabling case-insensitivity
on a Unicode XFS filesystem:
   - "ci" - enables case-insensitivity for file names
   - "ciattr" - enables case-insensitivity for extended
                attributes.

xfs_repair and xfs_db are fully aware of the case-folding
table. xfs_db has a basic "cft" command which can show
the table's header.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-01-21  1:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-18  4:43 [REVIEW 0/2] Case insensitive support for XFS Barry Naujok
2008-01-18 18:05 ` Martin Steigerwald
2008-01-20 22:30   ` Nathan Scott
2008-01-21  1:05     ` Barry Naujok
2008-01-21  1:12       ` Nathan Scott
2008-01-21  1:23         ` Barry Naujok
2008-01-21  0:52   ` Barry Naujok
2008-01-19  5:48 ` Eric Sandeen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox