[parted-devel] [PATCH] [RFC] Do not automatically update GPT label in interactive mode

Jim Meyering jim at meyering.net
Thu Feb 19 11:47:35 UTC 2009


Petr Uzel wrote:
> On Wed, Feb 18, 2009 at 08:55:35PM +0100, Jim Meyering wrote:
>> Petr Uzel <petr.uzel at suse.cz> wrote:
>> ...
>> >> +test_expect_success \
>> >> +    'save a copy of the original primary GPT table' \
>> >> +    'dd if=$dev of=before count=1 skip=1'
>> >
>> > isn't bs=512 missing here ^^^ ?
>>
>> It's fine to omit it, since bs=512 is the default.
>
> I can confirm that it defaults to 512 on my system. However, I can't
> find any reference about default bs value in the dd documentation
> (more precisely, it is referenced in BSD and HPUX manpages, but not in
> linux).

Thank you for mentioning that.

Here's a proposed patch.
Feedback welcome.
Any language lawyers around? ;-)



More information about the parted-devel mailing list