Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 May 2010 14:00:05 +0200
From:      Jon Theil Nielsen <jontheil@gmail.com>
To:        "A. Wright" <andrew@qemg.org>
Cc:        User Questions <freebsd-questions@freebsd.org>, Christopher Key <cjk32@cam.ac.uk>
Subject:   Re: More than 8 partitions
Message-ID:  <AANLkTinC13-ZMtjwxzMxxFhjtJk0CgbWmo8tfsmUyrkR@mail.gmail.com>
In-Reply-To: <alpine.BSF.2.00.1005120807230.64303@qemg.org>
References:  <y2z8f82c35c1004301044pd7168618qa23eb66438350a5d@mail.gmail.com>  <4BDC794B.2060009@cam.ac.uk> <q2s8f82c35c1005011910w1ad4792ehd90f38d3a8883519@mail.gmail.com> <4BDDBED0.7040504@cam.ac.uk> <AANLkTil9Xey43nDf130e_RRE3ZNsI1RQwrp-B9XPTqBr@mail.gmail.com>  <alpine.BSF.2.00.1005120807230.64303@qemg.org>

next in thread | previous in thread | raw e-mail | index | archive | help
2010/5/12 A. Wright <andrew@qemg.org>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinC13-ZMtjwxzMxxFhjtJk0CgbWmo8tfsmUyrkR>