Restore deleted files

Chuck Swiger cswiger at
Thu Jan 8 16:55:59 PST 2009

On Jan 8, 2009, at 3:28 PM, Polytropon wrote:
> I'd like to ask a two-stage question:
> 1. Is it possible to recover files that have been deleted?
> 2. Which tools or procedures are suggested for recovery?

The preferred method is to recover files from backup.  If you don't  
take backups, you've decided that you don't really care about the  
data.  This being said, you might take a look at something like:

> % cat /usr/ports/sysutils/sleuthkit/pkg-descr
> The Sleuth Kit (previously known as TASK) is a collection of UNIX- 
> based
> command line file system and media management forensic analysis  
> tools.  The
> file system tools allow you to examine file systems of a suspect  
> computer in
> a non-intrusive fashion.
> The media management tools allow you to examine the layout of disks  
> and
> other media.  The Sleuth Kit supports DOS partitions, BSD partitions  
> (disk
> labels), Mac partitions, Sun slices (Volume Table of Contents), and  
> disks.  With these tools, you can identify where partitions are  
> located and
> extract them so that they can be analyzed with file system analysis  
> tools.
> WWW:

This can be used to attempt to "undelete" files from a UFS  


More information about the freebsd-fs mailing list