Subject: CVS commit: src
To: None <source-changes@netbsd.org>
From: matthew green <mrg@netbsd.org>
List: source-changes
Date: 08/29/1998 06:27:52
Module Name: src
Committed By: mrg
Date: Sat Aug 29 13:27:51 UTC 1998
Modified Files:
src/sys/vm: vm_swap.c vm_swap.h
src/sys/uvm: uvm_swap.c
src/sbin/swapctl: swaplist.c
Log Message:
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'.