[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re[2]: Hard-disk Change
"Peter L. Peres" <plp@actcom.co.il> wrote:
>
> > tar
>
> Why ? Use cp -dpR. This will copy the things in /dev. DO NOT launch this
> as cp -dpR /dev/* ... , instead, cp -dpR /dev ... You may also want to use
> -x.
>
> tar will choke on /dev contents. If you have to, use cpio which can handle
> this.
Well, I prefer to use "cp -a" as well, but what you (and others) have said about
tar is simply incorrect. It DOES work for /dev/*. Well, as far as GNU tar is
concerned, of course - but for that matter, "cp -a" (cp -dpR) is specific for
GNU cp as well.
Regards,
Evgeny
--
____________________________________________________________
/ Evgeny Stambulchik <fnevgeny@plasma-gate.weizmann.ac.il> \
/ Plasma Laboratory, Weizmann Institute of Science, Israel \ \
| Phone : (972)8-934-3610 == | == FAX : (972)8-934-3491 | |
| URL : http://plasma-gate.weizmann.ac.il/~fnevgeny/ | |
| Finger for PGP key >=====================================+ |
|______________________________________________________________|