Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 May 2011 21:59:23 +0400
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        Warner Losh <imp@bsdimp.com>
Cc:        freebsd-geom@freebsd.org, Warner Losh <imp@freebsd.org>, Poul-Henning Kamp <phk@freebsd.org>, Marcel Moolenaar <marcel@freebsd.org>, Marcel Moolenaar <marcel@xcllnt.net>
Subject:   Re: [RFC] Remove requirement of alignment to track from MBR scheme
Message-ID:  <4DDAA07B.9030004@yandex.ru>
In-Reply-To: <9ED563AB-7B35-40F4-A33E-015317858401@bsdimp.com>
References:  <4DDA2F0B.2040203@yandex.ru> <D75B2856-D9D8-4BA3-BC54-8258610CEA06@xcllnt.net> <9ED563AB-7B35-40F4-A33E-015317858401@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigDBA06A23D48A1203A1B5BF19
Content-Type: text/plain; charset=KOI8-R
Content-Transfer-Encoding: quoted-printable

On 23.05.2011 21:38, Warner Losh wrote:
> I'm all for carefully moving forward.  There were parts of the patch
> that seemed to be over-reaching.
>=20
> Personally, I'd just do something like the following since it
> reflects what others do and implements the de-facto meaning of the
> MBR:
>=20
> Index: sys/geom/part/g_part_mbr.c=20
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=20
> --- sys/geom/part/g_part_mbr.c	(revision 222183) +++
> sys/geom/part/g_part_mbr.c	(working copy) @@ -473,7 +473,7 @@
>=20
> basetable->gpt_entries =3D NDOSPART; basetable->gpt_first =3D
> basetable->gpt_sectors; -	basetable->gpt_last =3D msize - (msize %
> basetable->gpt_sectors) - 1; +	basetable->gpt_last =3D msize - 1;

There was report with different problem, the user created a partition
that is aligned to 4KB sector size and it starts from the inside of
first track, i.e. start offset < 63.
And as he said, he did use sysinstall(8) for partitioning.

--=20
WBR, Andrey V. Elsukov


--------------enigDBA06A23D48A1203A1B5BF19
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (FreeBSD)

iQEcBAEBAgAGBQJN2qB/AAoJEAHF6gQQyKF6HogH/3PaIT3CV6RofFope6Zjll+P
XeAmLIkYvIVklPrXu34PCr+efhQ1gF0RjEttp1IvuF1KZPiGg06aU46On9vkUX7q
Mn9DpO1eZSV0SwGdD332hRsN97OeU4zhh+QVwzPJLJ8ohA79BBFPmhAsqLig0hkm
1eQZNexsb4n5+BbWB681aZ/RCT9X8StoUeuOxsdFtnOvlEeZOGSRXESHc4Sgbl1x
X8GfmDxSswQJHpumzwZZFaoJ2w4802pQzdxBBwjoR7M1I4JB/iAyAl2uRaS0hEDs
1CtluiLtItHps1z+PMqtua/he61k4eoqgtgVygoGKkRd3pPPoqiwD1+I1vPMfdo=
=D8nU
-----END PGP SIGNATURE-----

--------------enigDBA06A23D48A1203A1B5BF19--



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