diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2019-11-27 16:16:52 +0100 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2019-11-27 17:18:57 +0100 |
commit | 42037cd53c8097904aac02603b98793b758f1847 (patch) | |
tree | ce8fe894a8b026a903ae30b7a87d574782d30028 | |
parent | gen_determineargs.sh: determine_real_args(): Cleanup old code (diff) | |
download | genkernel-42037cd53c8097904aac02603b98793b758f1847.tar.gz genkernel-42037cd53c8097904aac02603b98793b758f1847.tar.bz2 genkernel-42037cd53c8097904aac02603b98793b758f1847.zip |
initrd.scripts: start_volumes(): Show what we do
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
-rw-r--r-- | defaults/initrd.scripts | 4 |
1 files changed, 4 insertions, 0 deletions
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}'" |