Re: Duplicating a file system

Nicholas J. Leon (nicholas@binary9.net)
Sat, 9 Mar 1996 11:38:13 -0500 (EST)


Joel Young was heard saying ....

> This may not be best, but it works for me:
>
> say other partition is on mount,
>
> cp -a / /mnt
>
> you may want to do it at one level further down.
> ie cp -a /bin /mnt
>
>
> Does anyone else have a better way, I am sure that this is hardly
> optimal, however...
>

How 'bout:

(cd /;tar clf - .) | (cd /mnt;tar xfp -)

-- 
__________________________________________________________________________
Nicholas J. Leon                                      nicholas@binary9.net