[H-GEN] cp incantation

Doug South doug.south at gmail.com
Wed Apr 20 20:45:58 EDT 2005


Hi All,

I've got a machine that has everything on one partition, which was OK
at the time, but is causing some pain now. I've got a free partition
and I want to move /usr from the root partition to the newly formatted
partition *without* kill anything that currently works.

I tried :

cp -L -preserve=all -r /usr /mnt/hda6

but some links weren't being created. I'm currently using midnight
commander to do this[1], but I want to know the right way to get it
done with cp. Any clues or suggestions?

Regards,
Doug

[1] Most likely not the right answer because I'm sure I'm losing
ownership, which is important if I really want to keep things working.

-- 
blog = http://www.trontos.com/dsouth/blog/

Any sufficiently complicated Java program requires a programmable IDE
to make up for the half of Common Lisp not implemented in the program
itself.
-- Peter Seibel




More information about the General mailing list