729d4f1db0
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> |
||
---|---|---|
.. | ||
COPYRIGHT | ||
makestatetext | ||
request.h | ||
statetexts.h | ||
vinum.c | ||
vinumconfig.c | ||
vinumdaemon.c | ||
vinumext.h | ||
vinumhdr.h | ||
vinuminterrupt.c | ||
vinumio.c | ||
vinumio.h | ||
vinumioctl.c | ||
vinumkw.h | ||
vinumlock.c | ||
vinummemory.c | ||
vinumparser.c | ||
vinumraid5.c | ||
vinumrequest.c | ||
vinumrevive.c | ||
vinumstate.c | ||
vinumstate.h | ||
vinumutil.c | ||
vinumvar.h |