From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751303AbWGHKzs (ORCPT ); Sat, 8 Jul 2006 06:55:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751306AbWGHKzs (ORCPT ); Sat, 8 Jul 2006 06:55:48 -0400 Received: from gprs189-60.eurotel.cz ([160.218.189.60]:45785 "EHLO amd.ucw.cz") by vger.kernel.org with ESMTP id S1751303AbWGHKzs (ORCPT ); Sat, 8 Jul 2006 06:55:48 -0400 Date: Sat, 8 Jul 2006 12:55:32 +0200 From: Pavel Machek To: Krzysztof Halasa Cc: Bill Davidsen , Benny Amorsen , linux-kernel@vger.kernel.org Subject: Re: ext4 features Message-ID: <20060708105532.GH1700@elf.ucw.cz> References: <20060703205523.GA17122@irc.pl> <1151960503.3108.55.camel@laptopd505.fenrus.org> <44A9904F.7060207@wolfmountaingroup.com> <20060703232547.2d54ab9b.diegocg@gmail.com> <44AB3E4C.2000407@tmr.com> <20060707141030.GC4239@ucw.cz> <20060707213030.GA5393@ucw.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.11+cvs20060126 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sat 2006-07-08 12:52:17, Krzysztof Halasa wrote: > Pavel Machek writes: > > >> > It *was* done. mc supports undelete on ext2. > >> > >> How does it do that? Directly accessing the device? > > > > Yes. I used it once or twice, and was not happy when ext3 broke it. > > I'd say it had to be broken from the beginning. Doing such things > on live, mounted filesystem... Why not? You use libextfs or how is it called to read the file from the disk directly (read-only access), then you write it back using regular calls. Of course, you can end up with "deleted" data being corrupted if kernel reused the area before undelete, or while you were doing undelete... but that's expected. They were _deleted_, right? Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html