freebsd-dev/sbin/vinum
Thomas Moestl c4a5ef6ef3 Add some features to libdevstat, and overhaul the interface a bit:
1.) prefix all functions in the library with devstat_ (compatability
    functions are available for all functions that were chaned in an
    incompatible way, but are deprecated).
2.) Add a pointer to a kvm_t as the first argument to functions that
    used to get their information via sysctl; they behave the same
    as before when NULL is passed as this argument, otherwise, the
    information is obtained via libkvm using the supplied handle.
3.) Add a new function, devstat_compute_statistics(), that is intended
    to replace the old compute_stats() function. It offers more
    statistics data, and has a more flexible interface.

libdevstat does now require libkvm; a library depedency is added, so
that libkvm only needs to be explicitely specified for statically linked
programs.
The library major version number is bumped.

Submitted by:	Sergey A. Osokin <osa@freebsd.org.ru>, ken (3)
Reviewed by:	ken
2001-08-04 18:25:48 +00:00
..
commands.c Correct typo. 2001-06-11 00:43:26 +00:00
list.c Remove #ifdef VINUMDEBUG. vinum(8) now always supports debug options 2001-05-23 05:21:22 +00:00
Makefile Add some features to libdevstat, and overhaul the interface a bit: 2001-08-04 18:25:48 +00:00
v.c Remove #ifdef VINUMDEBUG. vinum(8) now always supports debug options 2001-05-23 05:23:03 +00:00
vext.h *sigh* We can't remove VINUMDEBUG entirely, since we include kernel 2001-05-23 23:27:08 +00:00
vinum.8 mdoc(7) police: 2001-07-04 14:18:31 +00:00