Copying /dev/* to another partition

Klaus Steinberger k2 at charly.bl.physik.tu-muenchen.de
Thu May 31 05:03:34 AEST 1990


rtidd at mwunix.mitre.org (Randall Tidd) writes:

>I am running SunOS 4.1 on a Sun 3/160.

>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.

Sincerely,
Klaus Steinberger
Klaus Steinberger               Beschleunigerlabor der TU und LMU Muenchen
Phone: (+49 89)3209 4287        Hochschulgelaende, D-8046 Garching, West Germany
BITNET:  K2 at DGABLG5P            Internet: k2 at charly.bl.physik.tu-muenchen.de



More information about the Comp.unix.questions mailing list