Subject: Re: kern/36660: envsys sensor names are not unique
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Juan RP <juan@xtrarom.org>
List: netbsd-bugs
Date: 07/21/2007 15:50:04
The following reply was made to PR kern/36660; it has been noted by GNATS.
From: Juan RP <juan@xtrarom.org>
To: yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi)
Cc: gnats-bugs@NetBSD.org
Subject: Re: kern/36660: envsys sensor names are not unique
Date: Sat, 21 Jul 2007 17:47:41 +0200
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.
--
Juan Romero Pardines - The NetBSD Project
http://plog.xtrarom.org - NetBSD/pkgsrc news in Spanish