From b6ffaf176023107cad3d2aeebfaaab56655b83bd Mon Sep 17 00:00:00 2001 From: Poltern <2363951+Poltern@users.noreply.github.com> Date: Tue, 12 Sep 2023 21:19:45 +0300 Subject: [PATCH] Make /dev/shm mount and umount verbose --- chapter07/kernfs.xml | 2 +- chapter11/reboot.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chapter07/kernfs.xml b/chapter07/kernfs.xml index 0940ef5..342bd39 100644 --- a/chapter07/kernfs.xml +++ b/chapter07/kernfs.xml @@ -105,7 +105,7 @@ mount -vt tmpfs tmpfs $LFS/run if [ -h $LFS/dev/shm ]; then mkdir -pv $LFS/$(readlink $LFS/dev/shm) else - mount -t tmpfs -o nosuid,nodev tmpfs $LFS/dev/shm + mount -vt tmpfs -o nosuid,nodev tmpfs $LFS/dev/shm fi diff --git a/chapter11/reboot.xml b/chapter11/reboot.xml index b197215..05bf5c0 100644 --- a/chapter11/reboot.xml +++ b/chapter11/reboot.xml @@ -102,7 +102,7 @@ Затем размонтируйте виртуальные файловые системы: umount -v $LFS/dev/pts -mountpoint -q $LFS/dev/shm && umount $LFS/dev/shm +mountpoint -q $LFS/dev/shm && umount -v $LFS/dev/shm umount -v $LFS/dev umount -v $LFS/run umount -v $LFS/proc