From mboxrd@z Thu Jan 1 00:00:00 1970 From: Moshe Yudkowsky Date: Sun, 29 Jan 2006 11:40:58 +0000 Subject: 2.6.15: mdrun, udev -- who creates nodes? Message-Id: <43DCA9CA.5020505@bl.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Here's a snippet from /sbin/mdrun: > mdadm -A -a $NUMBER -f `arr MDS $MD` && setarr MDS $MD "started" > # just to be sure > ln /dev/md/$NUMBER /dev/md$NUMBER 2>/dev/null The first line is the problem I'm having, namely, that the arrays are being assembled with the wrong numbers. I'm about to try a replacement strategy that ignores /sbin/mdrun entirely. The last line of the snippet shows /sbin/mdrun attempting to create a device that udev creates. This won't crash anything, to the best of my knowledge; but which package is supposed to have "control" of creating /dev/md[0-9]*? udev has a rule (under compat-full) that creates this same symlink. -- Moshe Yudkowsky work: http://www.Disaggregate.com book: http://www.PebbleAndAvalanche.com ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel