On Sun, Aug 20, 2000 at 01:15:36AM -0700, Mike Markley wrote: > On Thu, Aug 17, 2000 at 04:56:07PM -0400, Patrick Ouellette <pat@buckeye-express.com> spake forth: > > > On Thu, 17 Aug 2000, Bill wrote: > > > > > > > Can someone please tell me the easiest and safest way to mirror > > > > a Hard Drive, keeping all permissions, owner, groups etc. intact > > > > > > Same size: dd(1) > > > > > > Different sizes: > > > > > > mount both drives > > > cd <dest> && (cd <src> && tar -cf -) | tar -xf - > > > > > > > Wouldn't cp -o <src mount point> <dest mount point> work better than tar?? > > (no need for all that temp file space) > > What temp file space? > > Also, tar is much better about preserving a lot of attributes than cp is... > -a or no -a. Providing you give it the -p option when extracting ... ie: cd <dest> && (cd <src> && tar -cf -) | tar -xpf - Timshel -- Timshel Knoll <timshel@pobox.com> for Debian email: <timshel@debian.org> Second year Computer Science, RMIT | CS108 Tutor (Semester 2, 2000) Debian GNU/Linux developer, see http://www.debian.org/~timshel/ For GnuPG public key: finger timshel@ozemail.com.au or timshel@debian.org
Attachment:
pgpI98ZV_clds.pgp
Description: PGP signature