To enable user-defined extended attributes for ext3 file systems (i.e. device
), use:
tune2fs -o user_xattr /dev/device
Alternatively, extended attributes for a file system can be enabled at mount time, as in:
代码语言:javascript复制mount /dev/device /path/to/cache -o user_xattr
命令来自于:redhat 7 官方文档;更多内容请关注 cnblogs.com/xuyaowen;