Date: Mon, 12 Oct 1998 09:43:09 +0930 From: Greg Lehey <grog@lemis.com> To: Malartre <malartre@aei.ca> Cc: FreeBSD Questions <questions@FreeBSD.ORG> Subject: undelete(2) (was: man undelete) Message-ID: <19981012094309.I24503@freebie.lemis.com> In-Reply-To: <36210651.41A1EA5A@aei.ca>; from Malartre on Sun, Oct 11, 1998 at 03:26:09PM -0400 References: <36210651.41A1EA5A@aei.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <unistd.h> > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981012094309.I24503>