* i have lost the file
@ 2004-11-22 11:26 Ankit Jain
2004-11-22 11:56 ` Nathan Dietsch
2004-11-22 15:47 ` Marshall Lake
0 siblings, 2 replies; 7+ messages in thread
From: Ankit Jain @ 2004-11-22 11:26 UTC (permalink / raw)
To: admin
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: i have lost the file
2004-11-22 11:26 i have lost the file Ankit Jain
@ 2004-11-22 11:56 ` Nathan Dietsch
2004-11-22 14:00 ` Ankit Jain
2004-11-22 15:47 ` Marshall Lake
1 sibling, 1 reply; 7+ messages in thread
From: Nathan Dietsch @ 2004-11-22 11:56 UTC (permalink / raw)
To: Ankit Jain; +Cc: admin
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: i have lost the file
2004-11-22 11:56 ` Nathan Dietsch
@ 2004-11-22 14:00 ` Ankit Jain
2004-11-22 18:16 ` Glynn Clements
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Ankit Jain @ 2004-11-22 14:00 UTC (permalink / raw)
To: Nathan Dietsch; +Cc: admin
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 <njd@ndietsch.com> 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
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: i have lost the file
2004-11-22 14:00 ` Ankit Jain
@ 2004-11-22 18:16 ` Glynn Clements
2004-11-22 23:52 ` Nathan Dietsch
2004-11-23 0:03 ` Jim C. Brown
2 siblings, 0 replies; 7+ messages in thread
From: Glynn Clements @ 2004-11-22 18:16 UTC (permalink / raw)
To: Ankit Jain; +Cc: admin
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 <glynn@gclements.plus.com>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: i have lost the file
2004-11-22 14:00 ` Ankit Jain
2004-11-22 18:16 ` Glynn Clements
@ 2004-11-22 23:52 ` Nathan Dietsch
2004-11-23 0:03 ` Jim C. Brown
2 siblings, 0 replies; 7+ messages in thread
From: Nathan Dietsch @ 2004-11-22 23:52 UTC (permalink / raw)
To: Ankit Jain; +Cc: admin
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: i have lost the file
2004-11-22 14:00 ` Ankit Jain
2004-11-22 18:16 ` Glynn Clements
2004-11-22 23:52 ` Nathan Dietsch
@ 2004-11-23 0:03 ` Jim C. Brown
2 siblings, 0 replies; 7+ messages in thread
From: Jim C. Brown @ 2004-11-23 0:03 UTC (permalink / raw)
To: Ankit Jain; +Cc: linux-admin
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@ndietsch.com> 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.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: i have lost the file
2004-11-22 11:26 i have lost the file Ankit Jain
2004-11-22 11:56 ` Nathan Dietsch
@ 2004-11-22 15:47 ` Marshall Lake
1 sibling, 0 replies; 7+ messages in thread
From: Marshall Lake @ 2004-11-22 15:47 UTC (permalink / raw)
To: Ankit Jain; +Cc: admin
> 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
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-11-23 0:03 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-22 11:26 i have lost the file Ankit Jain
2004-11-22 11:56 ` Nathan Dietsch
2004-11-22 14:00 ` Ankit Jain
2004-11-22 18:16 ` Glynn Clements
2004-11-22 23:52 ` Nathan Dietsch
2004-11-23 0:03 ` Jim C. Brown
2004-11-22 15:47 ` Marshall Lake
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).