Copying A/UX to another disk

Mark Bartelt sysmark at aurora.physics.utoronto.ca
Mon Apr 22 21:23:53 AEST 1991


In article <1991Apr18.135204.11057 at jato.jpl.nasa.gov>
dundas at granite.Jpl.Nasa.Gov (John Dundas) writes:

| Thanks to all those that replied!  I believe that the problem is being cured
| as I write this message.  In short, mount the newly created file system on
| /mnt, and modify the pipe to include a grep -v /mnt, finally change the cpio
| destination to /mnt.  The altered command looks something like:
| 
|	find / -print | grep -v /mnt | cpio -pdlm /mnt

Well, "something like" ought to be something more like

	find / -print | egrep -v '^/mnt$|^/mnt/' | cpio -pdlm /mnt

to make sure that things like

	/mntx/spam
and
	/foo/mnt/bar

get copied to the new filesystem.

Mark Bartelt                                                    416/978-5619
Canadian Institute for                                 mark at cita.toronto.edu
Theoretical Astrophysics                               mark at cita.utoronto.ca



More information about the Comp.unix.aux mailing list