Author: xry111
Date: Fri Feb 26 20:45:36 2021
New Revision: 12146

Log:
reboot: use umount -R to simplify the commands

Modified:
   trunk/BOOK/chapter11/reboot.xml

Modified: trunk/BOOK/chapter11/reboot.xml
==============================================================================
--- trunk/BOOK/chapter11/reboot.xml     Sat Feb 20 23:15:36 2021        (r12145)
+++ trunk/BOOK/chapter11/reboot.xml     Fri Feb 26 20:45:36 2021        (r12146)
@@ -75,24 +75,9 @@
 
 <screen><userinput>logout</userinput></screen>
 
-  <para>Then unmount the virtual file systems:</para>
+  <para>Unmount the LFS file system hierarchy:</para>
 
-<screen><userinput>umount -v $LFS/dev/pts
-umount -v $LFS/dev
-umount -v $LFS/run
-umount -v $LFS/proc
-umount -v $LFS/sys</userinput></screen>
-
-  <para>If multiple partitions were created, unmount the other
-  partitions before unmounting the main one, like this:</para>
-
-<screen role="nodump"><userinput>umount -v $LFS/usr
-umount -v $LFS/home
-umount -v $LFS</userinput></screen>
-
-  <para>Unmount the LFS file system itself:</para>
-
-<screen><userinput>umount -v $LFS</userinput></screen>
+<screen><userinput>umount -Rv $LFS</userinput></screen>
 
   <para>Now, reboot the system with:</para>
 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to