summaryrefslogtreecommitdiff
path: root/lib/libkvm/kvm_open.3
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-01-21 22:18:01 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-01-21 22:18:01 +0000
commit344d1fb456e115c821a26586a85d9e3f058aff7a (patch)
treea77feb9cc9770c05a8cba002402f82734e8347b7 /lib/libkvm/kvm_open.3
parentebcf515942389f0e738f6323c8b553ceabee63f1 (diff)
All operation on live kernels uses sysctl interface, there is no reason to
access the swap area. Change kvm_open() to no longer require a swap area, and to not consider failure to open() it as fatal. Post-mortem analysis would need an image of the swap area at the time of the crash, anyway.
Diffstat (limited to 'lib/libkvm/kvm_open.3')
-rw-r--r--lib/libkvm/kvm_open.39
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/libkvm/kvm_open.3 b/lib/libkvm/kvm_open.3
index ad8b8101908..d5c27805b07 100644
--- a/lib/libkvm/kvm_open.3
+++ b/lib/libkvm/kvm_open.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: kvm_open.3,v 1.12 2007/05/31 19:19:35 jmc Exp $
+.\" $OpenBSD: kvm_open.3,v 1.13 2009/01/21 22:18:00 miod Exp $
.\" $NetBSD: kvm_open.3,v 1.2 1996/03/18 22:33:52 thorpej Exp $
.\"
.\" Copyright (c) 1992, 1993
@@ -34,7 +34,7 @@
.\"
.\" @(#)kvm_open.3 8.3 (Berkeley) 4/19/94
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: January 21 2009 $
.Dt KVM_OPEN 3
.Os
.Sh NAME
@@ -96,10 +96,7 @@ is used.
should indicate the swap device.
If
.Dv NULL ,
-.Dv _PATH_DRUM
-from
-.Aq Pa paths.h
-is used.
+no swap device will be used.
.Pp
The
.Fa flags