I accidentally whacked my home directory, is there anything I can do to restore it, or at least some of it.
On Thursday 11 January 2001 17:30, Jesse Marlin wrote:
I accidentally whacked my home directory, is there anything I can do to restore it, or at least some of it.
As root: cd /home mkdir <your home dir's name> chown youracctname:users <your home dir's name> chmod 700 <your home dir's name> What was orginally in it is lost. -- Scientific theories, according to Sir Karl Popper, can be "falsified," or proven wrong, by experiment. Unscientific theories -Marxist dialectical history and Freudian psychology were Popper's favorites- are formed in such a way that they cannot be falsified by data.
On Thursday 11 January 2001 17:30, Jesse Marlin wrote:
I accidentally whacked my home directory, is there anything I can do to restore it, or at least some of it.
As root: cd /home mkdir <your home dir's name> chown youracctname:users <your home dir's name> chmod 700 <your home dir's name>
What was orginally in it is lost. This is not entirely true Something like that happened to a Mandrake user 1 or 2 (perhaps even 3)months ago, one should be able to find something at the Mandrake Expert-mailing list. The guy was desperate because he had lost some work worth lot's of $, he managed to find it all. There was a long chain of mails and many people were active trying to help him, I didn't believe it was
On Friday 12 January 2001 00:55, Jerry Kreps wrote: possible but it was. ei -- @~~ EagleIce ~ gnu4u@linux.nu ~~@ @~~ Running GNU/Linux & KDE ~~@
On Thursday 11 January 2001 19:45, EagleIce wrote:
On Friday 12 January 2001 00:55, Jerry Kreps wrote:
On Thursday 11 January 2001 17:30, Jesse Marlin wrote:
I accidentally whacked my home directory, is there anything I can do to restore it, or at least some of it.
As root: cd /home mkdir <your home dir's name> chown youracctname:users <your home dir's name> chmod 700 <your home dir's name>
What was orginally in it is lost.
This is not entirely true Something like that happened to a Mandrake user 1 or 2 (perhaps even 3)months ago, one should be able to find something at the Mandrake Expert-mailing list. The guy was desperate because he had lost some work worth lot's of $, he managed to find it all. There was a long chain of mails and many people were active trying to help him, I didn't believe it was possible but it was.
ei
There is a way to "undelete" files from an ext2 system using the app called 'mc' (midnight commander) but it takes a special version and depends on no other files being saved after the deletion, so that inodes are not reused. But, with the special version of mc and the documentation describing the technique, which is not always 100% effective, recovering deleted files is essentially impossible. JLK -- Scientific theories, according to Sir Karl Popper, can be "falsified," or proven wrong, by experiment. Unscientific theories -Marxist dialectical history and Freudian psychology were Popper's favorites- are formed in such a way that they cannot be falsified by data.
EagleIce writes:
On Thursday 11 January 2001 17:30, Jesse Marlin wrote:
I accidentally whacked my home directory, is there anything I can do to restore it, or at least some of it.
As root: cd /home mkdir <your home dir's name> chown youracctname:users <your home dir's name> chmod 700 <your home dir's name>
What was orginally in it is lost. This is not entirely true Something like that happened to a Mandrake user 1 or 2 (perhaps even 3)months ago, one should be able to find something at the Mandrake Expert-mailing list. The guy was desperate because he had lost some work worth lot's of $, he managed to find it all. There was a long chain of mails and many people were active trying to help him, I didn't believe it was
On Friday 12 January 2001 00:55, Jerry Kreps wrote: possible but it was.
The damage was not what it seemed at first. The cause was a script I wrote that was supposed to stay confined to specific directory. The lesson learned don't use cd .. in a for loop. It initially looked like my directory was gone but all of it was tucked away in a directory. The script went awry after encountering an error, and starting moving directories and files everywhere. What a mess! When I still thought I had whacked my directory, I looked into trying to undelete it. There is a utility debugfs that lets you do things to inodes. There is also a Undelete Mini Howto. Fortunately in the end I didn't have to rely on it. It is definitely only for essential files.
ei
-- @~~ EagleIce ~ gnu4u@linux.nu ~~@ @~~ Running GNU/Linux & KDE ~~@
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
Something like that happened to a Mandrake user 1 or 2 months ago, you should be able to find something at the Mandrake Expert-mailing list. The guy was desperate because he had lost some work worth lot's of $, he managed to find it all. (Or was this a SuSE mail list subject....??) ei On Friday 12 January 2001 00:30, Jesse Marlin wrote:
I accidentally whacked my home directory, is there anything I can do to restore it, or at least some of it.
-- @~~ EagleIce ~ gnu4u@linux.nu ~~@ @~~ Running GNU/Linux & KDE ~~@
Jesse Marlin wrote:
I accidentally whacked my home directory, is there anything I can do to restore it, or at least some of it.
If you're talking about deleted files, thn there is a chance of recovering some of the files, as long as the inodes haven't been written over. I had a similar problem a few months ago, and there were a few mails on this list about it (although I can't remember the subject line). If you want I can give you a whole heap of documentation and programs which I collected to fix my problem. Just let me know. Bye, Chris -- __ _ -o)/ / (_)__ __ ____ __ Chris Reeves /\\ /__/ / _ \/ // /\ \/ / ICQ# 22219005 _\_v __/_/_//_/\_,_/ /_/\_\
participants (4)
-
Chris Reeves
-
EagleIce
-
Jerry Kreps
-
Jesse Marlin