RE: i just did a rm -rf /*r as root!!!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday, Apr 21st 2005 at 16:11 -0700, quoth bruce:

=>i do indeed have /var...
=>
=>i'm also downloading the FC2 rescue cd... i was under the impression that
=>there is some way that you can recreate/install the inode, and capture the
=>information, to essentially undo the 'rm -rf'. i haven't done anything with
=>the system, other than look at the information using 'debugfs'....
=>
=>any ideas/comments from people who've been here before....
=>
=>thanks...
=>
=>-bruce

Well Bruce, the first and obvious answer is to RESTORE FROM BACKUP. One of 
Murphy's correlaries states that if you make backups then you will never 
need them, but the inverse states that if you don't have it you will need 
it. 

The good news is that you do have your /var. So here's what you do:

you go through all of the installed rpms using rpm -qa and for each 
package, you do this:

rpm --Uvh --replacefiles --replacepkgs packagname

If you're lucky you might survive. :-)

-- 
Time flies like the wind. Fruit flies like a banana. Stranger things have  .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steveo at syslang.net


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux