freebsd-dev/sbin/vinum
alfred c5758211e4 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>
2001-02-20 22:07:36 +00:00
..
commands.c Fix vinum for both devfs and non-devfs systems. 2001-02-20 22:07:36 +00:00
list.c Fix vinum for both devfs and non-devfs systems. 2001-02-20 22:07:36 +00:00
Makefile Fix vinum for both devfs and non-devfs systems. 2001-02-20 22:07:36 +00:00
v.c Fix vinum for both devfs and non-devfs systems. 2001-02-20 22:07:36 +00:00
vext.h Fix vinum for both devfs and non-devfs systems. 2001-02-20 22:07:36 +00:00
vinum.8 Fix vinum for both devfs and non-devfs systems. 2001-02-20 22:07:36 +00:00