NetBSD/usr.sbin
xtraeme 1b3709ecde Add a new sensor type to sysmon_envsys(9): ENVSYS_GSTRING.
ENVSYS_GSTRING (aka Generic String) uses the genstr member in
the envsys_data_t struct to add a generic string that envstat(8)
will show as value or state.

It's like the ENVSYS_DRIVER, but doesn't use value_cur. Below
is the dictionary created on these sensors:

<dict>
	<key>description</key>
	<string>acpibat0 charge state</string>
	<key>generic-state-string</key>
	<string>NORMAL</string>
	<key>monitoring-supported</key>
	<false/>
	<key>state</key>
	<string>valid</string>
	<key>type</key>
	<string>Generic string</string>
</dict>

Note that it's limited to 32 chars, but we can grow it if needed.

envstat(8) will print ENVSYS_GSTRING sensors as:

$ envstat -dacpibat0 -s"acpibat0 charge state"
  acpibat0 charge state:     NORMAL
$
2007-09-02 19:36:59 +00:00
..
ac
accton
acpitools New sentence, new line. 2007-01-14 12:30:24 +00:00
altq fix mdoc warning: remove extraneous .El 2007-04-13 18:17:38 +00:00
amd Add the new 'data_len' parameter to mount calls. 2007-07-14 16:00:07 +00:00
apm Added zaurus. 2007-07-29 14:34:45 +00:00
apmd Added zaurus. 2007-07-29 14:34:45 +00:00
arp
bad144
bind Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
bootp Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
btconfig Fix typo. 2007-08-09 18:50:58 +00:00
btdevctl Attempt at fixing build failures after proplib was converted to bool: 2007-08-17 17:59:15 +00:00
bthcid Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
btuartd Call openlog() earlier than syslog(). 2007-06-12 10:05:24 +00:00
catman
chown
chroot
chrtbl
cnwctl
cpuctl Add cpuctl(8). For now this is not much more than a toy for debugging and 2007-08-04 11:02:56 +00:00
cron from Anon Ymous: 2006-12-18 20:11:10 +00:00
dev_mkdb
dhcp Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
diskpart
dumpfs
dumplfs Don't bail out if the ifile can't be found based on the superblocks. 2007-05-04 14:13:56 +00:00
edquota
eeprom New sentence, new line. 2007-03-02 20:48:50 +00:00
envstat Add a new sensor type to sysmon_envsys(9): ENVSYS_GSTRING. 2007-09-02 19:36:59 +00:00
eshconfig
etcupdate /etc/services needs special attention. 2007-05-15 12:59:27 +00:00
extattrctl
faithd Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
fssconfig
fusermount Add emulation of "fusermount -V". This prints out the fusermount version 2007-06-11 21:16:23 +00:00
fwctl We are not FreeBSD: .Fx -> .Nx 2007-03-05 04:56:48 +00:00
gpioctl
grfconfig
grfinfo
gspa Convert a "(void)&" to a volatile declaration. Also fix the 2006-12-18 20:12:21 +00:00
hilinfo
hprop Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
ifmcstat
ifwatchd
inetd Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
installboot Note here that -e can be used on the pxeboot_ia32.bin file. 2007-07-05 19:49:53 +00:00
iopctl Remove unneeded #include <getopt.h> 2007-03-26 23:08:29 +00:00
iostat add parens. 2007-06-24 23:25:13 +00:00
ipf Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
ipwctl
irdaattach
iscsi Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
isdn Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
iteconfig
iwictl
kadmin Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
kdc Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
kgmon WARNS=4 makes gcc whine about missing initializers; add them. 2007-05-04 22:07:16 +00:00
kstash
ktutil Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
kvm_mkdb
lastlogin
link
lmcconfig
lockstat Sort options. Sync -E argument name with man page. 2007-07-15 21:24:46 +00:00
lpr Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
lptctl
mailwrapper
makefs Use IEC 60027-2 prefixes for 2^n based prefixes. 2007-04-13 04:12:55 +00:00
map-mbone Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
mdconfig
mdsetimage
memswitch
mld6query Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
mlxctl Remove unneeded #include <getopt.h> 2007-03-26 23:08:29 +00:00
mopd Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
mountd Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
moused * Don't include headers twice 2007-01-16 17:32:04 +00:00
mrinfo Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
mrouted Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
mscdlabel Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
mtrace Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
mtree The hashing routines (MD5File() and co.) can do dynamic allocation, so 2007-02-04 08:03:18 +00:00
ndbootd Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
ndiscvt
ndp Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
netgroup_mkdb Update pathnames to the services and netgroups databases after their move 2007-05-20 14:02:10 +00:00
nfsd after switching to threads: 2007-07-11 04:59:19 +00:00
ntp track 4.2.4p2 import 2007-06-24 16:56:48 +00:00
ofctl Add the __COPYRIGHT and __RCSID tags. 2007-08-05 13:52:44 +00:00
paxctl Never use "utilize". It means exactly the same thing as "use", but it 2007-08-20 16:07:05 +00:00
pcictl Make the output of 'list -n' aligned by always printing 8 hex digits. 2007-02-08 23:27:07 +00:00
pf Use "ipv6-icmp" instead of "icmp6" to allow loading these rules again. 2007-09-02 15:28:43 +00:00
pkg_install Catch up with pkg_install-20070814. 2007-08-14 23:01:05 +00:00
postinstall add mention of rc.d/btuartd 2007-07-29 13:17:38 +00:00
powerd Explain that sensor_indicator will be used for indicators and integers. 2007-07-16 17:49:56 +00:00
pppd Gross workaround for PR 36390: don't overwrite the stack with zeroes when 2007-05-27 18:11:38 +00:00
pstat Kill MFSNAMELEN 2007-07-17 21:50:07 +00:00
puffs Adapt to new puffs_framev_init() signature - gotfb. 2007-09-01 16:43:10 +00:00
pvcsif * Don't include headers twice 2007-01-16 17:32:04 +00:00
pvctxctl * Don't include headers twice 2007-01-16 17:32:04 +00:00
pwd_mkdb
quot Eliminate MFSNAMELEN 2007-07-17 22:00:46 +00:00
quotacheck From Edgar: fix ino computation; allocate space for the superblock after 2007-02-15 19:00:11 +00:00
quotaon
racoon Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
racoonctl
rarpd Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
rbootd Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
rdate Remove unused ctype.h 2007-03-10 01:16:17 +00:00
repquota
rip6query Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
rmt
route6d Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
rpc.bootparamd Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
rpc.lockd Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
rpc.pcnfsd
rpc.statd
rpc.yppasswdd
rpcbind Depracate ND_DEBUG and BIND_DEBUG in favour of RPCBIND_DEBUG. 2007-08-27 19:53:32 +00:00
rtadvd Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
rtsold Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
rwhod Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
sa
screenblank
sdpd Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
sendmail
services_mkdb Fix white space compression from Jukka Salmi 2007-06-24 19:51:43 +00:00
sesd * Don't include headers twice 2007-01-16 17:32:04 +00:00
sliplogin
sntp track 4.2.4p2 import 2007-06-24 16:56:48 +00:00
spray
srtconfig From Zafer Aydogan: Fix a typo: s/distination/destination/ 2007-08-05 09:31:24 +00:00
sti
sunlabel
sup more cygwin fixes. 2007-07-20 18:58:14 +00:00
syslogd Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
tadpolectl
tcpdchk
tcpdmatch
tcpdrop Set the mib appropriately depending on the socket address family. 2007-06-28 18:47:17 +00:00
tcpdump adjust for tcpdump-3.9.7 2007-07-24 12:01:00 +00:00
timed Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
tpctl Added zaurus. 2007-07-29 14:37:25 +00:00
traceroute Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
traceroute6 Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
trpt PR/36867 - Zafer Aydogan -- trsp is no longertrpt.8 2007-08-30 18:53:54 +00:00
unlink
usbdevs
user Added a reference to passwd(1), which is useful to later change a 2006-12-06 21:49:17 +00:00
veriexecgen Some Veriexec stuff that's been rotting in my tree for months. 2007-05-15 19:47:43 +00:00
videomode
vipw
vnconfig
wiconfig wiconfig should exit with status 1 if used on an interface which does 2007-06-08 21:47:20 +00:00
wlanctl add a flag, -p, that only prints public (i.e. non-encrypted) nodes. 2007-08-29 02:27:55 +00:00
wpa We also need -ltermcap when we use -ledit. 2007-06-13 07:33:00 +00:00
wsconscfg
wsfontload
wsmoused Guess the terminal size on each change instead of during program startup. 2007-05-27 15:05:00 +00:00
wsmuxctl
ypbind - Compile in with debugging by default. 2007-07-07 22:33:57 +00:00
yppoll Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
ypserv PR/36820: Geoff C. Wing: ypserv maplist functionality broken due to off-by-one 2007-08-22 16:49:17 +00:00
ypset Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the 2007-05-28 12:06:17 +00:00
zdump
zic
Makefile Add cpuctl(8). For now this is not much more than a toy for debugging and 2007-08-04 11:02:56 +00:00
Makefile.inc