diff options
author | Xi Ruoyao <xry111@mengyan1223.wang> | 2021-02-27 04:45:36 +0000 |
---|---|---|
committer | Xi Ruoyao <xry111@mengyan1223.wang> | 2021-02-27 04:45:36 +0000 |
commit | 1f0565af183ca5ad12c33423960e6d40faffdc62 (patch) | |
tree | 4218bdbd8df228bd2cf9bf5c94cfd087d5d413c4 /chapter11 | |
parent | 96e3aa699b09235f6bde0ce699426f61dbfc685b (diff) |
reboot: use umount -R to simplify the commandsr10.1
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12146 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter11')
-rw-r--r-- | chapter11/reboot.xml | 19 |
1 files 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 @@ <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> |