Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys add SWAP_GETDUMPDEV command.



details:   https://anonhg.NetBSD.org/src/rev/bf0f35b8a22a
branches:  trunk
changeset: 499334:bf0f35b8a22a
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri Nov 17 11:32:55 2000 +0000

description:
add SWAP_GETDUMPDEV command.

diffstat:

 sys/sys/swap.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r e58cda68b791 -r bf0f35b8a22a sys/sys/swap.h
--- a/sys/sys/swap.h    Fri Nov 17 10:14:16 2000 +0000
+++ b/sys/sys/swap.h    Fri Nov 17 11:32:55 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: swap.h,v 1.4 1999/03/24 05:51:29 mrg Exp $     */
+/*     $NetBSD: swap.h,v 1.5 2000/11/17 11:32:55 mrg Exp $     */
 
 /*
  * Copyright (c) 1995, 1996, 1998 Matthew R. Green
@@ -58,12 +58,13 @@
 };
 
 #define SWAP_ON                1               /* begin swapping on device */
-#define SWAP_OFF       2               /* (stop swapping on device) */
+#define SWAP_OFF       2               /* stop swapping on device */
 #define SWAP_NSWAP     3               /* how many swap devices ? */
 #define SWAP_OSTATS    4               /* old SWAP_STATS, no se_path */
 #define SWAP_CTL       5               /* change priority on device */
 #define SWAP_STATS     6               /* get device info */
 #define SWAP_DUMPDEV   7               /* use this device as dump device */
+#define SWAP_GETDUMPDEV        8               /* use this device as dump device */
 
 #define SWF_INUSE      0x00000001      /* in use: we have swapped here */
 #define SWF_ENABLE     0x00000002      /* enabled: we can swap here */



Home | Main Index | Thread Index | Old Index