Update menhera.sh
This commit is contained in:
parent
a42be69586
commit
38a0de0624
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ menhera::swap_root() {
|
||||||
|
|
||||||
# move mounts
|
# move mounts
|
||||||
for i in dev proc sys run; do mount --move "${OLDROOT}/$i" "${NEWROOT}/$i"; done
|
for i in dev proc sys run; do mount --move "${OLDROOT}/$i" "${NEWROOT}/$i"; done
|
||||||
mount -t tmpfs tmpfs "${NEWROOT}/tmp"
|
mount -t tmpfs -o size=0,nr_blocks=0,nr_inodes=0 tmpfs "${NEWROOT}/tmp"
|
||||||
|
|
||||||
mkdir -p "${WORKDIR}"
|
mkdir -p "${WORKDIR}"
|
||||||
mount --move "${OLDROOT}/${WORKDIR}" "${WORKDIR}"
|
mount --move "${OLDROOT}/${WORKDIR}" "${WORKDIR}"
|
||||||
|
|
Loading…
Reference in a new issue