Hi Camden,
Thanks for your comments. I have answered below.
>
>-- There is mention of '--dump-names' in the help, but no other reference to it in the source code that I can find. The developer blog post http://blog.bisect.de/2011/08/update-for-extundelete.html indicates that '--dump-names' was added, but.. it doesn't seem to be? Grepping the source code of 0.2.3 doesn't show any occurence of that text except for the help text.
>I find mention of dump-names being associated with ext3grep, but also find notes saying that ext3grep is not compatible with ext4.
>
Yes, this looks like it was an oversight. I don't think dump-names ever worked with extundelete, but I had thought it may be added some day. When that day came, it seemed like a useless option to me, so I removed the references to it that I could find, but I could still be convinced it could be useful. I'll give a reason for my thinking in the next answer.
>
>-- What is the best way to get a list of recoverable and non-recoverable files that have been deleted? (Is there a way using extundelete?)
>
The best way is to use the --restore-all option and see what files are restored. In order to determine which files are recoverable, extundelete must actually read the entire file, because if some parts of the file have been overwritten, the file would not be recoverable. So the only extra overhead would be the writing of the files when compared to an option like what --dump-names would do. If there was one file you wanted, you could give the path name to --restore-file; If there was one directory, you could give the path to --restore-directory; if you were unsure what the first path name would be, you could use --inode 2 (a trick which may be documented poorly). debugfs, a part of the e2fsprogs package, may also be able to give more information about the directory structure.
>
>-- The restore-directory command is listed on the website and seems to work, but is not listed in the help file, it seems.
>
I think someone else has noted this oversight. It will be fixed in the next version.
>
>-- Is there a way to get a status during undelete that shows recoverable and non-recoverable files? I didn't seem to get any stdout output when using the --restore-directory option
>
You may add the option "--log info" to the command line parameters. Version 0.2.3 probably is too silent, and the next version will output some status messages. Version 0.2.2 was way too verbose by default.
Nic
|