summaryrefslogtreecommitdiff
path: root/debugfs/debugfs.8.in
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>1998-06-27 05:11:14 +0000
committerTheodore Ts'o <tytso@mit.edu>1998-06-27 05:11:14 +0000
commit818180cdfcff84b9048ecdc5dc86323f0fefba24 (patch)
treed8405d0cb0f74ce8f23baa4cb5f278d09dbb3961 /debugfs/debugfs.8.in
parent4faba5b2aebb89619f5798274394670cce96370c (diff)
downloade2fsprogs-818180cdfcff84b9048ecdc5dc86323f0fefba24.tar.gz
ChangeLog, debugfs.8.in, debugfs.c:
Add a -V option which displays the current version. ChangeLog, unix.c: unix.c (e2fsck_update_progress): Remove unused variables. ChangeLog, inode.c: inode.c (get_next_blockgroup): Fix bug where if get_next_blockgroup() is called early because of a missing inode table in a block group, the current_inode counter wasn't incremented correctly. ChangeLog, tst_uuid.c: tst_uuid.c (main): Fixed bogus declaration of the main's argv parameter. ChangeLog, test_icount.c: test_icount.c (main): Fix main() declaration so that it returns int, not void. Many files: fsck.c (ignore): Remove unused variable cp. chattr.c (fatal_error): tune2fs.c (usage): lsattr.c (usage): dumpe2fs.c (usage): badblocks.c (usage): Remove volatile from declaration. fsck.c: Change use of strdup to be string_copy, since we don't trust what glibc is doing with strdup. (Whatever it is, it isn't pretty.)
Diffstat (limited to 'debugfs/debugfs.8.in')
-rw-r--r--debugfs/debugfs.8.in14
1 files changed, 11 insertions, 3 deletions
diff --git a/debugfs/debugfs.8.in b/debugfs/debugfs.8.in
index 0e81ca11..bc4928e9 100644
--- a/debugfs/debugfs.8.in
+++ b/debugfs/debugfs.8.in
@@ -8,9 +8,6 @@ debugfs \- ext2 file system debugger
.SH SYNOPSIS
.B debugfs
[
-.B \-w
-]
-[
.B \-f
cmd_file
]
@@ -19,8 +16,14 @@ cmd_file
request
]
[
+.B \-V
+]
+[
+.B \-w
+[
device
]
+]
.SH DESCRIPTION
The
.B debugfs
@@ -52,6 +55,11 @@ Causes
to execute the single command
.IR request ,
and then exit.
+.TP
+.I -V
+print the version number of
+.B debugfs
+and exit.
.SH COMMANDS
.B debugfs
is an interactive debugger. It understands a number of commands.