linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.6.15: mdrun, udev -- who creates nodes?
@ 2006-01-29 11:40 Moshe Yudkowsky
  2006-01-29 12:35 ` Marco d'Itri
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Moshe Yudkowsky @ 2006-01-29 11:40 UTC (permalink / raw)
  To: linux-hotplug

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&kid\x103432&bid#0486&dat\x121642
_______________________________________________
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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2006-02-10 22:46 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-29 11:40 2.6.15: mdrun, udev -- who creates nodes? Moshe Yudkowsky
2006-01-29 12:35 ` Marco d'Itri
2006-01-29 14:49 ` Moshe Yudkowsky
2006-01-30 20:42 ` linas
2006-01-30 20:47 ` Marco d'Itri
2006-01-31 16:40 ` Jason Lunz
2006-01-31 19:26   ` linas
2006-01-31 20:19     ` Molle Bestefich
2006-01-31 20:52       ` Jason Lunz
2006-01-31 21:13         ` linas
2006-01-31 21:58           ` Molle Bestefich
2006-01-31 21:44     ` Luca Berra
2006-02-10 22:46     ` Bill Davidsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).