[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ** EMERGANCY **



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.

-- 
Mike Markley <mike@markley.org>
PGP: 0xA9592D4D 62 A7 11 E2 23 AD 4F 57  27 05 1A 76 56 92 D5 F6
GPG: 0x3B047084 7FC7 0DC0 EF31 DF83 7313  FE2B 77A8 F36A 3B04 7084

Without freedom of choice there is no creativity.
- Kirk, "The return of the Archons", stardate 3157.4



Reply to: