freebsd-nq/sys/dev/vinum
Alfred Perlstein 729d4f1db0 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
..
COPYRIGHT
makestatetext
request.h
statetexts.h
vinum.c Fix vinum for both devfs and non-devfs systems. 2001-02-20 22:07:36 +00:00
vinumconfig.c forced commit to note that the last delta also reordered some code in 2001-02-20 12:14:01 +00:00
vinumdaemon.c Change and clean the mutex lock interface. 2001-02-09 06:11:45 +00:00
vinumext.h
vinumhdr.h Take a shot at making vinum devfs aware. 2001-02-20 11:37:04 +00:00
vinuminterrupt.c
vinumio.c
vinumio.h
vinumioctl.c
vinumkw.h
vinumlock.c Change and clean the mutex lock interface. 2001-02-09 06:11:45 +00:00
vinummemory.c
vinumparser.c
vinumraid5.c
vinumrequest.c
vinumrevive.c
vinumstate.c
vinumstate.h
vinumutil.c
vinumvar.h Fix vinum for both devfs and non-devfs systems. 2001-02-20 22:07:36 +00:00