Xref: utzoo comp.unix.questions:22521 comp.unix.wizards:22211 Path: utzoo!attcan!uunet!snorkelwacker!ira.uka.de!fauern!tumuc!lan!charly.bl.physik.tu-muenchen.de!k2 From: k2@charly.bl.physik.tu-muenchen.de (Klaus Steinberger) Newsgroups: comp.unix.questions,comp.unix.wizards Subject: Re: Copying /dev/* to another partition Message-ID: <2538@tuminfo1.lan.informatik.tu-muenchen.dbp.de> Date: 30 May 90 19:03:34 GMT References: <109757@linus.UUCP> Sender: news@lan.informatik.tu-muenchen.dbp.de Followup-To: comp.unix.questions Lines: 17 rtidd@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@DGABLG5P Internet: k2@charly.bl.physik.tu-muenchen.de