aboutsummaryrefslogtreecommitdiffstats
path: root/debugfs/debug_cmds.ct
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2014-03-11 23:49:58 -0400
committerTheodore Ts'o <tytso@mit.edu>2014-03-11 23:50:08 -0400
commit227239b10b93bb51b6d8fc4023af77a94cdd7775 (patch)
treed40b7beef4a4f0ff6ff407c3448524e1e9821ee8 /debugfs/debug_cmds.ct
parent2ddcee17711b37fe9fca7d2350f275789a014f86 (diff)
downloadplatform_external_e2fsprogs-227239b10b93bb51b6d8fc4023af77a94cdd7775.tar.gz
platform_external_e2fsprogs-227239b10b93bb51b6d8fc4023af77a94cdd7775.tar.bz2
platform_external_e2fsprogs-227239b10b93bb51b6d8fc4023af77a94cdd7775.zip
debugfs: create commands to edit extended attributes
Enhance debugfs to be able to display and modify extended attributes, and create some simple tests for the extended attribute editing functions. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'debugfs/debug_cmds.ct')
-rw-r--r--debugfs/debug_cmds.ct12
1 files changed, 12 insertions, 0 deletions
diff --git a/debugfs/debug_cmds.ct b/debugfs/debug_cmds.ct
index 96ff00f0b..666032bf0 100644
--- a/debugfs/debug_cmds.ct
+++ b/debugfs/debug_cmds.ct
@@ -190,5 +190,17 @@ request do_zap_block, "Zap block: fill with 0, pattern, flip bits etc.",
request do_block_dump, "Dump contents of a block",
block_dump, bd;
+request do_list_xattr, "List extended attributes of an inode",
+ ea_list;
+
+request do_get_xattr, "Get an extended attribute of an inode",
+ ea_get;
+
+request do_set_xattr, "Set an extended attribute of an inode",
+ ea_set;
+
+request do_rm_xattr, "Remove an extended attribute of an inode",
+ ea_rm;
+
end;