Thread (2 messages) 2 messages, 2 authors, 2007-06-28

Re: mdadm usage: creating arrays with helpful names?

From: Richard Michael <hidden>
Date: 2007-06-28 13:37:17

On Thu, Jun 28, 2007 at 09:12:56AM +0100, David Greaves wrote:
(back on list for google's benefit ;) and because there are some good 
questions and I don't know all the answers... )
Thanks, I didn't realize I didn't 'reply-all' to stay on the list.
Hopefully it will snowball as people who use it then contribute back
<hint> ;)
I will, I'm also keeping notes and changes to the man page. :)
--auto md
Ah. Thanks for the example(s).
quoted
Also, when I use "--create /dev/nicename --auto=p1" (for example), I
also see /dev/md_d126 created.  Why?  There is then a /sys/block/md_d126
entry (presumably created by the md driver), but no /sys/block/nicename
entry.  Why?
Not sure who creates this, mdadm or udev
I'm guessing the kernel's md driver creates it; neither mdmadm nor udev
(just as the kernel creates, for example, sd* disk entries in /sys, but
udev creates the nice entries in /dev).
The code isn't that hard to read and you sound like you'd follow it if
you fancied a skim-read...
I read it for the --create option to see who created /dev/mdXX. :) I'll
take another look.

Thanks David.

Cheers.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help