From 2d8637b1506a5d6c8e8c584adf485b54ce0beafb Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Sat, 28 Dec 2013 22:15:59 -0500 Subject: [PATCH] debugfs: document the lsdel command in the man page Addresses-Debian-Bug: #731329 Signed-off-by: "Theodore Ts'o" --- debugfs/debugfs.8.in | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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 -- 1.8.3.1