Could someone please check and let me know if this is something I have done to
myself, or
a bug in the mainline linux kerel release:
I have a pretty stock i686/i686smp build of 2.6.11-rc1-bk5 from kernel.org.
The XFS configuration options are:
CONFIG_XFS_FS=m
CONFIG_XFS_RT=y
CONFIG_XFS_QUOTA=y
CONFIG_XFS_POSIX_ACL=y
CONFIG_XFS_SECURITY=y
The test:
1. make/mount an XFS("/xfs") and an EXT2 ("/ext2") file system.
2. Create test directories under each ("/xfs/test", "/ext2/test").
3. Change the attributes of each directory to be syncronous.
("chattr -R +S /xfs/test /ext2/test")
4. copy a file into both directories
("cp /etc/inittab /xfs/test; cp /etc/inittab /ext2/test")
What I see from here is that any attempt to edit (I use vi) the
file "/xfs/test/inittab" starts with a message about a swap file
failure, and will not let me save any changes.
I can rename the file and delete the file. I simply can not overwrite the file.
No such problems exist on my ext2 partition, and the problem goes away
if I "chattr -R -S /xfs/test".
This has appeared sometime since 2.6.10-bk3 (the last kernel I built/tested),
which was built with the same configuration options as 2.6.11-rc1-bk5.
I do not think that this is a bad build... but I could be wrong. Does
anyone
else see this too ?
Jim Foris
|