mount-dirs.sh 525 B

1234567891011121314151617181920
  1. #!/bin/sh
  2. # Source Qubes library.
  3. # shellcheck source=init/functions
  4. . /usr/lib/qubes/init/functions
  5. set -e
  6. /usr/lib/qubes/init/setup-rwdev.sh
  7. if [ -e /dev/xvdb ] ; then mount /rw ; fi
  8. /usr/lib/qubes/init/setup-rw.sh
  9. initialize_home "/rw/home" ifneeded
  10. echo "Mounting /rw/home onto /home" >&2
  11. mount /home
  12. echo "Mounting /rw/usrlocal onto /usr/local" >&2
  13. mount /usr/local
  14. # https://github.com/QubesOS/qubes-issues/issues/1328#issuecomment-169483029
  15. # Do none of the following in a DispVM.
  16. /usr/lib/qubes/init/bind-dirs.sh