2010/5/12 A. Wright <and...@qemg.org> > > > On 2010/5/2, Christopher Key <cj...@cam.ac.uk> wrote: >> >> frhed. Next write the data back to the disk: >>> >>> dd if=/tmp/hdr of=/dev/da0s2 >>> >> > > On 2010/5/12, Jon Theil Nielsen wrote: > > obviously this is not the case. So I'll dd the existing partitions to >> another drive, use gpart to create "enough" partitions and then dd the old >> content back. I could easily use a standard disk layout, but the other >> approach will add some to my FreeBSD knowledge.. >> > > > Just pointing out a rabbit hole here . . . > > You should be aware, too that if you want to _change_ the size > (or any of several other params) of the filesystem, you don't > really want dd, you want to dump(8) the filesystem and then use > restore(8) -- as the man page says, this is the only reliable > way to change various filesystem params. > > Using dd will be fine only if the sizes and all other params are > to be identical (which is the case in Chris' comment, but not in > the general case). > > Andrew. > > Thanks again
That was a very good point. I think I'll wait until tomorrow. But I'll get back here if I run into troubles. :-I Regards, Jon _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"