dd works only on a byte-by-byte basis. It'll copy a filesystem fine as long as the destination partition is big enough. It will not provide more space, though. That is, if you start with a 3GB filesystem and dd it to a 5GB partition, you still have a 3GB filesystem after the copy. Linux filesystems may or may not have the ability to expand. I don't know. (Edit: resize2fs, part of e2fsprogs, should work on both ext2 and ext3 filesystems.)
tar is still probably a better solution, though. Personally I use dump and restore, as many tars have bugs, but GNU tar is probably fine. Make sure to use the p option to preserve owners and permissions. It should be the default if you do it as root, but just to make sure.
Edited by wfaulk (07/06/2004 11:58)
_________________________
Bitt Faulk