On Mon, 05 Jan 2004 at 18:41 GMT, Travis Crump penned:
> Monique Y. Herman wrote:
>> On Mon, 05 Jan 2004 at 12:51 GMT, Paul Morgan penned:
>>>
>>>cp -ax
>> 
>> Okay, having read the man pages, I'm not sure how this does more than
>> the -d option that -a includes.  -a already stops you from following
>> symlinks ... maybe I'm just being dense, but what additional
>> situations does the -x cover?
>> 
> 
> Say you have /usr, /tmp, /var, and /home  mounted on seperate
> partitions and you want to move just the root partition to a new
> partition.  you can do 'cp -ax / /mnt/newroot'.  If you were to do
> just 'cp -a / /mnt/newroot', the contents of /usr, /tmp, /var, and
> /home would be copied to the new partition as well.
> 

Doh!  Sure enough, I was being dense.
Thanks for the clarification!

-- 
monique


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to