在OpenSUSE-13.X

时间:2015-06-17 14:32:15

标签: linux linux-kernel filesystems opensuse file-attributes

我有一个要求,我需要在符号链接和文件上添加一些扩展属性。但是“setfattr:operation not supported”错误不允许我在OpenSUSE中执行此操作。

$setfattr -n "user.name" -v "myname" LICENCE.txt 
setfattr: LICENCE.txt: Operation not supported

$attr -s name -V myname LICENCE.txt 
attr_set: Operation not permitted
Could not set "name" for LICENCE.txt

$cat /etc/SuSE-release 
openSUSE 13.2 (x86_64)

$vi /etc/fstab
UUID=796465a8-614a-4977-8d67-269f4239e9e8 /home xfs defaults 1 2

$zcat /proc/config.gz | grep XATTR
CONFIG_REISERFS_FS_XATTR=y
CONFIG_TMPFS_XATTR=y
CONFIG_JFFS2_FS_XATTR=y
CONFIG_SQUASHFS_XATTR=y
CONFIG_F2FS_FS_XATTR=y
CONFIG_CIFS_XATTR=y

这是因为我的配置中缺少CONFIG_XFS_XATTR = y吗? 有什么办法可以在我的环境中启用XATTR吗?

0 个答案:

没有答案