Re: cp -a
-----BEGIN PGP SIGNED MESSAGE-----
On Fri, 23 Jan 1998, Ulisses Alonso Camaro wrote:
> I would like to know why cp -aR is not useful to replicate a disk
Since cp -a [*] is useful to replicate a disk, I think you are really
asking "I would like to know why some people seem to prefer tar or cpio
to replicate a disk".
Well, I don't know the answer, but in either case, you have often to be
careful to avoid infinite recursive copying:
cd /
mount /dev/somedisk /mnt
cp -a * /mnt
See the mess? ( /mnt/mnt/mnt/... )
[*] -a does already include -R, see cp --help.
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: latin1
iQCVAgUBNMpAZSqK7IlOjMLFAQF24QQAkAsItNB+VDPCUEiuushF/QoZYbHQjAXD
NNRCJpICk9NENYCxGqC2glHs0ETdzTyfe+TWmVkQ3AiNTAsras+Cva9tbi/6U75Z
CZF9TV2zWb9Rm/5Zfw3Yv+axh2/uGv/IrVtVoL0R2PsSG2t0YTsz0v71x/quT3q+
tlDT7l6qu9A=
=dkH7
-----END PGP SIGNATURE-----
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to:
- Follow-Ups:
- Re: cp -a
- From: Remco Blaakmeer <remco@blaakmeer.student.utwente.nl>