From: Theodore Ts'o Date: Sun, 29 Dec 2013 03:15:59 +0000 (-0500) Subject: debugfs: document the lsdel command in the man page X-Git-Tag: v1.42.9~11 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=2d8637b1506a5d6c8e8c584adf485b54ce0beafb;p=tools%2Fe2fsprogs.git debugfs: document the lsdel command in the man page Addresses-Debian-Bug: #731329 Signed-off-by: "Theodore Ts'o" --- diff --git a/debugfs/debugfs.8.in b/debugfs/debugfs.8.in index ce70d81..73254d3 100644 --- a/debugfs/debugfs.8.in +++ b/debugfs/debugfs.8.in @@ -431,6 +431,17 @@ flag will list the files in a format which is more easily parsable by scripts, as well as making it more clear when there are spaces or other non-printing characters at the end of filenames. .TP +.BI list_deleted_inodes " [limit]" +List deleted inodes, optionally limited to those deleted within +.I limit +seconds ago. Also available as +.BR lsdel . +.IP +This command was useful for recovering from accidental file deletions +for ext2 file systems. Unfortunately, it is not useful for this purpose +if the files were deleted using ext3 or ext4, since the inode's +data blocks are no longer available after the inode is released. +.TP .BI modify_inode " filespec" Modify the contents of the inode structure in the inode .IR filespec . @@ -479,7 +490,7 @@ is, all of the blocks starting at .I start_blk through to the end of the file will be deallocated. .TP -.I symlink filespec target +.BI symlink " filespec target" Make a symbolic link. .TP .B pwd