i have lost the file
am 22.11.2004 12:26:57 von ankitjain1580
if somebody knows how to retrieve the file?
i used rm command
thanks
ankit jain
____________________________________________________________ ____________
Yahoo! Messenger - Communicate instantly..."Ping"
your friends today! Download Messenger Now
http://uk.messenger.yahoo.com/download/index.html
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: i have lost the file
am 22.11.2004 12:56:57 von Nathan Dietsch
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
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: i have lost the file
am 22.11.2004 15:00:21 von ankitjain1580
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
--- Nathan Dietsch 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
> -
> To unsubscribe from this list: send the line
> "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: i have lost the file
am 22.11.2004 16:47:41 von Marshall Lake
> if somebody knows how to retrieve the file?
> i used rm command
Look in your home directory for the tmp directory. Some distributions
link the rm command to the mv command and actually move a file you delete
into HOME/tmp rather than actually erasing the file.
It's also possible that any file you rm is actually moved someplace else.
You might want to check your personal and/or system login-in files
(/etc/profile, HOME/.profile, HOME/.bash_profile, etc) for pertinent alias
commands and such.
--
Marshall Lake -- mlake@mlake.net -- http://mlake.net
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: i have lost the file
am 22.11.2004 19:16:15 von Glynn Clements
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.
Assuming it's an ext2 filesystem:
/usr/src/linux/fs/ext2
Also, the source code for the programs in the e2fsprogs package.
--
Glynn Clements
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: i have lost the file
am 23.11.2004 00:52:09 von Nathan Dietsch
Ankit,
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.
>
>
>
I can't recall if it deals with filesystem reconstruction, but for a
good read on the topic you should get hold of
UNIX Filesystems by Steve Pate. Also search google for fsdb (the
filesystem debugger).
For a more Linux twist on things, I could recommend Understanding the
Linux Kernel by Bovey & Cesati.
Kind Regards,
Nathan Dietsch
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: i have lost the file
am 23.11.2004 01:03:07 von jbrown106
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 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
> > -
> > To unsubscribe from this list: send the line
> > "unsubscribe linux-admin" in
> > the body of a message to majordomo@vger.kernel.org
> > 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
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html