How a file is deleted in ufs2?
Tom Rhodes
trhodes at FreeBSD.org
Fri Apr 21 05:25:50 UTC 2006
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.
--
Tom Rhodes
More information about the freebsd-fs
mailing list