Re: [REVIEW 2/2] Case insensitive support for XFS - user-space

Eric Sandeen
2008-01-18T21:23:16Z

Barry Naujok wrote:
> This patch relies on the dinode.c refactoring patch posted recently.
> I have attached the latest version (with fixes pointed out by Chandan).

So, new mkfs.xfs -h output says:

/* naming */ [-n log=n|size=num,version=n,utf8=none|default|turkic]

so I tried:

mkfs.xfs -dfile,name=fsfile,size=500m -nutf8=none

and got:

Illegal value none for -n utf8 option

(are there man page updates lurking somewhere? Pls also update
Documentation/filesystems/xfs.txt in the kernel)

....

Also, if I specify -nutf8=default on a 500m fs:

# mkfs.xfs -dfile,name=fsfile,size=500m -nutf8=default
meta-data=fsfile isize=256 agcount=4, agsize=32000 blks
= sectsz=512 attr=2
data = bsize=4096 blocks=128000, imaxpct=25
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096 utf8=default
log =internal log bsize=4096 blocks=1200, version=2
= sectsz=512 sunit=0 blks, lazy-count=0
realtime =none extsz=4096 blocks=0, rtextents=0
mkfs.xfs: cannot reserve space: No space left on device

However this works:

# mkfs.xfs -dfile,name=fsfile,size=500m

as does this:

# mkfs.xfs -dfile,name=fsfile,size=1000m -nutf8=default

eh? :)

-Eric