commit: 42037cd53c8097904aac02603b98793b758f1847 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> AuthorDate: Wed Nov 27 15:16:52 2019 +0000 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> CommitDate: Wed Nov 27 16:18:57 2019 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=42037cd5
initrd.scripts: start_volumes(): Show what we do Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> defaults/initrd.scripts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts index 59e39fc..973a38a 100644 --- a/defaults/initrd.scripts +++ b/defaults/initrd.scripts @@ -1547,6 +1547,8 @@ start_volumes() { then bad_msg "dobcache invoked but '/sys/fs/bcache/register_quiet' does not exist; Skipping bcache initialization ..." else + good_msg "Registering all block devices in bcache ..." + local i= for i in $(awk '$4 !~ /^(name$|$)/ { print $4 }' /proc/partitions) do @@ -1567,6 +1569,8 @@ start_volumes() { then if [ -x '/sbin/btrfs' ] then + good_msg "Scanning for BTRFS devices ..." + local btrfs_cmd="run /sbin/btrfs device scan 2>&1" is_log_enabled && btrfs_cmd="${btrfs_cmd} | tee -a '${GK_INIT_LOG}'"