From bbbfa2b4dee0533f21cebe9641c6d5ea28f608e9 Mon Sep 17 00:00:00 2001 From: Andrew Gaffney Date: Fri, 14 Nov 2008 14:12:26 -0600 Subject: [PATCH] Add good_msg for creating the union mount --- ChangeLog | 3 +++ defaults/initrd.scripts | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b462246..ef19b25 100644 --- 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 defaults/initrd.scripts: + Add good_msg for creating the union mount + 14 Nov 2008; Andrew Gaffney defaults/initrd.scripts: Pipe stderr for unionfs mount call to /dev/null to supress getcwd message 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 -- 2.26.2