Changeset 1f0565a


Ignore:
Timestamp:
02/27/2021 04:45:36 AM (3 years ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
10.1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
a688582, e27c19f
Parents:
96e3aa6
Message:

reboot: use umount -R to simplify the commands

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12146 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter11/reboot.xml

    r96e3aa6 r1f0565a  
    7676<screen><userinput>logout</userinput></screen>
    7777
    78   <para>Then unmount the virtual file systems:</para>
     78  <para>Unmount the LFS file system hierarchy:</para>
    7979
    80 <screen><userinput>umount -v $LFS/dev/pts
    81 umount -v $LFS/dev
    82 umount -v $LFS/run
    83 umount -v $LFS/proc
    84 umount -v $LFS/sys</userinput></screen>
    85 
    86   <para>If multiple partitions were created, unmount the other
    87   partitions before unmounting the main one, like this:</para>
    88 
    89 <screen role="nodump"><userinput>umount -v $LFS/usr
    90 umount -v $LFS/home
    91 umount -v $LFS</userinput></screen>
    92 
    93   <para>Unmount the LFS file system itself:</para>
    94 
    95 <screen><userinput>umount -v $LFS</userinput></screen>
     80<screen><userinput>umount -Rv $LFS</userinput></screen>
    9681
    9782  <para>Now, reboot the system with:</para>
Note: See TracChangeset for help on using the changeset viewer.