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

Re: ReiserFS + 2.4.4

On Wed, May 02, 2001 at 09:06:04AM +1000, Brian May wrote:
> >>>>> "Ethan" == Ethan Benson <erbenson@alaska.net> writes:
>     Ethan> cp -R is a horribly wrong thing to use for this task, it
>     Ethan> will destroy symlinks and hardlinks.  turning them into
>     Ethan> duplicate files.  use cpio or tar.
> or
> cp -a
> will preserve everything, too, I think. I often use the -x parameter,
> too (stay on one file system).

There are porblems with symlinks in the target location using cp... the best
way is to do something like:
# tar cf - /usr | ( cd /new_partition ; tar xf - )


Brandon High                                     armitage@freaks.com
I'm not a complete idiot; some parts are missing!

Reply to: