diff options
| author | Andreas Dilger <adilger@sun.com> | 2008-08-23 21:42:46 -0600 |
|---|---|---|
| committer | Theodore Ts'o <tytso@mit.edu> | 2008-08-24 21:31:52 -0400 |
| commit | 03efde8abe79c80ff369206d06d4f1e476b08f53 (patch) | |
| tree | 38fbb40a61b67a044cae622b79e5545af994aeb7 /debugfs/debug_cmds.ct | |
| parent | 28b74daa10bfd4e6d908ca030a9d9c5b8269a26c (diff) | |
| download | platform_external_e2fsprogs-03efde8abe79c80ff369206d06d4f1e476b08f53.tar.gz platform_external_e2fsprogs-03efde8abe79c80ff369206d06d4f1e476b08f53.tar.bz2 platform_external_e2fsprogs-03efde8abe79c80ff369206d06d4f1e476b08f53.zip | |
add debugfs command to print known features
Print out the currently supported features of e2fsprogs/libext2fs
via a new "debugfs supported_features" command. This helps scripts
to know whether it is possible to try and enable specific features
in the filesystem.
Signed-off-by: Kalpak Shah <kalpak.shah@sun.com>
Signed-off-by: Andreas Dilger <adilger@sun.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'debugfs/debug_cmds.ct')
| -rw-r--r-- | debugfs/debug_cmds.ct | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/debugfs/debug_cmds.ct b/debugfs/debug_cmds.ct index a4a5a4c15..59314b81d 100644 --- a/debugfs/debug_cmds.ct +++ b/debugfs/debug_cmds.ct @@ -154,5 +154,8 @@ request do_dump_unused, "Dump unused blocks", request do_set_current_time, "Set current time to use when setting filesystme fields", set_current_time; +request do_supported_features, "Print features supported by this version of e2fsprogs", + supported_features; + end; |
