From owner-freebsd-fs@FreeBSD.ORG Fri Apr 14 06:47:29 2006 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 80C8D16A400; Fri, 14 Apr 2006 06:47:29 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F01843D53; Fri, 14 Apr 2006 06:47:29 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 22FB01A4D95; Thu, 13 Apr 2006 23:47:29 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 3F2F551406; Fri, 14 Apr 2006 02:47:28 -0400 (EDT) Date: Fri, 14 Apr 2006 02:47:27 -0400 From: Kris Kennaway To: Tom Rhodes Message-ID: <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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cWoXeonUoKmBZSoM" Content-Disposition: inline In-Reply-To: <20060413041618.6aa7d8c7.trhodes@FreeBSD.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-fs@FreeBSD.org Subject: Re: How a file is deleted in ufs2? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Apr 2006 06:47:29 -0000 --cWoXeonUoKmBZSoM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 wrote: >=20 > > On Mon, 10 Apr 2006, Scott Long wrote: > >=20 > > > IOW, there is no easy way to undelete a file. > >=20 > > This is currently true, except in the rare case where undelete(2) works. >=20 > 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.=20 Kris --cWoXeonUoKmBZSoM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFEP0V/Wry0BWjoQKURAsvfAKCfXk/gHrBvSJ5vmIOLl9ecVc6LkgCcDRQ+ 4PbG40Gee7O+MEYmzmMog2g= =IuRf -----END PGP SIGNATURE----- --cWoXeonUoKmBZSoM--