add a few more mount options to try to help livecd
authorAndrew Gaffney <agaffney@gentoo.org>
Mon, 23 Feb 2009 19:32:03 +0000 (13:32 -0600)
committerAndrew Gaffney <agaffney@gentoo.org>
Mon, 23 Feb 2009 19:32:03 +0000 (13:32 -0600)
defaults/initrd.scripts

index a280687b7bb539a204196c3f96af4d95da620ffb..22cb88177730081e95df8549ebc9fbde2eae2dc4 100755 (executable)
@@ -976,7 +976,7 @@ setup_unionfs() {
 #              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
+               unionfs -o allow_other,allow_root,cow,noinitgroups,suid,dev,default_permissions ${rw_dir}=RW:${ro_dir}=RO ${UNION} 2>/dev/null
                ret=$?
                if [ "${ret}" -ne 0 ]
                then