| Author |
Message |
sriram.sitaraman@gmail.co *nix forums beginner
Joined: 23 May 2005
Posts: 10
|
Posted: Mon Jul 17, 2006 1:27 am Post subject:
file deletions..
|
|
|
hi All
I have openBSD 3.4 running on x86. Unfortunately I deleted a number of
files in a directory using the rm command in my home directory.
# rm -rf /home/sriram/images/
the system itself is a standard install.
I would like to request information on how I could retrieve the files
back. I initially copied the top level directory from a Windows
machine. I deleted the files on the Windows machine as well, but
unfortunately using search and recover tools in Windows tools does not
show the files..
Are there similar tools in OpenBSD ? please help..
Sriram |
|
| Back to top |
|
 |
void * clvrmnky() *nix forums Guru Wannabe
Joined: 01 Mar 2006
Posts: 152
|
Posted: Mon Jul 17, 2006 5:03 pm Post subject:
Re: file deletions..
|
|
|
sriram.sitaraman@gmail.com wrote:
| Quote: | hi All
I have openBSD 3.4 running on x86. Unfortunately I deleted a number of
files in a directory using the rm command in my home directory.
# rm -rf /home/sriram/images/
Yup. Everyone does this at least once in their lives. |
| Quote: | the system itself is a standard install.
I would like to request information on how I could retrieve the files
back. I initially copied the top level directory from a Windows
machine. I deleted the files on the Windows machine as well, but
unfortunately using search and recover tools in Windows tools does not
show the files..
Are there similar tools in OpenBSD ? please help..
Not in the default install. There may be something in the ports tree |
that allows you to inspect the raw file directory entries to mark them
in use (again) so you can retrieve them (if they have not already been
written over).
Unfortunately, the act of using the box increases the chance that the OS
will overwrite the deleted files. Certainly running a ports build would
likely do that.
If this data is precious, down the server *now* and start investigating
data recovery options. You either have to find a service to do it, or
find a home-grown solution that allows you to non-destructively inspect
a FFS disk to retrieve file info for files marked deleted. |
|
| Back to top |
|
 |
Marc Espie *nix forums beginner
Joined: 10 Apr 2005
Posts: 27
|
Posted: Mon Jul 17, 2006 10:15 pm Post subject:
Re: file deletions..
|
|
|
In article <1153099671.576755.183830@b28g2000cwb.googlegroups.com>,
<sriram.sitaraman@gmail.com> wrote:
| Quote: | hi All
I have openBSD 3.4 running on x86. Unfortunately I deleted a number of
files in a directory using the rm command in my home directory.
# rm -rf /home/sriram/images/
the system itself is a standard install.
I would like to request information on how I could retrieve the files
back. I initially copied the top level directory from a Windows
machine. I deleted the files on the Windows machine as well, but
unfortunately using search and recover tools in Windows tools does not
show the files..
|
Too bad, you can't.
In any case, OpenBSD 3.4 is ancient, use the opportunity to update... |
|
| Back to top |
|
 |
sriram.sitaraman@gmail.co *nix forums beginner
Joined: 23 May 2005
Posts: 10
|
Posted: Tue Jul 18, 2006 12:28 am Post subject:
Re: file deletions..
|
|
|
thanks.. but just fyi : the program photorec -
http://www.cgsecurity.org actually was able to salvage some deleted
file.. with very minimum effort..
Srirma |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|