summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authormrg <mrg@NetBSD.org>1998-08-29 13:27:50 +0000
committermrg <mrg@NetBSD.org>1998-08-29 13:27:50 +0000
commitb5f69ff66727524eb48ea50c4d6ac01cc51371bb (patch)
treeb503eeae719664a64ff6be66d746ea910ee0c592 /sys/dev
parent91b9544ee28cfcb8d94f3ce7fdbc8b449ac58653 (diff)
add a `char se_path[PATH_MAX]' member to struct swapent, that
the pathname of the swap device is saved into. add a char *swd_path member to struct swapdev, that contains a copy of the pathname (using malloc(9)). rename swapctl(2)'s SWAP_STATS to SWAP_OSTATS, and add a new SWAP_STATS command (number). make swapctl(SWAP_STATS, ...) [new version] copy the path out. if COMPAT_13, also include support for SWAP_OSTATS. also fix a minor bug in swapctl(2). the point of this is that swapfiles are now shown in `swapctl -l'.
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions