diff options
Diffstat (limited to 'chapter07/cleanup.xml')
-rw-r--r-- | chapter07/cleanup.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chapter07/cleanup.xml b/chapter07/cleanup.xml index 7946d84eb..d5396208c 100644 --- a/chapter07/cleanup.xml +++ b/chapter07/cleanup.xml @@ -95,7 +95,8 @@ <para>Before making a backup, unmount the virtual file systems:</para> -<screen role="nodump"><userinput>umount $LFS/dev/pts +<screen role="nodump"><userinput>[ mountpoint -q $LFS/dev/shm ] && umount $LFS/dev/shm +umount $LFS/dev/pts umount $LFS/{sys,proc,run,dev}</userinput></screen> <para> |