From 1f0565af183ca5ad12c33423960e6d40faffdc62 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sat, 27 Feb 2021 04:45:36 +0000 Subject: [PATCH] reboot: use umount -R to simplify the commands git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12146 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter11/reboot.xml | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/chapter11/reboot.xml b/chapter11/reboot.xml index 9b184c9d8..611967cf9 100644 --- a/chapter11/reboot.xml +++ b/chapter11/reboot.xml @@ -75,24 +75,9 @@ logout - Then unmount the virtual file systems: + Unmount the LFS file system hierarchy: -umount -v $LFS/dev/pts -umount -v $LFS/dev -umount -v $LFS/run -umount -v $LFS/proc -umount -v $LFS/sys - - If multiple partitions were created, unmount the other - partitions before unmounting the main one, like this: - -umount -v $LFS/usr -umount -v $LFS/home -umount -v $LFS - - Unmount the LFS file system itself: - -umount -v $LFS +umount -Rv $LFS Now, reboot the system with: