Merge pull request #168 from MagnusS/mount-tmp

also bindmount /tmp once
This commit is contained in:
Justin Cormack 2016-06-03 09:07:34 +01:00
commit a450843a48

View File

@ -49,7 +49,9 @@ start()
export no_proxy="$(mobyconfig get proxy/exclude)"
fi
for d in Users Volumes tmp private
grep "osxfs /tmp" /etc/mtab -q || mount --bind /Mac/tmp /tmp
for d in Users Volumes private
do
[ -d /Mac/$d ] && [ ! -d $d ] && mkdir -p /$d && mount --bind /Mac/$d /$d
done