freebsd-dev/share/man/man9
Kenneth D. Merry 2a888f938e Add a prioritization field to the devstat_add_entry() call so that
peripheral drivers can determine where in the devstat(9) list they are
inserted.

This requires recompilation of libdevstat, systat, vmstat, rpc.rstatd, and
any ports that depend on the devstat code, since the size of the devstat
structure has changed.  The devstat version number has been incremented as
well to reflect the change.

This sorts devices in the devstat list in "more interesting" to "less
interesting" order.  So, for instance, da devices are now more important
than floppy drives, and so will appear before floppy drives in the default
output from systat, iostat, vmstat, etc.

The order of devices is, for now, kept in a central table in devicestat.h.
If individual drivers were able to make a meaningful decision on what
priority they should be at attach time, we could consider splitting the
priority information out into the various drivers.  For now, though, they
have no way of knowing that, so it's easier to put them in an easy to find
table.

Also, move the checkversion() call in vmstat(8) to a more logical place.

Thanks to Bruce and David O'Brien for suggestions, for reviewing this, and
for putting up with the long time it has taken me to commit it.  Bruce did
object somewhat to the central priority table (he would rather the
priorities be distributed in each driver), so his objection is duly noted
here.

Reviewed by:	bde, obrien
1999-02-10 00:04:13 +00:00
..
at_exit.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
at_fork.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
at_shutdown.9 Add a new at_shutdown queue, SHUTDOWN_FINAL. This queue is run at 1998-09-15 08:48:57 +00:00
bios.9 Fixed a missing #include in the synopsis. 1998-01-16 18:06:23 +00:00
boot.9 Fixed #include(s) in the synopsis to actually declare the function(s) in the 1997-04-11 17:58:16 +00:00
buf.9 Fix some spelling errors. 1999-02-01 22:55:54 +00:00
BUS_CONNECT_INTR.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
BUS_CREATE_INTR.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
bus_generic_attach.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
bus_generic_detach.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
bus_generic_map_intr.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
bus_generic_print_child.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
bus_generic_read_ivar.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
bus_generic_shutdown.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
BUS_PRINT_CHILD.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
BUS_READ_IVAR.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
cd.9 Change the worm(4) man page to note that there is no longer a worm(4) 1998-10-16 00:26:28 +00:00
copy.9 Strings are terminated by NUL, not NULL. 1998-02-28 15:35:22 +00:00
devclass_add_driver.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
devclass_find.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
devclass_get_device.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
devclass_get_devices.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
devclass_get_maxunit.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
devclass_get_name.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
devclass_get_softc.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
devclass.9 Fix some spelling errors. 1999-02-01 22:55:54 +00:00
devfs_add_devswf.9 Sort cross references. 1998-08-31 16:41:09 +00:00
devfs_link.9 Sort cross references. 1998-08-31 16:41:09 +00:00
devfs_remove_dev.9 Sort cross references. 1998-08-31 16:41:09 +00:00
device_add_child.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
DEVICE_ATTACH.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
device_delete_child.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
DEVICE_DETACH.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
device_enable.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
device_find_child.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
device_get_devclass.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
device_get_driver.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
device_get_ivars.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
device_get_softc.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
device_get_state.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
device_get_unit.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
device_probe_and_attach.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
DEVICE_PROBE.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
device_set_desc.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
DEVICE_SHUTDOWN.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
device.9 Fix some spelling errors. 1999-02-01 22:55:54 +00:00
devstat.9 Add a prioritization field to the devstat_add_entry() call so that 1999-02-10 00:04:13 +00:00
driver.9 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
fetch.9 Fixed a missing #include in the synopsis. 1998-01-16 18:06:23 +00:00
ifnet.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
inittodr.9 Fixed #include and/or prototype bugs in synopsis. 1997-04-13 14:49:13 +00:00
intro.9 Expanded cross references. 1998-01-02 19:22:52 +00:00
kernacc.9 Fixed #include and/or prototype bugs in synopsis. 1997-04-13 14:49:13 +00:00
Makefile ppbconf.9 removed 1999-01-30 15:33:20 +00:00
malloc.9 M_AWAIT changed to M_ASLEEP 1998-12-23 01:06:57 +00:00
MD5.9 Fixed #include and/or prototype bugs in synopsis. 1997-04-13 14:49:13 +00:00
mi_switch.9 Typo fix: sq --> qs 1997-05-12 01:56:31 +00:00
microseq.9 Fix some spelling errors. 1999-02-01 22:55:54 +00:00
namei.9 Add a manpage for namei(). 1998-09-27 13:35:49 +00:00
panic.9 Add panic(9). 1997-02-13 17:02:28 +00:00
physio.9 Fixed #include and/or prototype bugs in synopsis. 1997-04-13 14:49:13 +00:00
posix4.9 Finish _POSIX_PRIORITY_SCHEDULING. Needs P1003_1B and 1998-03-28 11:51:01 +00:00
psignal.9 Cleaned up synopsis: 1997-04-11 17:55:19 +00:00
resettodr.9 Fixed #include(s) in the synopsis to actually declare the function(s) in the 1997-04-11 17:58:16 +00:00
rtalloc.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
rtentry.9 Insert a missing newline. 1998-06-24 13:30:25 +00:00
scsiconf.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
sd.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
sleep.9 Fix some spelling errors. 1999-02-01 22:55:54 +00:00
spl.9 Removed all `vector xxxintr' specifications. Interrupt handlers are now 1998-10-22 15:53:06 +00:00
st.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
store.9 Fixed a missing #include in the synopsis. 1998-01-16 18:06:23 +00:00
style.9 Slightly relax the requirements fro removing extra braces and parenthesis. 1999-01-30 04:17:14 +00:00
suser.9 Fixed a missing #include in the synopsis. 1998-01-16 18:06:23 +00:00
time.9 Add time(9) to document the kernel time variables. Obtained from 1997-03-22 19:09:31 +00:00
timeout.9 Fixed synopsis again. Too much was blown away by splatting a NetBSD- 1998-01-16 18:45:52 +00:00
uio.9 Fixed #include and/or prototype bugs in synopsis. 1997-04-13 14:49:13 +00:00
VFS_FHTOVP.9 FIxed missing include in synopsis. 1998-08-03 17:29:44 +00:00
VFS_INIT.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VFS_MOUNT.9 FIxed missing include in synopsis. 1998-08-03 17:29:44 +00:00
VFS_QUOTACTL.9 FIxed missing include in synopsis. 1998-08-03 17:29:44 +00:00
VFS_ROOT.9 FIxed missing include in synopsis. 1998-08-03 17:29:44 +00:00
VFS_START.9 FIxed missing include in synopsis. 1998-08-03 17:29:44 +00:00
VFS_STATFS.9 FIxed missing include in synopsis. 1998-08-03 17:29:44 +00:00
VFS_SYNC.9 FIxed missing include in synopsis. 1998-08-03 17:29:44 +00:00
VFS_UNMOUNT.9 FIxed missing include in synopsis. 1998-08-03 17:29:44 +00:00
VFS_VGET.9 FIxed missing include in synopsis. 1998-08-03 17:29:44 +00:00
VFS_VPTOFH.9 FIxed missing include in synopsis. 1998-08-03 17:29:44 +00:00
VFS.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
vget.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
vnode.9 Add a section on vnode types. Mostly based on information supplied by 1998-09-28 23:36:35 +00:00
VOP_ABORTOP.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_ACCESS.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_ADVLOCK.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_ATTRIB.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_BWRITE.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_CREATE.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_FSYNC.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_GETPAGES.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_INACTIVE.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_IOCTL.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_LINK.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_LOCK.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_LOOKUP.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_MMAP.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_OPENCLOSE.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_PATHCONF.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_PRINT.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_RDWR.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_READDIR.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_READLINK.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_REALLOCBLKS.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_REMOVE.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_RENAME.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
VOP_STRATEGY.9 FIxed bitrot in prototype in synopsis. 1998-08-03 17:27:41 +00:00
VOP_VPTOFH.9 FIxed missing include in synopsis. 1998-08-03 17:29:44 +00:00
vput.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
vref.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
vrele.9 .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs. 1998-03-12 07:31:21 +00:00
vslock.9 Fixed #include and/or prototype bugs in synopsis. 1997-04-13 14:49:13 +00:00