aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2019-11-27 16:16:52 +0100
committerThomas Deutschmann <whissi@gentoo.org>2019-11-27 17:18:57 +0100
commit42037cd53c8097904aac02603b98793b758f1847 (patch)
treece8fe894a8b026a903ae30b7a87d574782d30028
parentgen_determineargs.sh: determine_real_args(): Cleanup old code (diff)
downloadgenkernel-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.scripts4
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}'"