From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6D9A4138334 for ; Wed, 7 Aug 2019 15:46:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D904AE08DC; Wed, 7 Aug 2019 15:46:15 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A1EB6E08DD for ; Wed, 7 Aug 2019 15:46:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DAF613494A9 for ; Wed, 7 Aug 2019 15:46:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0EF5176A for ; Wed, 7 Aug 2019 15:46:11 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1565190225.3c86ab829d04a3c7637f63091f3416b5015acd6d.whissi@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: doc/ X-VCS-Repository: proj/genkernel X-VCS-Files: doc/genkernel.8.txt X-VCS-Directories: doc/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: 3c86ab829d04a3c7637f63091f3416b5015acd6d X-VCS-Branch: master Date: Wed, 7 Aug 2019 15:46:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6e1aae8a-e46f-46e7-94c1-d820c9d58e44 X-Archives-Hash: 43c5ca8d3eddbe2d5fe1333faecbdb1f commit: 3c86ab829d04a3c7637f63091f3416b5015acd6d Author: Thomas Deutschmann gentoo org> AuthorDate: Tue Aug 6 21:52:11 2019 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Wed Aug 7 15:03:45 2019 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=3c86ab82 manpage: Add documentation about initramfs.mounts file Bug: https://bugs.gentoo.org/560710 Signed-off-by: Thomas Deutschmann gentoo.org> doc/genkernel.8.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/doc/genkernel.8.txt b/doc/genkernel.8.txt index 3ebd320..82da1e1 100644 --- a/doc/genkernel.8.txt +++ b/doc/genkernel.8.txt @@ -877,6 +877,18 @@ make sure that this mountpoint is accessible, see *initramfs.mounts*. Loop-mount an ISO file from the boot device to get the filesystem image. Useful with chain-loading environments and USB keys. +initramfs.mounts +---------------- +By default, genkernel's initramfs will only mount *root* device. But +sometimes additional mounts are required before initramfs can switch to +real root (for example on systems with a seperate '/usr' mount). + +Therefore genkernel package contains '/etc/initramfs.mounts' file which +will allow you to specify additional mounts which should be mounted before +initramfs will switch to real root. + +NOTE: This file will not be included in initramfs. Instead, booted initramfs +will check for this file on specified *root* device. NETBOOTING ---------- @@ -930,6 +942,8 @@ AUTHORS SEE ALSO -------- +'/etc/initramfs.mounts' - additional required mounts before switching to real root + '/etc/genkernel.conf' - genkernel configuration file // vim: ft=asciidoc et tw=72 sts=4 ts=4 :