Add good_msg for creating the union mount
authorAndrew Gaffney <agaffney@gentoo.org>
Fri, 14 Nov 2008 20:12:26 +0000 (14:12 -0600)
committerAndrew Gaffney <agaffney@gentoo.org>
Fri, 14 Nov 2008 20:12:26 +0000 (14:12 -0600)
ChangeLog
defaults/initrd.scripts

index b462246701d4a57783a9da3bb75c5ebcd28ab283..ef19b2566e6db2742ab5fe119362a34d68fbce90 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2008 Gentoo Foundation; 2008 Chris Gianelloni, Andrew Gaffney
 # Distributed under the GPL v2
 
+  14 Nov 2008; Andrew Gaffney <agaffney@gentoo.org> defaults/initrd.scripts:
+  Add good_msg for creating the union mount
+
   14 Nov 2008; Andrew Gaffney <agaffney@gentoo.org> defaults/initrd.scripts:
   Pipe stderr for unionfs mount call to /dev/null to supress getcwd message
 
index 9524a37eabc94bbbfae533d0c4318a775b107de8..512da6a5758da8bae651eb6766c73bc70ff11b7e 100644 (file)
@@ -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