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

Re: Transferring install to another HD



Thomas Adam wrote:

On Thu, Aug 26, 2004 at 03:33:53PM +0100, Stephen Tait wrote:

Gak! I've just thought. What do I do with all of the weird stuff in /proc and /dev? Will cp handle these things seamlessly, or will I have to create

/proc and /dev are virtual. What you should therefore do is omit these from
your cp. When you chroot into your new install you can do:

cd /dev && MAKEDEV generic

to create your /dev nodes.


Not on _my_ computers you won't. That's a completely unreliable way of restoring the directory.


Why doesn't someone read the man page for cp? It tells you how not copy /proc.

man cp

Personally, I prefer

tar ... | tar

which seems to work far better for me than cp.

man tar




--

Cheers
John

-- spambait
1aaaaaaa@computerdatasafe.com.au  Z1aaaaaaa@computerdatasafe.com.au
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/



Reply to: