Here's another reason to avoid dd'ing whole partitions: since
it copies the actual file system, it forces the destination
file system to be exactly the same size as the source.

In other words, if you dd a 2 gig file system into a 4 gig
partition then you end up with a 2 gig file system (and thus
2 gig of disk space "disappears!")

I now think Roger Oberholtzer is right: 

 cd source; find . -depth -print0 | cpio --null -pvd destination 

appears to be the best choice for copying directory trees and
file systems.

steve
- - -

_______________________________________________
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users

Reply via email to