diff options
author | William Harrington <kb0iic@berzerkula.org> | 2021-04-05 12:04:33 -0500 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2021-04-05 12:04:33 -0500 |
commit | 04d1be2a7cfc041d9e36d42b16be27e8c15067f1 (patch) | |
tree | 54f5072ba6290c543d44dfa07ae600a41660fe5f /mountvirtfs.sh | |
parent | a9c1e63e1422ae397ca3ba0c998497f1730aa808 (diff) |
Clobbered original mountvirtfs. Remove unneeded --bind options.
Diffstat (limited to 'mountvirtfs.sh')
-rw-r--r-- | mountvirtfs.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mountvirtfs.sh b/mountvirtfs.sh index ec0262f..c87c436 100644 --- a/mountvirtfs.sh +++ b/mountvirtfs.sh @@ -7,22 +7,22 @@ else printf "%b" " ${IYLW}${LFS}/dev${IGRN} is already mounted${RST}\n" fi if ! mountpoint "${LFS}"/dev/pts >/dev/null 2>&1; then - sudo mount --bind /dev/pts "${LFS}"/dev/pts + sudo mount /dev/pts "${LFS}"/dev/pts else printf "%b" " ${IYLW}${LFS}/dev/pts${IGRN} is already mounted${RST}\n" fi if ! mountpoint "${LFS}"/proc >/dev/null 2>&1; then - sudo mount --bind /proc "${LFS}"/proc + sudo mount /proc "${LFS}"/proc else printf "%b" " ${IYLW}${LFS}/proc${IGRN} is already mounted${RST}\n" fi if ! mountpoint "${LFS}"/sys >/dev/null 2>&1; then - sudo mount --bind /sys "${LFS}"/sys + sudo mount /sys "${LFS}"/sys else printf "%b" " ${IYLW}${LFS}/sys${IGRN} is already mounted${RST}\n" fi if ! mountpoint "${LFS}"/run >/dev/null 2>&1; then - sudo mount --bind /run "${LFS}"/run + sudo mount /run "${LFS}"/run else printf "%b" " ${IYLW}${LFS}/run${IGRN} is already mounted${RST}\n" fi |