summaryrefslogtreecommitdiffstats
path: root/lib/libkvm/kvm_getswapinfo.c
diff options
context:
space:
mode:
authortmm <tmm@FreeBSD.org>2001-06-01 22:53:10 +0000
committertmm <tmm@FreeBSD.org>2001-06-01 22:53:10 +0000
commit87a858d545f37c808cc22343f075241e15fee343 (patch)
tree330c4e3ba5cf61d0a358f97401039aa45d6e15d7 /lib/libkvm/kvm_getswapinfo.c
parentbf437699a2710e571265ed8b49504026dae2d36b (diff)
downloadFreeBSD-src-87a858d545f37c808cc22343f075241e15fee343.zip
FreeBSD-src-87a858d545f37c808cc22343f075241e15fee343.tar.gz
Change the way information about swap devices is exported to be more
canonical: define a versioned struct xswdev, and add a sysctl node handler that allows the user to get this structure for a certain device index by specifying this index as last element of the MIB. This new node handler, vm.swap_info, replaces the old vm.nswapdev and vm.swapdevX.* (where X was the index) sysctls.
Diffstat (limited to 'lib/libkvm/kvm_getswapinfo.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud