From owner-freebsd-geom@FreeBSD.ORG Tue Jun 21 15:54:27 2011 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D95BD106564A for ; Tue, 21 Jun 2011 15:54:27 +0000 (UTC) (envelope-from eirnym@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id A18128FC0A for ; Tue, 21 Jun 2011 15:54:27 +0000 (UTC) Received: by iyb11 with SMTP id 11so2630033iyb.13 for ; Tue, 21 Jun 2011 08:54:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=m4cTndWnnv0ei/spe++Hy4m5kg4jxijhblnnmNyjPz0=; b=ioAHR/kSxJtxjlfEuI/4/MfoepBdpEU+iCD+yd9gOyxmr5Qm5H30HbgKZF1dd7It6i QSZ5qLIPQvrzNTO+Dc0Cp6pbSe65qRI8ehi9zwDhHLdBfOXBSdQvGtGV+O43xvPWmlzk DMWnrOE6BHFgjH7Bhq0A0yeaPWoTnz43mdfKI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=dAy+9eQYGSBKlk8MVJgmdQsHPqXR2F2Bh4NyN/V1ihm7g1qYZBgEQWogG3XWXXy+yi aCMXZiV2vCyCtHWQdwo5aVKZXcMYIyueqN+GWDb9F3XQuFRvS9w6od02sq5CxCr7gVDR MfwFIvL0G4Sk7qTKvqj+2oALhpzu9F5o/jy08= Received: by 10.231.115.160 with SMTP id i32mr6267621ibq.143.1308669906084; Tue, 21 Jun 2011 08:25:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.38.5 with HTTP; Tue, 21 Jun 2011 08:24:46 -0700 (PDT) In-Reply-To: <4DFA376B.1050502@FreeBSD.org> References: <201106151620.p5FGK30l019900@freefall.freebsd.org> <4DFA376B.1050502@FreeBSD.org> From: Eir Nym Date: Tue, 21 Jun 2011 19:24:46 +0400 Message-ID: To: "Andrey V. Elsukov" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-geom@freebsd.org Subject: Re: kern/157819: [geom] gpart(8): drop serial from MBR X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jun 2011 15:54:27 -0000 2011/6/16 Andrey V. Elsukov : > On 15.06.2011 20:20, Eir Nym wrote: >> =C2=A0> The fundamental question we need to answer is this: >> =C2=A0> Is the serial number a well-defined field in the MBR that is >> =C2=A0> independent and unrelated to the bootcode, or not? >> >> =C2=A0Yes, this field is defined in several documentation sources. >> =C2=A0It has 6 bytes and used Windows OS as disk identifier in registry = to >> =C2=A0specify 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 >