X-Original-To: alpine-devel@mail.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id DAEE6DCB056 for ; Sun, 13 Sep 2015 20:42:59 +0000 (UTC) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id B3AAEDCC788 for ; Sun, 13 Sep 2015 20:42:59 +0000 (UTC) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 5C956200B6 for ; Sun, 13 Sep 2015 16:42:58 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Sun, 13 Sep 2015 16:42:58 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=jlyo.org; h=cc :date:from:in-reply-to:message-id:references:subject:to :x-sasl-enc:x-sasl-enc; s=mesmtp; bh=cST5TYPT+FxWqtV4LwpFH2N/rb4 =; b=gOGcViq124Wr3o7UL2eIY3RfcZL9wHjLQf6OdEEkNGemrPKafETGqwul2JQ 6DZNMzdbYYYTjxCcJiLD+6gkwZK/7DrmTq8Y5NAfXioWXz59UHUjiqZU0V7a+JoN HAIkXgeRKJ7UGvAPUfRtx+JsG18f0ImS5UiDKFwqeyUyahjc= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=cST5 TYPT+FxWqtV4LwpFH2N/rb4=; b=EJ8PYgzjyNr8V1d1fR0dV74SlI+3hjdK2K2q FUOZ2wTPhYvv3K7t7eRwlgZyykxtf8OP/raZzQ++ER177enfGecARfJEgB7uKSht M3C4xOMmNTSZs2vClzsSuW3d3Hba3dF4/smdufBGxIQSsrZMZs48UL2D43Ndwp2+ Qnv/Ccs= X-Sasl-enc: 9pKcBRkxWS24d5I3f4jb6MqBvCcil+1fMo9RDygRDADR 1442176977 Received: from nessa.jlyo.org (c-67-175-216-24.hsd1.il.comcast.net [67.175.216.24]) by mail.messagingengine.com (Postfix) with ESMTPA id 10CD3C00022; Sun, 13 Sep 2015 16:42:57 -0400 (EDT) Received: by nessa.jlyo.org (sSMTP sendmail emulation); Sun, 13 Sep 2015 15:42:56 -0500 From: Jesse Young To: alpine-devel@lists.alpinelinux.org Cc: Jesse Young Subject: [alpine-devel] [PATCH 3/4] init: make mdadm quiet Date: Sun, 13 Sep 2015 15:41:48 -0500 Message-Id: <1442176909-6089-3-git-send-email-jlyo@jlyo.org> X-Mailer: git-send-email 2.4.1 In-Reply-To: <1442176909-6089-1-git-send-email-jlyo@jlyo.org> References: <1442176909-6089-1-git-send-email-jlyo@jlyo.org> X-Virus-Scanned: ClamAV using ClamSMTP X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: --- initramfs-init.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/initramfs-init.in b/initramfs-init.in index d687e64..78500aa 100755 --- a/initramfs-init.in +++ b/initramfs-init.in @@ -227,12 +227,14 @@ setup_inittab_console(){ start_raid() { local n= i= + local mdadm_flags= case "$KOPT_root" in /dev/md*) n=${KOPT_root#/dev/md} ;; esac case "$KOPT_autoraid" in [0-9]*) n="$n $(echo $KOPT_autoraid | tr ',' ' ')" ;; esac + [ "$KOPT_quiet" = yes ] && mdadm_flags="$mdadm_flags -q" # if kernel can autostart the raid he will for i in $n; do mknod /dev/md$i b 9 $i @@ -241,7 +243,7 @@ start_raid() { # kernel cannot autostart newer versions of mdadm metadata # so we also check if mdadm binary is there if [ -x /sbin/mdadm ]; then - mdadm --assemble --scan + mdadm $mdadm_flags --assemble --scan fi } -- 2.4.1 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---