geom_label verbosity patch

Pawel Jakub Dawidek pjd at FreeBSD.org
Thu Apr 23 12:35:05 UTC 2009


On Thu, Apr 23, 2009 at 02:15:14PM +0200, Ivan Voras wrote:
> Pawel Jakub Dawidek wrote:
> > On Thu, Apr 23, 2009 at 01:52:01PM +0200, Ivan Voras wrote:
> >> Hi,
> >>
> >> I want to ask for a community review of these patches:
> >>
> >> http://people.freebsd.org/~ivoras/diffs/geom_label_errlevel.txt
> >> http://people.freebsd.org/~ivoras/diffs/glabel.8_errlevel.txt
> >>
> >> The intent is to make glabel less chatty on detection of new providers,
> >> etc. [...]
> > 
> > This is on purpose, so don't change that. One can always set it to -1.
> 
> Possible, but it would make it unique among other GEOM classes.

Almost every GEOM class informs about creating providers, so what you
suggest is inconsistent.

> > Instead, we should implement possibility to turn on/off selected labels.
> > For example things like ufsid should be turned off by default.
> 
> Anyone else agrees with this?
> 
> > This way we not only make it less chatty again, but also not to pollute
> > /dev/.
> 
> One way to lessen it is to stop creating individual directories for each
> label class, as discussed before.

How is it going to reduce number of providers in /dev/?

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!


More information about the freebsd-geom mailing list