From e0ed987ddd3ca6cbec7066202778f27c75c97eb6 Mon Sep 17 00:00:00 2001 From: William Harrington Date: Mon, 5 Apr 2021 12:53:05 -0500 Subject: Mount /dev/pts with bind option. --- mountvirtfs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mountvirtfs.sh') 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 -- cgit v1.2.3-54-g00ecf