summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-03-04 01:17:20 +0100
committerDave Reisner <dreisner@archlinux.org>2012-03-04 17:59:39 +0100
commit51b80faab94b01e195fc8e731a116fd44ff83738 (patch)
tree308f1f5de813fa4967d7bf75fb5c2de62b9dc59f /init
parentba954f4ec460e54948c4d20a0187d345a1c6a4de (diff)
downloadmkinitcpio-51b80faab94b01e195fc8e731a116fd44ff83738.tar.gz
mkinitcpio-51b80faab94b01e195fc8e731a116fd44ff83738.tar.xz
init: add informational output about mounting
Applies to both the real root and any device that's mounted on /usr Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'init')
-rw-r--r--init1
1 files changed, 1 insertions, 0 deletions
diff --git a/init b/init
index bb9401d..1f5f865 100644
--- a/init
+++ b/init
@@ -93,6 +93,7 @@ if [ -f "$realtab" ]; then
if usr_source=$(findmnt -snero source --tab-file="$realtab" /usr); then
mountopts=$(findmnt -snero options --tab-file="$realtab" /usr)
fsck_device "$usr_source"
+ msg ":: mounting '$usr_source' on /usr"
mount "$usr_source" /new_root/usr -o "$mountopts"
fi
fi