Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Aug 2010 12:30:55 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Ivan Voras <ivoras@freebsd.org>
Cc:        freebsd-hackers <freebsd-hackers@freebsd.org>, freebsd-geom@freebsd.org
Subject:   Re: glabel "force sectorsize" patch
Message-ID:  <20100808103055.GA2037@garage.freebsd.pl>
In-Reply-To: <AANLkTinBA04YM=uwNJ4sog2KMACUQfpJm7f-CjnRB39x@mail.gmail.com>
References:  <AANLkTinBA04YM=uwNJ4sog2KMACUQfpJm7f-CjnRB39x@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--jI8keyz6grp/JLjh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Aug 08, 2010 at 03:57:44AM +0200, Ivan Voras wrote:
> Hi,
>=20
> In order to help users having 4k sector drives which the system
> recognizes as 512 byte sector drives, I'm proposing a patch to glabel
> which enables it to use a forced sector size for its native-labeled
> providers. It is naturally only usable with glabel-native labels
> (those created by "glabel label") and not partition and file system
> labels because we cannot add arbitrary new fields to metadata of those
> types.
>=20
> The patch is here:
>=20
> http://people.freebsd.org/~ivoras/diffs/glabel_ssize.patch
[...]
> This mechanism is a band-aid until there's a better way of dealing
> with 4k drives.

So why do you want to obfuscate glabel with it? For people to start
depend on it? Once we start supporting 4kB sectors what do we do with
such a change? Remove it and decrease version number? What people will
do with providers already labeled this way?

If its temporary, just allow to list providers you want to increase
sector size in /boot/loader.conf. Once we start supporting it properly
people might simply remove it from loader.conf and it should just work.

Glabel is not for that and I don't agree for such obfuscation.

--=20
Pawel Jakub Dawidek                       http://www.wheelsystems.com
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--jI8keyz6grp/JLjh
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iEYEARECAAYFAkxeh14ACgkQForvXbEpPzSL+wCguHzlZWPslLkwvdgXMEAXlhgl
ztUAoJnJxtZhVFmO1NQuybFlFiyOkI77
=sttd
-----END PGP SIGNATURE-----

--jI8keyz6grp/JLjh--



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