Copying A/UX to another disk

Tasuki Hirata sukes at eng.umd.edu
Thu Apr 18 07:57:27 AEST 1991


In article <1991Apr17.173127.15460 at jato.jpl.nasa.gov> dundas at granite.Jpl.Nasa.Gov (John Dundas) writes:
>Please help!  I did this once but can't seem to remember how now!  I want to
>copy my entire root file system onto another (larger) disk.  I seem to
>remember using a pipe like:
>
>	find / -print | cpio -pdl /something
>
>but this isn't working.  The actual command I am using is:
>
>	find / -depth -print | cpio -pdl /dev/rdsk/c1d0s0
>
>but when issued, this command complains that it 
>"cannot write in </dev/rdsk/c1d0s0>"
>(I am root when trying).  Any suggestions?
>
>John Dundas
>dundas at salt.jpl.nasa.gov

How about mounting the partition on /mnt and saying something like,

	cd /
	find . -print | grep -v ^./mnt | cpio -pdl /mnt


--
| Tasuki Hirata (sukes at eng.umd.edu) | - This page intentionally left blank - |
| UUCP: uunet!eng.umd.edu!sukes     | 					     |



More information about the Comp.unix.aux mailing list