VanLUG Email Archive

VanLUG Mailing List
Re: Using cp - am I doing something stupid?

New Message Reply About this list Date view Thread view Subject view Author view

Alan Hodgson (ahodgson@simkin.com)
Wed, 23 Aug 2000 16:45:41 -0700


On Wed, Aug 23, 2000 at 03:53:13PM -0700, Alex Harford wrote:
> Ok, this is going to sound very stupid, but am I doing this correctly?
>
> I want to copy my / partition to another one. I am doing this by typing
> 'cp -ax / /backup'. /home is mounted on a separate partition, so it
> shouldn't get copied. But when I try this, it copies the /home
> directory, it even started to copy /proc ?!
>
> At this point I stopped it, re-read the cp manpage, but I can't
> understand why it is doing this.
>
> Any suggestions would be appreciated.
>

dunno, that seems to work.

however, cp will not create a working copy of your filesystem. Use
dump/restore, or maybe tar.

-- 
Indecision is the key to flexibility.

--
This message came to you via the Vancouver Linux Users Group mailing list.
For unsubscription instructions do not email the list, but rather send mail
to <vanlug-request@gweep.bc.ca>.


New Message Reply About this list Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b3 on Wed 23 Aug 2000 - 23:48:41