Subject: Re: kern/36660: envsys sensor names are not unique
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: netbsd-bugs
Date: 07/21/2007 15:55:02
The following reply was made to PR kern/36660; it has been noted by GNATS.

From: yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi)
To: juan@xtrarom.org
Cc: gnats-bugs@NetBSD.org
Subject: Re: kern/36660: envsys sensor names are not unique
Date: Sun, 22 Jul 2007 00:54:37 +0900 (JST)

 > On Sun, 22 Jul 2007 00:43:06 +0900 (JST)
 > yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi) wrote:
 > 
 > > sorry?  we are talking if kernel checks it or not.
 > > how the version of userland matters?
 > 
 > The kernel is not used for -s... you can see all that in the envstat(8)
 > source. 
 > 
 > I was talking about the -m flag (that uses ENVSYS_SETDICTIONARY)
 > and I don't see why you should ask the kernel for the -s flag.
 > 
 > The -s flag what it does is:
 > 
 > 	- Receive global dictionary, check if specified sensor or
 >            sensors are found in the array with key "device name".
 > 	- Return error if any of these sensors were not found.
 
 ok, it makes sense.  thanks for explanation.
 
 YAMAMOTO Takashi