diff options
author | 2007-09-29 07:10:09 +0000 | |
---|---|---|
committer | 2007-09-29 07:10:09 +0000 | |
commit | 84f1d02c34c766f6f77264208edc5dafe8805be3 (patch) | |
tree | 670414d12d8dc1baf59d9f1c32143762bb8d963a | |
parent | make safe vnds work on block devices. (diff) | |
download | wireguard-openbsd-84f1d02c34c766f6f77264208edc5dafe8805be3.tar.xz wireguard-openbsd-84f1d02c34c766f6f77264208edc5dafe8805be3.zip |
default to svnds now to accomodate change in the vnd driver.
from Piotr Durlej with man-page nits from me
tested henning@, krw@, thib@ and myself.
ok thib@, grunk@, krw@
-rw-r--r-- | sbin/mount_vnd/mount_vnd.8 | 8 | ||||
-rw-r--r-- | sbin/mount_vnd/mount_vnd.c | 4 |
2 files changed, 8 insertions, 4 deletions
diff --git a/sbin/mount_vnd/mount_vnd.8 b/sbin/mount_vnd/mount_vnd.8 index 4150f8d52e3..bce59aa80f9 100644 --- a/sbin/mount_vnd/mount_vnd.8 +++ b/sbin/mount_vnd/mount_vnd.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mount_vnd.8,v 1.9 2007/09/11 07:36:37 aanriot Exp $ +.\" $OpenBSD: mount_vnd.8,v 1.10 2007/09/29 07:10:09 fkr Exp $ .\" .\" Copyright (c) 1993 University of Utah. .\" Copyright (c) 1980, 1989, 1991, 1993 @@ -49,7 +49,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: September 11 2007 $ +.Dd $Mdocdate: September 29 2007 $ .Dt MOUNT_VND 8 .Os .Sh NAME @@ -113,6 +113,10 @@ infrastructure, so that an file can be configured to a device .Ar node while booting. +.Nm mount_vnd +defaults to the +.Pa svnd0 +device. .Pp For .Xr fstab 5 diff --git a/sbin/mount_vnd/mount_vnd.c b/sbin/mount_vnd/mount_vnd.c index aad95b35ab5..275f4d5ff2a 100644 --- a/sbin/mount_vnd/mount_vnd.c +++ b/sbin/mount_vnd/mount_vnd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mount_vnd.c,v 1.3 2007/05/27 04:13:40 jmc Exp $ */ +/* $OpenBSD: mount_vnd.c,v 1.4 2007/09/29 07:10:09 fkr Exp $ */ /* * Copyright (c) 1993 University of Utah. * Copyright (c) 1990, 1993 @@ -57,7 +57,7 @@ #include "pkcs5_pbkdf2.h" -#define DEFAULT_VND "vnd0" +#define DEFAULT_VND "svnd0" #define VND_CONFIG 1 #define VND_UNCONFIG 2 |