Duane Clark wrote:
> Greg Wright wrote:
> > cp /dev/hdx /dev/hdx where x is a different drive should copy
> > everything, cannot comment on flaws though...
> You will notice that the copy command he was using specified raw devices
> rather than a filesystem. In that case, cp does in fact preserve
> everything. In fact, there is no need to partition the new disk, because
> cp will create and copy over all the partitions, including extended
> partitions. This includes Linux, boot, and swap partitions, and even
> Windoze partitions. I do this on a semi-regular basis. But again, it
> really only works well on identical disks.
This sounds good. What about a target disk that has already partitions in it?
Will cp write over them?
Just thinking about keeping a backup disk in the machine and writing
everything there once in a while... Does one have to fdisk it to empty before
copying?
Peter
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list