Weird Files...

Christoph Doerbeck A242369 cdoerbec at cso.fmr.com
Tue Oct 31 14:22:17 EST 2000


jc at trillian.mit.edu wrote:

> But I do note one potential problem:  It doesn't  work  too  well  if
> you're inside the /tmp directory.  There just might be a fix for this
> bug.  Let's see ...
> 
> #!/bin/bash
> d=`pwd`
> cd /
> tar cvf /tmp/blah.tar $d
> cat /tmp/blah.tar | (rm -rf $d; tar xvf - --exclude $1) &
> wait
> 

I hope all of your restore utilities are statically linked, otherwise you're
screwed if you remove anything in /usr, /usr/lib, etc...

Plus you'd want "tar xvpf ..." to get back the permission and owners...
This mechanism is still broken IMHO...



-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).



More information about the Discuss mailing list