diff options
author | alfred <alfred@FreeBSD.org> | 2001-02-20 22:07:36 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2001-02-20 22:07:36 +0000 |
commit | 557b41f4e9ce086047aaffd2325d860ef65cd318 (patch) | |
tree | e1987b9c318439dcaa734051c47e9789c04037eb /sbin/vinum/vinum.8 | |
parent | d616306dacee5c358e9356020d6a0c67c6d0153e (diff) | |
download | FreeBSD-src-557b41f4e9ce086047aaffd2325d860ef65cd318.zip FreeBSD-src-557b41f4e9ce086047aaffd2325d860ef65cd318.tar.gz |
Fix vinum for both devfs and non-devfs systems.
userland tool:
Use the vfs.devfs.generation sysctl to test for devfs presense
(thanks phk!) when devfs is active it will not try to create the
device nodes in /dev and therefore will not complain about the
failure to do so.
Revert the change in the #define for VINUM_DIR in the kernel
header so that vinum can find its device nodes.
Replace perror() with vinum_perror() to print file/line when
DEVBUG is defined (not defined by default).
kernel:
Don't use the #define names for the "superdev" creation since
they will be prepended by "/dev/" (based on VINUM_DIR), instead
use string constants.
Create both debug and non-debug "superdev" nodes in the devfs.
Problem noticed and fix tested by: Martin Blapp <mblapp@fuchur.lan.attic.ch>
Diffstat (limited to 'sbin/vinum/vinum.8')
-rw-r--r-- | sbin/vinum/vinum.8 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/vinum/vinum.8 b/sbin/vinum/vinum.8 index 9c67d5d..d0ca15f 100644 --- a/sbin/vinum/vinum.8 +++ b/sbin/vinum/vinum.8 @@ -34,7 +34,7 @@ .\" otherwise) arising in any way out of the use of this software, even if .\" advised of the possibility of such damage. .\" -.\" $Id: vinum.8,v 1.13 2000/01/03 03:12:56 grog Exp grog $ +.\" $Id: vinum.8,v 1.48 2001/01/15 22:15:05 grog Exp $ .\" $FreeBSD$ .\" .Dd December 20, 2000 |