bind mount /usr/local
This commit is contained in:
parent
180146a5c2
commit
86413df6d2
@ -4,6 +4,7 @@
|
|||||||
/dev/mapper/dmroot / ext4 defaults,noatime 1 1
|
/dev/mapper/dmroot / ext4 defaults,noatime 1 1
|
||||||
/dev/xvdb /rw auto noauto,defaults,discard 1 2
|
/dev/xvdb /rw auto noauto,defaults,discard 1 2
|
||||||
/rw/home /home none noauto,bind,defaults 0 0
|
/rw/home /home none noauto,bind,defaults 0 0
|
||||||
|
/rw/usrlocal /usr/local none noauto,bind,defaults 0 0
|
||||||
/dev/xvdc1 swap swap defaults 0 0
|
/dev/xvdc1 swap swap defaults 0 0
|
||||||
tmpfs /dev/shm tmpfs defaults,size=1G 0 0
|
tmpfs /dev/shm tmpfs defaults,size=1G 0 0
|
||||||
devpts /dev/pts devpts gid=5,mode=620 0 0
|
devpts /dev/pts devpts gid=5,mode=620 0 0
|
||||||
|
@ -13,6 +13,8 @@ if [ -e /dev/xvdb ] ; then mount /rw ; fi
|
|||||||
initialize_home "/rw/home" ifneeded
|
initialize_home "/rw/home" ifneeded
|
||||||
echo "Mounting /rw/home onto /home" >&2
|
echo "Mounting /rw/home onto /home" >&2
|
||||||
mount /home
|
mount /home
|
||||||
|
echo "Mounting /rw/usrlocal onto /usr/local" >&2
|
||||||
|
mount /usr/local
|
||||||
# https://github.com/QubesOS/qubes-issues/issues/1328#issuecomment-169483029
|
# https://github.com/QubesOS/qubes-issues/issues/1328#issuecomment-169483029
|
||||||
# Do none of the following in a DispVM.
|
# Do none of the following in a DispVM.
|
||||||
/usr/lib/qubes/init/bind-dirs.sh
|
/usr/lib/qubes/init/bind-dirs.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user