Bug#737951: mdadm: udev rules files ignores raid=noautodetect kernel parameter
From: Michael Prokop <hidden>
Date: 2014-02-10 15:53:05
Attachments
- signature.asc [application/pgp-signature] 197 bytes
From: Michael Prokop <hidden>
Date: 2014-02-10 15:53:05
Hi, thanks for the fast reply, Michael * Michael Tokarev [Fri Feb 07, 2014 at 11:36:46AM +0400]:
07.02.2014 11:21, Michael Prokop wrote:
quoted
It would be nice if there would be some way (maybe just checking for raid=noautodetect in /proc/cmdline?) to disable auto assembly without having to manually delete/override the udev file.
I don't think that using raid=noautodetect is a good way of doing this. It is for the really obsolete in-kernel array assembly, and it is described as such in the documentation you quoted above.
Right [...]
None of these parameters, at my point of view, should be considered after pre-boot is done and we're in the main system. If you're talking about main udev rules of mdadm, I disagree, there should be entirely separate option, if at all.
What is your usage case? What are you trying to achieve?
[...] My goal is to support booting a live system (like http://grml.org/) in a way which *prevents* auto assembling under all circumstances. This is relevant e.g. for data rescue and forensics tasks. regards, -mika-