More than 8 partitions

A. Wright andrew at qemg.org
Wed May 12 11:12:09 UTC 2010



> On 2010/5/2, Christopher Key <cjk32 at 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.



More information about the freebsd-questions mailing list