Date: Tue, 20 Feb 2001 14:07:36 -0800 (PST) From: Alfred Perlstein <alfred@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/vinum Makefile commands.c list.c v.c vext.h vinum.8 src/sys/dev/vinum vinum.c vinumvar.h Message-ID: <200102202207.f1KM7ap01441@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
alfred 2001/02/20 14:07:36 PST
Modified files:
sbin/vinum Makefile commands.c list.c v.c vext.h
vinum.8
sys/dev/vinum vinum.c vinumvar.h
Log:
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>
Revision Changes Path
1.17 +5 -1 src/sbin/vinum/Makefile
1.37 +19 -19 src/sbin/vinum/commands.c
1.31 +13 -13 src/sbin/vinum/list.c
1.31 +36 -20 src/sbin/vinum/v.c
1.19 +12 -1 src/sbin/vinum/vext.h
1.49 +1 -1 src/sbin/vinum/vinum.8
1.41 +11 -4 src/sys/dev/vinum/vinum.c
1.38 +2 -2 src/sys/dev/vinum/vinumvar.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102202207.f1KM7ap01441>
