From owner-freebsd-questions Sun Oct 11 17:13:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA10465 for freebsd-questions-outgoing; Sun, 11 Oct 1998 17:13:57 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA10456; Sun, 11 Oct 1998 17:13:53 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id JAA16436; Mon, 12 Oct 1998 09:43:38 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.1/8.9.0) id JAA26452; Mon, 12 Oct 1998 09:43:10 +0930 (CST) Message-ID: <19981012094309.I24503@freebie.lemis.com> Date: Mon, 12 Oct 1998 09:43:09 +0930 From: Greg Lehey To: Malartre Cc: FreeBSD Questions Subject: undelete(2) (was: man undelete) References: <36210651.41A1EA5A@aei.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <36210651.41A1EA5A@aei.ca>; from Malartre on Sun, Oct 11, 1998 at 03:26:09PM -0400 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sunday, 11 October 1998 at 15:26:09 -0400, Malartre wrote: > $ man rm > SEE ALSO > rmdir(1), undelete(2), unlink(2), fts(3), getopt(3), etc... > $ man undelete > No manual entry for undelete > $ > What's that undelete? I suppose you sent this to -doc because you thought it was a documentation bug. In fact, there *is* an undelete(2). I don't know why you don't have the man page. > NAME > undelete - attempt to recover a deleted file > > SYNOPSIS > #include > > int > undelete(const char *path) > > DESCRIPTION > The undelete() function attempts to recover the deleted file named by > path. Currently, this works only when the named object is a whiteout in a > union filesystem. The system call removes the whiteout causing any ob- > jects in a lower layer of the union stack to become visible once more. > > Eventually, the undelete functionality may be expanded to other filesys- > tems able to recover deleted files such as the log-structured filesystem. In other words, it's not going to help you much if you delete a file and want to get it back. Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message