Received: from wolfsden.cz (wolfsden.cz [37.205.8.62]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 2E1D7781D3A for <~alpine/aports@lists.alpinelinux.org>; Sun, 22 Sep 2019 19:54:06 +0000 (UTC) Received: by wolfsden.cz (Postfix, from userid 110) id 8B849A2C42; Sun, 22 Sep 2019 19:54:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on wolfsden X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_ALL autolearn=no autolearn_force=no version=3.4.2 Received: from localhost (unknown [128.0.188.242]) by wolfsden.cz (Postfix) with ESMTPSA id 579F8A28F8 for <~alpine/aports@lists.alpinelinux.org>; Sun, 22 Sep 2019 19:54:05 +0000 (UTC) From: Wolf To: ~alpine/aports@lists.alpinelinux.org Subject: [mkinitfs] Add support for unlocking multiple devices Date: Sun, 22 Sep 2019 21:54:02 +0200 Message-Id: <20190922195403.30111-1-wolf@wolfsden.cz> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hello, I've decided to try Alpine but a blocker for me was a need to unlock encrypted root filesystems that was composed of btrfs RAID1 with two devices. As far as I was able to tell, there is currently no way to do that, so I've written one. Attached patch adds new cryptroot[0-9]= family of options that have same behaviour as cryptroot=, but you can unlock up to 10 devices. Due to not messing with code around it at all, my change is completely backwards compatible. On IRC I was told that ~alpine/aports is the correct mailing list for this kind of patch. Thank you for your time and considering this patch. W.