Copying /dev/* to another partition

John Lawitzke jhl at frith.uucp
Thu May 31 06:09:36 AEST 1990


>From article <109757 at linus.UUCP>, by rtidd at mwunix.mitre.org (Randall Tidd):
$ 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.

Sounds like a job for cpio. Check out its man page.

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