On Mon, Nov 22, 2004 at 02:00:21PM +0000, Ankit Jain wrote: > if i can get some ref. where i can read > that(filesystem) > > it is not due to some file....its because i want to > know about the sub. > > thanks > > ankit I recommend Midnight Commander (mc), which has a function in it which undeletes files for the ext2 filesystem. There is also a howto called the Ext2 Undeletion HOWTO, as well as a Ext2 Undeletion Dir Struct HOWTO. These give you the methods step by step, though they are a bit dated. In theory they will work with ext3 (if you unmount it cleanly). If you are just looking for a setup that lets you undelete a file (e.g. you haven't deleted it yet but think you will) you can use libtrash. This is a preloaded library which uses hacks to hide files instead of deleting them (it does the override at the library call level, so only staticly linked binaries can delete files). This is as good as you can get w/o patching the kernel. > --- Nathan Dietsch <njd@xxxxxxxxxxxx> wrote: > > Ankit, > > > > Ankit Jain wrote: > > > > >if somebody knows how to retrieve the file? > > > > > >i used rm command > > > > > > > > Go to your backups and restore the file. > > Anything else will require filesystem reconstruction > > and depending on > > much the filesystem has been used since, it may not > > work. > > For such a reconstruction you would need to have an > > in-depth knowledge > > of the filesystem structure. > > > > Kind Regards, > > > > Nathan Dietsch > > - > > : send the line > > "unsubscribe linux-admin" in > > the body of a message to majordomo@xxxxxxxxxxxxxxx > > More majordomo info at > > http://vger.kernel.org/majordomo-info.html > > > > ________________________________________________________________________ > Yahoo! Messenger - Communicate instantly..."Ping" > your friends today! Download Messenger Now > http://uk.messenger.yahoo.com/download/index.html > - > : send the line "unsubscribe linux-admin" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection. - : send the line "unsubscribe linux-admin" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html