[ENBD] fr1 hangs when trying to access raid device..

Peter T. Breuer enbd@lists.community.tummy.com
Wed, 5 Feb 2003 17:16:40 +0100 (MET)


"A month of sundays ago [Arve Emil Myr_s] wrote:"
> Will try that next, BTW when i downloaded raidtools2_0.90.20010914.orig.tar.gz from a debian mirror (the only place i could find that build) your patch  says "hunk #6 failed at 393" could you put a patched source on ftp??

No - you should be able to patch it by hand. Look at the patch. You
probably mean this patch hunk:

@@ -398,8 +393,7 @@
 
        fstat (md_fd, &s);
        if (major (s.st_rdev) != MD_MAJOR) {
-               fprintf(stderr,"%s: not an MD device!\n",md_name);
-               exit(EXIT_FAILURE);
+               fprintf(stderr,"%s: warning - not an MD device!\n",md_name);
        }
 
        stat (disk_name, &s);

so it just erases the exit call. That's all the patch does. 

Peter