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 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
makestatetext Cosmetic changes. 2000-02-29 06:07:01 +00:00
request.h Add flag XFR_BUFLOCKED to identify buffers which have been locked. 2000-12-20 05:10:08 +00:00
statetexts.h Cosmetic changes. 2000-02-29 06:07:01 +00:00
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 Change linkage to parity maintenance operations. 2000-05-11 07:22:18 +00:00
vinumhdr.h Take a shot at making vinum devfs aware. 2001-02-20 11:37:04 +00:00
vinuminterrupt.c give_plex_to_volume: Recalculate volume size after attaching. 2000-12-20 05:13:26 +00:00
vinumio.c Correct check for partition c. Previously the check was for drive 2, 2001-01-20 03:46:19 +00:00
vinumio.h Change parity maintenance ioctls. 2000-05-11 07:23:16 +00:00
vinumioctl.c Rename detached plexes and subdisks correctly (off by one error) 2000-12-20 05:16:46 +00:00
vinumkw.h Add 'dumpconfig' keyword. 2000-06-02 04:04:31 +00:00
vinumlock.c Change and clean the mutex lock interface. 2001-02-09 06:11:45 +00:00
vinummemory.c Make intr_nesting_level per-process, rather than per-cpu. Setup 2001-01-21 19:25:07 +00:00
vinumparser.c Rearrange #includes to make more sense. This is still not the reform 2000-12-20 05:17:29 +00:00
vinumraid5.c bre5: don't bufdone the user bp on error, let vinumstart() do it. 2001-01-10 05:07:14 +00:00
vinumrequest.c vinumstart: Don't check for B_DONE on return from bre(), it doesn't 2001-01-10 05:07:52 +00:00
vinumrevive.c Re-commit revision 1.32, which grog incorrectly backed out in revision 1.33. 2000-12-20 11:17:09 +00:00
vinumstate.c start_object: Set the revive length correctly. 2000-06-07 03:34:18 +00:00
vinumstate.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
vinumutil.c plex_org: Add case for RAID-4. 2000-02-29 06:16:44 +00:00
vinumvar.h Fix vinum for both devfs and non-devfs systems. 2001-02-20 22:07:36 +00:00