[arch-general] mkinitcpio: mdadm_udev Hook

Thomas Bächler thomas at archlinux.org
Wed Oct 3 17:17:40 EDT 2012


Am 03.10.2012 22:07, schrieb Simon Perry:
> 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.

First of all, once you add the mdadm.conf file, the mdX names will
follow the naming usual scheme - the md126+ names will only be used when
the array is not mentioned in mdadm.conf.

Second, you can always use /dev/disk/by-uuid/.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 897 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20121003/6c24193e/attachment.asc>


More information about the arch-general mailing list