<br><div class="gmail_quote">2012/3/14 Richard W.M. Jones <span dir="ltr"><<a href="mailto:rjones@redhat.com">rjones@redhat.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I see.  Libguestfs could be useful here because it can remove layers<br>
of complexity -- such as partitions, LVs, encryption -- allowing a<br>
file carving tool to work directly on the filesystem.  Such a tool<br>
would have to be added to the API, and the only one I'm familiar with<br>
(PhotoRec) is highly interactive and thus not really suitable as-is<br>
for integrating with the libguestfs API.  If there is a file carving<br>
tool which works as a library or non-interactive command line tool,<br>
that would be better suited.<br><div class="im"></div></blockquote><div>There is foremost (and scalpel, a fork) that do file carving non-interactive<br> <br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
VMware doesn't really have anything to do with it - the guest<br>
operating system uses its normal method for deleting files, and those<br>
can be recovered using ordinary tools (eg.  ext2undelete,<br>
ntfsundelete).  You just need to add those tools into the libguestfs<br>
API.  See this page for a guide to adding new APIs:<br>
<br>
<a href="http://libguestfs.org/guestfs.3.html#extending_libguestfs" target="_blank">http://libguestfs.org/guestfs.3.html#extending_libguestfs</a><br>
<br>
Actually ext2undelete and ntfsundelete are both on the todo list, and<br>
have been for some time.<br>
<div class="im"><br>
Rich.<br></div></blockquote><div>Ok, I'll check it out right now. Thanks<br></div></div>