How a file is deleted in ufs2?

Kris Kennaway kris at obsecurity.org
Fri Apr 21 18:14:41 UTC 2006


On Fri, Apr 21, 2006 at 01:25:37AM -0400, Tom Rhodes wrote:
> On Fri, 14 Apr 2006 02:47:27 -0400
> Kris Kennaway <kris at obsecurity.org> wrote:
> 
> > 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. 
> 
> What it fails to do is tell users what a "whiteout" is.  At least
> it was very unobvious to me while reading the manual page.

But it's still quite clear that it still only applies to union
filesystems, even if you have to dig deeper to find out how it works
in that case.

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


More information about the freebsd-fs mailing list