[wplug] dd
Eric C. Cooper
ecc at cmu.edu
Thu Feb 17 13:13:45 EST 2005
On Thu, Feb 17, 2005 at 12:42:12PM -0500, Jonathan S Billings wrote:
> NEVER use 'cp -a' to copy system data to a new partition. You'll lose
> all the metadata on the files and directories, such as permissions,
> ownership, timestamps and other bits. The resulting OS will be useless.
According to the cp man page,
-a means -dpR
-p means preserve mode, ownership, timestamps
-d means preserve symlinks
I routinely copy filesystems to new disks this way and boot from them.
--
Eric C. Cooper e c c @ c m u . e d u
More information about the wplug
mailing list