aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-04-01 16:56:30 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2021-04-01 16:56:30 -0500
commita51e000b5af272a69fbdfeb620aca916c99d6338 (patch)
treecf5bd1816231bc23be11d91d0fc9c5d06c70b3ca
parent35d43dceb238ecd5a61c3fdc9035844e8146c940 (diff)
parenta0621e1c11352e833cc04f4e68b96319316d3872 (diff)
Merge branch 'cleanup' into chapter7
-rw-r--r--mountvirtfs.sh20
1 files changed, 10 insertions, 10 deletions
diff --git a/mountvirtfs.sh b/mountvirtfs.sh
index 7eea548..2849dad 100644
--- a/mountvirtfs.sh
+++ b/mountvirtfs.sh
@@ -2,29 +2,29 @@
printf "%b" "${GRN}Mounting virtual kernel filesystems...${RST}\n"
if ! mountpoint "${LFS}"/dev >/dev/null 2>&1; then
- sudo mount -v --bind /dev "${LFS}"/dev
+ sudo mount --bind /dev "${LFS}"/dev
else
- printf "%b" " ${YLW}${LFS}/dev${GRN} is already mounted${RST}\n"
+ printf "%b" " ${IYLW}${LFS}/dev${IGRN} is already mounted${RST}\n"
fi
if ! mountpoint "${LFS}"/dev/pts >/dev/null 2>&1; then
- sudo mount -v --bind /dev/pts "${LFS}"/dev/pts
+ sudo mount --bind /dev/pts "${LFS}"/dev/pts
else
- printf "%b" " ${YLW}${LFS}/dev/pts${GRN} is already mounted${RST}\n"
+ printf "%b" " ${IYLW}${LFS}/dev/pts${IGRN} is already mounted${RST}\n"
fi
if ! mountpoint "${LFS}"/proc >/dev/null 2>&1; then
- sudo mount -v --bind /proc "${LFS}"/proc
+ sudo mount --bind /proc "${LFS}"/proc
else
- printf "%b" " ${YLW}${LFS}/proc${GRN} is already mounted${RST}\n"
+ printf "%b" " ${IYLW}${LFS}/proc${IGRN} is already mounted${RST}\n"
fi
if ! mountpoint "${LFS}"/sys >/dev/null 2>&1; then
- sudo mount -v --bind /sys "${LFS}"/sys
+ sudo mount --bind /sys "${LFS}"/sys
else
- printf "%b" " ${YLW}${LFS}/sys${GRN} is already mounted${RST}\n"
+ printf "%b" " ${IYLW}${LFS}/sys${IGRN} is already mounted${RST}\n"
fi
if ! mountpoint "${LFS}"/run >/dev/null 2>&1; then
- sudo mount -v --bind /run "${LFS}"/run
+ sudo mount --bind /run "${LFS}"/run
else
- printf "%b" " ${YLW}${LFS}/run${GRN} is already mounted${RST}\n"
+ printf "%b" " ${IYLW}${LFS}/run${IGRN} is already mounted${RST}\n"
fi
if [ -h "${LFS}"/dev/shm ]; then