]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_db: improve getting and setting extended attributes
authorDarrick J. Wong <djwong@kernel.org>
Thu, 8 Aug 2024 16:38:47 +0000 (09:38 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 8 Aug 2024 16:38:47 +0000 (09:38 -0700)
commit9b4c9c608967846dab1059ac62c759847013b7c6
tree2394d113fd0158a275f6822688eb780aa0bbb794
parentd194cb818305a53c3f4194b9571c064be9ec86af
xfs_db: improve getting and setting extended attributes

Add an attr_get command to retrieve the value of an xattr from a file;
and extend the attr_set command to allow passing of string values.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Dave Chinner <dchinner@redhat.com>
db/attrset.c
man/man8/xfs_db.8