Re: Fat fingered the usr dir.

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

 



On Mon, 19 Feb 2007, Jim Canfield wrote:

m.roth2006@xxxxxxx wrote:
I hope you have a backup....

Mmm, if it's *only* /usr/bin, and you have another machine, why not just copy the directory and contents over from the other machine? I just checked, btw, and on RHEL 4, there's /bin/tar, so that works.

   mark


Thanks all,

I'm back online and I didn't even have to turn the machine off. As it turns out I lost /usr/bin and part of /usr/lib. The saving grace was a very similar machine and I still had a ssh session running. I tar'd everything from the second machine onto a cd-rom and untar'd onto the broken machine.

Lessons learned:

You *can* mount a cd-rom even when /usr/bin is gone...that rocks!
You *can not* mount a USB drive...maybe that will change over time.

Concerns:

I'm sure there are several things that will be out of sync particularly the rpmdb and perl modules.

rpm -Va will check all RPMs in the database and flag any files that are missing/modified from the originals.

--
		Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux