~alpine/devel

nlplug-findfs: start mdadm with --run v1 PROPOSED

Alex Sivchev: 1
 nlplug-findfs: start mdadm with --run

 1 files changed, 1 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/devel/patches/3639/mbox | git am -3
Learn more about email & git

[PATCH] nlplug-findfs: start mdadm with --run Export this patch

Using --run with incremental assembly ensures that the system will be able to
boot and won't drop to recovery shell when only the minimal number of devices
are present. [1]

[1] https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/tree/ReadMe.c?h=mdadm-4.1#n600
---
 nlplug-findfs.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/nlplug-findfs.c b/nlplug-findfs.c
index f43c295..6fff224 100644
--- a/nlplug-findfs.c
+++ b/nlplug-findfs.c
@@ -488,6 +488,7 @@ static void start_mdadm(char *devnode)
	char *mdadm_argv[] = {
		MDADM_PATH,
		"--incremental",
		"--run",
		"--quiet",
		devnode,
		NULL
-- 
2.33.0