Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jan 2002 15:43:43 -0600
From:      "Matthew D. Fuller" <fullermd@over-yonder.net>
To:        Marko Cuk <cuk@cuk.nu>
Cc:        questions@FreeBSD.ORG
Subject:   Re: file system undelete
Message-ID:  <20020127154343.G75216@over-yonder.net>
In-Reply-To: <3C54735D.5E2B3763@cuk.nu>; from cuk@cuk.nu on Sun, Jan 27, 2002 at 10:38:37PM %2B0100
References:  <20020126234617.C267@idefix.local> <5.1.0.14.0.20020127002514.01d56978@mail.drwilco.net> <20020127100745.A267@idefix.local> <00c401c1a743$2f8f9170$1200a8c0@gsicomp.on.ca> <20020127214638.A267@idefix.local> <002901c1a77a$a7027790$1200a8c0@gsicomp.on.ca> <3C54735D.5E2B3763@cuk.nu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jan 27, 2002 at 10:38:37PM +0100 I heard the voice of
Marko Cuk, and lo! it spake thus:
> Is there any way to undelete file under FreeBSD ? The file is on this partition
> : /dev/da0s1f on /usr (ufs, local, soft-updates)
> 
> I have read the man undelete, but I don't understand, how to do that.

You don't.

From undelete(2):
----
Currently, this works only when the named object is a whiteout in a union
filesystem.  The system call removes the whiteout causing any objects in
a lower layer of the union stack to become visible once more.
----

Since you're not using a unionfs, undelete(2) doesn't do anything for
you.  Also, note that it's in man section 2, which means it's a system
call (and not a program you can directly invoke) anyway.

FreeBSD's FFS has no support for undeleting.  Deleted means deleted.



-- 
Matthew Fuller     (MF4839)     |    fullermd@over-yonder.net
Unix Systems Administrator      |    fullermd@futuresouth.com
Specializing in FreeBSD         |    http://www.over-yonder.net/

"The only reason I'm burning my candle at both ends, is because I
      haven't figured out how to light the middle yet"

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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