kern/157819: [geom] gpart(8): drop serial from MBR

Eir Nym eirnym at gmail.com
Tue Jun 21 15:54:27 UTC 2011


2011/6/16 Andrey V. Elsukov <ae at freebsd.org>:
> On 15.06.2011 20:20, Eir Nym wrote:
>>  > The fundamental question we need to answer is this:
>>  > Is the serial number a well-defined field in the MBR that is
>>  > independent and unrelated to the bootcode, or not?
>>
>>  Yes, this field is defined in several documentation sources.
>>  It has 6 bytes and used Windows OS as disk identifier in registry to
>>  specify mount point.
>
> As i found this field is 4 bytes only. Next 2 bytes are used by our
> boot0 boot manager to keep ticks count. Can you test attached patch,
> does it fix your problem?
>

Yes, these patches are work for me.

-- Eir Nym

> --
> WBR, Andrey V. Elsukov
>


More information about the freebsd-geom mailing list