Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Apr 2006 01:25:37 -0400
From:      Tom Rhodes <trhodes@FreeBSD.org>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        freebsd-fs@FreeBSD.org
Subject:   Re: How a file is deleted in ufs2?
Message-ID:  <20060421012537.0949ac45.trhodes@FreeBSD.org>
In-Reply-To: <20060414064727.GA77608@xor.obsecurity.org>
References:  <1144687418.11014.9.camel@diegows> <443AFB03.6060301@samsco.org> <20060411210858.G46778@delplex.bde.org> <20060413041618.6aa7d8c7.trhodes@FreeBSD.org> <20060414064727.GA77608@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 14 Apr 2006 02:47:27 -0400
Kris Kennaway <kris@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@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.

-- 
Tom Rhodes



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060421012537.0949ac45.trhodes>