mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-22 02:21:34 +00:00
Merge pull request #168 from MagnusS/mount-tmp
also bindmount /tmp once
This commit is contained in:
commit
a450843a48
@ -49,7 +49,9 @@ start()
|
|||||||
export no_proxy="$(mobyconfig get proxy/exclude)"
|
export no_proxy="$(mobyconfig get proxy/exclude)"
|
||||||
fi
|
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
|
do
|
||||||
[ -d /Mac/$d ] && [ ! -d $d ] && mkdir -p /$d && mount --bind /Mac/$d /$d
|
[ -d /Mac/$d ] && [ ! -d $d ] && mkdir -p /$d && mount --bind /Mac/$d /$d
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user