Re: ideas about moving Debian to another hard drive
On Wed, 7 May 1997, David B. Teague wrote:
> On Tue, 6 May 1997, Robert D. Hilliard wrote:
> > cp -ax certainly is much simpler than using find and cpio. Is
> > there any option to cp (I can't find one) that would keep it from
> > copying /proc, like the -prune option in find?
> Isn't /proc a mounted file system, even if it is a pseudo file system?
> Doesn't that make x option (which prevents other mounted file systems
> from being copied) the solution to this problem?
> Actualy, I'm a lot more concerned with the problem of recursive copy in
> something like.
> cp -ax / /mnt :(
> Seems that booting a rescue disk to do the actual copying is a solution.
Nope, and for the same reason you just pointed out for /proc. /mnt is a
"real" mounted file system. Even so, if -x were left out, I don't think
the copy would go recursive because the directory information is not
complete for /mnt until the copy is complete (I could be wrong on this,
but I think it should work)
aka Dale Scheetz Phone: 1 (904) 656-9769
Flexible Software 11000 McCrackin Road
e-mail: email@example.com Tallahassee, FL 32308
_-_-_-_-_-_- If you don't see what you want, just ask _-_-_-_-_-_-_-
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to firstname.lastname@example.org .