]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit - debugfs/set_fields.c
Add new debugfs commands and arguments which make it easier to
authorTheodore Ts'o <tytso@mit.edu>
Thu, 3 Jan 2002 09:55:25 +0000 (04:55 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 3 Jan 2002 09:55:25 +0000 (04:55 -0500)
commite1018eeaa3285cd0ca26986d929194c1b577d211
tree7aed6c4d3c0a425bfc4ab70e02e54ddbe7935e8a
parent8bd0c95908baa3af706b9e731daff9472bec74c9
Add new debugfs commands and arguments which make it easier to
recover deleted files.  The lsdel command now takes an optional
argument which allows the user to only see the most recently
deleted files.  Also added a new command, undel, which automates
undeleting a deleted inode and linking it back to a directory.
Also added an optional count argument to the testb, freeb, setb,
and find_free_block commands.  The ls command now takes a new
option, -d, which lists deleted directory entries.

Factored out out commonly used code into utility subroutines
for ease of maintenance and to make the executable size smaller.
12 files changed:
debugfs/ChangeLog
debugfs/debug_cmds.ct
debugfs/debugfs.8.in
debugfs/debugfs.c
debugfs/debugfs.h
debugfs/dump.c
debugfs/icheck.c
debugfs/logdump.c
debugfs/ls.c
debugfs/lsdel.c
debugfs/setsuper.c
debugfs/util.c