freebsd-dev/sbin
Alexander Leidinger 99f6b270e3 Import OpenBSD's sysctl hardware sensors framework.
This commit includes the following core components:

 * sample configuration file for sensorsd
 * rc(8) script and glue code for sensorsd(8)
 * sysctl(3) doc fixes for CTL_HW tree
 * sysctl(3) documentation for hardware sensors
 * sysctl(8) documentation for hardware sensors
 * support for the sensor structure for sysctl(8)
 * rc.conf(5) documentation for starting sensorsd(8)
 * sensor_attach(9) et al documentation
 * /sys/kern/kern_sensors.c
   o sensor_attach(9) API for drivers to register ksensors
   o sensor_task_register(9) API for the update task
   o sysctl(3) glue code
   o hw.sensors shadow tree for sysctl(8) internal magic
 * <sys/sensors.h>
 * HW_SENSORS definition for <sys/sysctl.h>
 * sensors display for systat(1), including documentation
 * sensorsd(8) and all applicable documentation

The userland part of the framework is entirely source-code
compatible with OpenBSD 4.1, 4.2 and  -current as of today.

All sensor readings can be viewed with `sysctl hw.sensors`,
monitored in semi-realtime with `systat -sensors` and also
logged with `sensorsd`.

Submitted by:	Constantine A. Murenin <cnst@FreeBSD.org>
Sponsored by:	Google Summer of Code 2007 (GSoC2007/cnst-sensors)
Mentored by:	syrinx
Tested by:	many
OKed by:	kensmith
Obtained from:	OpenBSD (parts)
2007-10-14 10:45:31 +00:00
..
adjkerntz If not compiled for debugging, redirect standard input/output/error 2006-10-23 10:48:19 +00:00
atacontrol Expand the data structure returned by the ATA RAID status ioctl to include 2007-08-13 18:46:31 +00:00
atm Disconnect netatm from the build as it is not MPSAFE and relies on 2007-07-14 21:49:24 +00:00
badsect
bsdlabel - Fix markup. 2006-12-29 16:28:38 +00:00
camcontrol Add SCSI READ CAPACITY support to camcontrol. The new 'readcap' subcommand 2007-09-08 20:24:12 +00:00
ccdconfig
clri
comcontrol
conscontrol
devd Fix the description of "media-type". 2006-10-24 20:20:41 +00:00
devfs - I forgot to bump a date. 2006-11-05 20:12:32 +00:00
dhclient - Remove references to unexisting man pages 2007-09-20 10:46:25 +00:00
dmesg
dump (bread): For a read that is contained entirely within a block, never copy 2007-04-05 20:31:23 +00:00
dumpfs Replace incomprehensive description of -m by much clearer text from OpenBSD, 2007-05-12 22:35:22 +00:00
dumpon Whitespace and style nits. 2006-10-31 22:36:49 +00:00
fdisk Add Apple HFS+ (0xAF) MBR partition type identificator. 2007-05-06 18:48:30 +00:00
fdisk_pc98 Another merging from sbin/fdisk/fdisk.8. 2007-05-10 12:33:00 +00:00
ffsinfo Default output to stdout as the man page suggests. 2007-02-14 23:22:33 +00:00
fsck
fsck_ffs Convert fsck_ffs to nmount(). This seems to solve 2007-09-19 01:24:19 +00:00
fsck_msdosfs
fsdb Update after function renames. 2006-10-31 22:07:29 +00:00
fsirand
gbde Remove temporary files when there are no longer needed. 2007-04-06 11:16:11 +00:00
geom Bring in the GEOM Virtualisation class, which allows to create huge GEOM 2007-09-23 07:34:23 +00:00
ggate Tweak the handling of "WITHOUT_LIBPTHREAD". Also remove the accidental 2007-10-09 23:31:11 +00:00
gpt Use strtoll(3) instead of strtol(3) for the starting block or 2006-10-04 18:20:25 +00:00
growfs Teach about new fields (cg_unrefs and fs_unrefs) and new FS_GJOURNAL flag. 2006-10-31 22:02:24 +00:00
gvinum
idmapd .PATH isn't necessary here. 2006-10-15 13:51:49 +00:00
ifconfig Fix the module name matching to the drivers present in the kernel. Previously 2007-10-04 09:45:41 +00:00
init I understood the MLINK part incorrectly, it should be the other way around 2007-06-01 21:48:07 +00:00
ipf Exclude inet_addr.c from the build. 2007-06-11 19:38:38 +00:00
ipfw o Fix a typo in ipfw table usage example. 2007-10-14 09:12:46 +00:00
iscontrol First round of cleanups. 2007-07-24 18:08:16 +00:00
kldconfig
kldload Mark up lkm with .Nm, since lkm is name of an api. 2007-02-13 17:06:15 +00:00
kldstat Mark up lkm with .Nm, since lkm is name of an api. 2007-02-13 17:06:15 +00:00
kldunload Mark up lkm with .Nm, since lkm is name of an api. 2007-02-13 17:06:15 +00:00
ldconfig Remove unused reference to objformat.h 2007-01-25 22:38:58 +00:00
mca
md5
mdconfig Add an example which shows how mdconfig(8) can be used 2007-05-18 13:57:17 +00:00
mdmfs -n is used by newfs to tell "do not generate a .snap directory" instead of 2007-05-14 19:23:13 +00:00
mknod In the previous changeset a cast of myminor to u_int were 2007-06-14 03:16:16 +00:00
mksnap_ffs
mount - Remove UMAP filesystem. It was disconnected from build three years ago, 2007-06-25 05:06:57 +00:00
mount_autofs
mount_cd9660
mount_ext2fs Convert mount_ext2fs to a simple program which passes "-o option" to nmount(). 2007-01-28 00:51:01 +00:00
mount_hpfs
mount_msdosfs Pass "errmsg" to nmount(), so that if nmount() fails, we can get 2007-01-29 01:49:08 +00:00
mount_nfs Add "fg" option as antonym to "bg"; add "hard" option as antonym to "soft". 2007-03-05 14:47:54 +00:00
mount_ntfs
mount_nullfs
mount_reiserfs
mount_std
mount_udf
mount_unionfs Raise WARNS level to 6. 2007-02-13 05:39:38 +00:00
natd
newfs Document -J in usage. 2007-03-02 20:07:59 +00:00
newfs_msdos The newfs_msdos utility does not store the boot signature in the 2007-05-31 20:06:46 +00:00
nfsiod
nos-tun
pfctl Link pf 4.1 to the build: 2007-07-03 12:46:08 +00:00
pflogd
ping Commit IPv6 support for FAST_IPSEC to the tree. 2007-07-01 12:08:08 +00:00
ping6 Remove the -DFAST_IPSEC from Makefiles again. 2007-07-05 08:56:46 +00:00
quotacheck Fix "quotacheck -a" from core dumping on 64 bit systems by correctly 2007-09-16 02:59:32 +00:00
rcorder
reboot - Sweep the boot(8) man page after addition of boot.config(5). 2007-08-18 07:58:36 +00:00
recoverdisk Improve reporting in recoverdisk a good deal. 2007-04-23 12:17:27 +00:00
restore Move macros describing extended attributes in UFS from 2007-03-06 08:13:21 +00:00
route
routed Sync up with rhyolite routed 2.31 which fixes the handling of varargs. 2006-11-05 14:49:47 +00:00
rtsol
savecore Check fdopen return value. 2007-05-28 09:48:25 +00:00
sconfig
setkey Commit IPv6 support for FAST_IPSEC to the tree. 2007-07-01 12:08:08 +00:00
shutdown
slattach
spppcontrol
startslip
sunlabel
swapon
sysctl Import OpenBSD's sysctl hardware sensors framework. 2007-10-14 10:45:31 +00:00
tunefs o s/filesystem/file system/g. 2007-09-23 16:06:37 +00:00
umount
Makefile Introduce Danny Braniss' iSCSI initiator, version 2.0.99. Please read the 2007-07-24 15:35:02 +00:00
Makefile.inc