Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/sys document SWAP_DUMPDEV & SWAP_GETDUMPDEV.



details:   https://anonhg.NetBSD.org/src/rev/771aab110a48
branches:  trunk
changeset: 499336:771aab110a48
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri Nov 17 11:40:05 2000 +0000

description:
document SWAP_DUMPDEV & SWAP_GETDUMPDEV.

diffstat:

 lib/libc/sys/swapctl.2 |  19 ++++++++++++++++++-
 1 files changed, 18 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r e06c8ab56002 -r 771aab110a48 lib/libc/sys/swapctl.2
--- a/lib/libc/sys/swapctl.2    Fri Nov 17 11:39:39 2000 +0000
+++ b/lib/libc/sys/swapctl.2    Fri Nov 17 11:40:05 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: swapctl.2,v 1.16 2000/06/27 09:10:26 mrg Exp $
+.\"    $NetBSD: swapctl.2,v 1.17 2000/11/17 11:40:05 mrg Exp $
 .\"
 .\" Copyright (c) 1997 Matthew R. Green
 .\" Copyright (c) 1980, 1991, 1993
@@ -137,6 +137,23 @@
 parameters have the same function as for the
 .Dv SWAP_ON
 case, except that they change the priority of a currently enabled swap device.
+.It
+If
+.Fa cmd
+is
+.Dv SWAP_DUMPDEV ,
+the
+.Fa arg
+parameter is used as the pathname of a device to use as the dump device,
+should the system panic.
+.It
+If
+.Fa cmd
+is
+.Dv SWAP_GETDUMPDEV ,
+the
+.Fa arg
+parameter points to a dev_t, which is filled in by the current dump device.
 .El
 .Pp
 When swapping is enabled on a block device, the first portion of the disk is



Home | Main Index | Thread Index | Old Index