aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-04-05 12:53:05 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2021-04-05 12:53:05 -0500
commite0ed987ddd3ca6cbec7066202778f27c75c97eb6 (patch)
treebdd97cc74c607d3f74ebb13703f34239822848a0
parent6c92d7882615040ca3690578544c3c8a893f1bf7 (diff)
Mount /dev/pts with bind option.
-rw-r--r--mountvirtfs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/mountvirtfs.sh b/mountvirtfs.sh
index 808f4a6..49de1e7 100644
--- a/mountvirtfs.sh
+++ b/mountvirtfs.sh
@@ -7,7 +7,7 @@ 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 /dev/pts "${LFS}"/dev/pts
+ sudo mount --bind /dev/pts "${LFS}"/dev/pts
else
printf "%b" " ${IYLW}${LFS}/dev/pts${IGRN} is already mounted${RST}\n"
fi