From owner-freebsd-questions Sun Jan 27 13:43:46 2002 Delivered-To: freebsd-questions@freebsd.org Received: from draco.over-yonder.net (draco.over-yonder.net [198.78.58.61]) by hub.freebsd.org (Postfix) with ESMTP id 478D537B416 for ; Sun, 27 Jan 2002 13:43:44 -0800 (PST) Received: by draco.over-yonder.net (Postfix, from userid 100) id B0C13FC2; Sun, 27 Jan 2002 15:43:43 -0600 (CST) Date: Sun, 27 Jan 2002 15:43:43 -0600 From: "Matthew D. Fuller" To: Marko Cuk Cc: questions@FreeBSD.ORG Subject: Re: file system undelete Message-ID: <20020127154343.G75216@over-yonder.net> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5-fullermd.1i In-Reply-To: <3C54735D.5E2B3763@cuk.nu>; from cuk@cuk.nu on Sun, Jan 27, 2002 at 10:38:37PM +0100 X-Editor: vi X-OS: FreeBSD Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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