NetBSD-Users archive

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

Re: How to change a disk?



On Sun, Aug 30, 2009 at 11:48:08AM +0800, Water NB wrote:
> [...]
> 4) copy all files
> cp -rp /usr /newdisk
> cp -rp /etc /newdisk
> ...

Better use pax or find | cpio. cp -r will not handle correctly special
files (symlinks or devices) and hard links.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index