aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gaffney <agaffney@gentoo.org>2008-11-14 14:12:26 -0600
committerAndrew Gaffney <agaffney@gentoo.org>2008-11-14 14:12:26 -0600
commitbbbfa2b4dee0533f21cebe9641c6d5ea28f608e9 (patch)
tree1f9f1f2e60581c7ff88ccfacb666c50c1c71f1f9 /defaults/initrd.scripts
parentPipe stderr for unionfs mount call to /dev/null to supress getcwd message (diff)
downloadgenkernel-bbbfa2b4dee0533f21cebe9641c6d5ea28f608e9.tar.gz
genkernel-bbbfa2b4dee0533f21cebe9641c6d5ea28f608e9.tar.bz2
genkernel-bbbfa2b4dee0533f21cebe9641c6d5ea28f608e9.zip
Add good_msg for creating the union mount
Diffstat (limited to 'defaults/initrd.scripts')
-rw-r--r--defaults/initrd.scripts3
1 files changed, 2 insertions, 1 deletions
diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts
index 9524a37..512da6a 100644
--- a/defaults/initrd.scripts
+++ b/defaults/initrd.scripts
@@ -999,11 +999,12 @@ setup_unionfs() {
mkdir -p ${UNION}
# mkdir -p $CHANGES
# mount -t unionfs -o dirs=$CHANGES=rw unionfs ${UNION}
+ good_msg "Creating union mount"
unionfs -o allow_other,cow,noinitgroups,suid,dev ${rw_dir}=RW:${ro_dir}=RO ${UNION} 2>/dev/null
ret=$?
if [ "${ret}" -ne 0 ]
then
- bad_msg "Can't setup union ${UNION} in directory!"
+ bad_msg "Can't setup union mount!"
USE_UNIONFS_NORMAL=0
fi
else