How a file is deleted in ufs2?

Kris Kennaway kris at obsecurity.org
Fri Apr 14 06:47:29 UTC 2006


On Thu, Apr 13, 2006 at 04:16:18AM -0400, Tom Rhodes wrote:
> On Tue, 11 Apr 2006 22:56:11 +1000 (EST)
> Bruce Evans <bde at zeta.org.au> wrote:
> 
> > On Mon, 10 Apr 2006, Scott Long wrote:
> > 
> > > IOW, there is no easy way to undelete a file.
> > 
> > This is currently true, except in the rare case where undelete(2) works.
> 
> Oh, so it has worked for someone.  I always wonder why we have this
> functionality when I have never been able to make it work.  Using
> rm(1) that is.

DESCRIPTION
     The undelete() system call attempts to recover the deleted file named by
     path.  Currently, this works only when the named object is a whiteout in
     a union file system. 

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20060414/e8b5e585/attachment.pgp


More information about the freebsd-fs mailing list