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

Re: secure install



On Sat, Feb 17, 2001 at 06:21:04PM +0100, Carel Fellinger wrote:
> On Sat, Feb 17, 2001 at 02:49:03PM +0100, Thor wrote:
> ...
> > Speak for cloning a single partition then i suggest a simple
> > 'cp -ax /mount_point_of_original_parition /mount_point_of_target_partiton'
> > the 'a' stand for archive (recursive and same permission)
> > and with the 'x' the copy don't go out the indicated filesystem.
> > you can find the same suggestion in How-To/Large-Disk
> 
> The disadvantage of this command is that it doesn't preserve hardlinks.
> So you can end up using a lot more diskspace than before, as I learned
> the hardway when moving my debian mirror to a new disk:)

To avoid this problem use "find . | cpio -padm /target"

-- 
Nathan Norman - Staff Engineer | A good plan today is better
Micromuse Inc.                 | than a perfect plan tomorrow.
mailto:nnorman@micromuse.com   |   -- Patton

Attachment: pgpLTcH0H3L6v.pgp
Description: PGP signature


Reply to: