Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/genkernel:master commit in: defaults/
Date: Wed, 27 Nov 2019 16:40:25
Message-Id: 1574871537.42037cd53c8097904aac02603b98793b758f1847.whissi@gentoo
1 commit: 42037cd53c8097904aac02603b98793b758f1847
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 27 15:16:52 2019 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 27 16:18:57 2019 +0000
6 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=42037cd5
7
8 initrd.scripts: start_volumes(): Show what we do
9
10 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
11
12 defaults/initrd.scripts | 4 ++++
13 1 file changed, 4 insertions(+)
14
15 diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts
16 index 59e39fc..973a38a 100644
17 --- a/defaults/initrd.scripts
18 +++ b/defaults/initrd.scripts
19 @@ -1547,6 +1547,8 @@ start_volumes() {
20 then
21 bad_msg "dobcache invoked but '/sys/fs/bcache/register_quiet' does not exist; Skipping bcache initialization ..."
22 else
23 + good_msg "Registering all block devices in bcache ..."
24 +
25 local i=
26 for i in $(awk '$4 !~ /^(name$|$)/ { print $4 }' /proc/partitions)
27 do
28 @@ -1567,6 +1569,8 @@ start_volumes() {
29 then
30 if [ -x '/sbin/btrfs' ]
31 then
32 + good_msg "Scanning for BTRFS devices ..."
33 +
34 local btrfs_cmd="run /sbin/btrfs device scan 2>&1"
35 is_log_enabled && btrfs_cmd="${btrfs_cmd} | tee -a '${GK_INIT_LOG}'"