tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: introduce getlabelusesmbr()



On Fri, Aug 26, 2011 at 12:18:06AM +0200, Martin Husemann wrote:
> On Thu, Aug 25, 2011 at 10:49:53PM +0200, Manuel Bouyer wrote:
> > Now the details of implementation: the kernel exports a kern.labelusesmbr
> > sysctl, getlabelusesmbr() is just a sysctlbyname(3) wrapper.
> 
> I don't think CTL_KERN is the right namespace for this, why not hw or
> machdep?

We already have kern.labelsector and kern.labeloffset (used by
getlabelsector() and getlabeloffset()), I just followed existing
practice. I see no reason to have labelusesmbr in a different place.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index