|
|
|
@ -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
|
|
|
|
|