Re: Strange NOTAIL inheritance behaviour in Reiserfs 3.6

From: Oleg Drokin
Date: Wed Jun 23 2004 - 06:13:24 EST


Hello!

"Michael Kerrisk" <mtk-lists@xxxxxxxxxx> wrote:

MK> On a Reiserfs 3.6 file system, I create a directory with the NOTAIL
MK> attribute set and create 10000 1-byte files in that directory. lsattr(1)
MK> shows that the NOTAIL attribute is set on (i.e., inherited by) all of the
MK> files. However, the disk space consumption remains small (certainly not
MK> 10000 blocks used). Only when I explicitly set the NOTAIL attribute on all
MK> the files does disk consumption rise to what I would expect. In other
MK> words, the files are inheriting the NOTAIL attribute form their parent
MK> directory, but this inheritance has no effect.

I believe there is user error on your part. Extended inode attributes
are disabled by default on reiserfs.

MK> Detailed example follows:

MK> # mount -t reiserfs /dev/hda12 /testfs

Does it work as expected if you add "-o attrs" to the mount command?

Bye,
Oleg
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/