[arch-general] mkinitcpio: mdadm_udev Hook

Simon Perry arch at sanxion.net
Wed Oct 3 16:07:07 EDT 2012


On 03/10/12, Thomas Bächler wrote:

| You need to create a file /etc/mdadm.conf. mdadm --examine --scan will
| generate the right lines for you. This file will be added to the
| initramfs and your names will be fine again.

Yep, that's what I've done, and I've used the mdadm hook as I have in the
past.

Based on the mkinitcpio wiki page, and the forum post, I'm under the
impression that using mdadm_udev to auto-assemble the arrays is what I
should be using (and is what will be supported in the future).

The mdadm_udev hook does work as advertised, but I don't see how I can
use it when I need a known /dev/mdx device for use in something like a
"cryptdevice=" kernel arg.

Cheers.

-- 
Simon Perry (aka Pezz)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20121004/bf55b519/attachment.asc>


More information about the arch-general mailing list