More than 8 partitions

Jon Theil Nielsen jontheil at gmail.com
Wed May 12 12:00:26 UTC 2010


2010/5/12 A. Wright <andrew at qemg.org>

>
>
>  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.
>
> 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


More information about the freebsd-questions mailing list