Newsgroups: comp.unix.aux
Path: utzoo!utgpu!news-server.csri.toronto.edu!helios.physics.utoronto.ca!aurora.physics.utoronto.ca!sysmark
From: sysmark@aurora.physics.utoronto.ca (Mark Bartelt)
Subject: Re: Copying A/UX to another disk
Message-ID: <1991Apr22.112353.18391@helios.physics.utoronto.ca>
Sender: news@helios.physics.utoronto.ca (News Administrator)
Nntp-Posting-Host: aurora.physics.utoronto.ca
Reply-To: mark@cita.toronto.edu
Organization: University of Toronto Physics/Astronomy/CITA
References: <1991Apr17.173127.15460@jato.jpl.nasa.gov> <1991Apr17.215727.1840@eng.umd.edu> <1991Apr18.135204.11057@jato.jpl.nasa.gov>
Date: Mon, 22 Apr 1991 11:23:53 GMT

In article <1991Apr18.135204.11057@jato.jpl.nasa.gov>
dundas@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@cita.toronto.edu
Theoretical Astrophysics                               mark@cita.utoronto.ca
