A replacement for GEOM_LABEL's gpt/gptid

Pan Tsu inyaoo at gmail.com
Fri Apr 29 05:01:46 UTC 2011


"Andrey V. Elsukov" <ae at FreeBSD.org> writes:

> I updated the patch, it is in the same location.
> I turned off glabel's gpt/gpid support and added loader tunables:
>
> kern.geom.part_label.apm.enable
> kern.geom.part_label.gpt.enable
> kern.geom.part_label.gptid.enable
> kern.geom.part_label.pc98.enable
>
> Also for compatibility glabel's tunables still here:
>
> kern.geom.label.gpt.enable
> kern.geom.label.gptid.enable
>
> So, if you have them in your loader.conf and want to have gpt/gptid labels,
> you should remove them from loader.conf.
> Also now they are only loader tunables and they can not be changed in runtime.

Do you intend to keep the tunables as easter eggs? If not can you add
read-only sysctls and/or document them in gpart(8)?

>
> If there will no objections i am planning to commit patch in this weekend.


More information about the freebsd-geom mailing list