Copying /dev/* to another partition
John Lawitzke
jhl at frith.uucp
Thu May 31 23:55:03 AEST 1990
>From article <2538 at tuminfo1.lan.informatik.tu-muenchen.dbp.de>, by k2 at charly.bl.physik.tu-muenchen.de (Klaus Steinberger):
$ rtidd at mwunix.mitre.org (Randall Tidd) writes:
$>I am trying to clone my root partition to a backup partition (just
$>root and subdirectories, but *not* other partitions such as /usr,
$>/home, etc). I ran into a problem when trying to copy /dev; when I
$>try to cp /dev/sd0a (for example), it will try to read from the device
$>/dev/sd0a rather than copy the actual file /dev/sd0a.
$
$ Use cpio or tar for this purpose. That's the way to do it.
Under SCO Xenix and SCO UNIX, tar does not copy empty directories or
device nodes.
--
j |%|John Lawitzke, Dale Computer Corp., R&D
|%|UUCP: uunet!mailrus!sharkey!dale1!jhl
|%| or: uunet!frith!dale1!jhl
Inquiring minds just wondering. |%|Internet: jhl at frith.egr.msu.edu
More information about the Comp.unix.questions
mailing list