diff options
author | Xi Ruoyao <xry111@xry111.site> | 2022-10-02 16:12:26 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2022-10-02 16:12:26 +0800 |
commit | bde421e48d7a25e38fb4a6114bd2a1ca1506ea30 (patch) | |
tree | 15bdc744583e668c5594f1492d9a7eaf28059bb9 /chapter11/reboot.xml | |
parent | 8e0c191b9b6d35274b363b478a479c7dd4ed32e4 (diff) |
reboot: fix /dev/shm unmounting command
/dev/shm may be a mount point, or a symlink.
Diffstat (limited to 'chapter11/reboot.xml')
-rw-r--r-- | chapter11/reboot.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter11/reboot.xml b/chapter11/reboot.xml index 1d76fcc7a..809d9bb70 100644 --- a/chapter11/reboot.xml +++ b/chapter11/reboot.xml @@ -107,7 +107,7 @@ <para>Then unmount the virtual file systems:</para> <screen><userinput>umount -v $LFS/dev/pts -umount -v $LFS/dev/shm +mountpoint -q $LFS/dev/shm && umount $LFS/dev/shm umount -v $LFS/dev umount -v $LFS/run umount -v $LFS/proc |