On Sun, Oct 03, 1999 at 01:28:14AM -0700, Tom Livingston wrote:
....
> * Changed raidlib.c to give more information if it can't access md0. It
> tells the user that either RAID isn't compiled into the kernel, or they need
> to make the raid devices (make install_dev)
>
> does anyone have any other requests for more verbose error reporting in the
> raid tools?
yup
add something like
{
struct stat statbuf;
if(stat("/dev/md0",&statbuf)<0 && errno==ENOENT) {
puts("/dev/md0 does not exist. run make install_dev from
the raidtools source directory\n");
} else {
puts("RAID was not compiled into the kernel\n");
}
}
to the /dev/md0 checks
L.
--
Luca Berra -- [EMAIL PROTECTED]
Communications Media & Services S.r.l.