- Timestamp:
- 09/20/2022 05:20:58 PM (2 years ago)
- Branches:
- 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 12.2, 12.2-rc1, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- ab29298
- Parents:
- cc8e57d
- Location:
- chapter07
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter07/cleanup.xml
rcc8e57d r16cd0963 96 96 <para>Before making a backup, unmount the virtual file systems:</para> 97 97 98 <screen role="nodump"><userinput>umount $LFS/dev/pts 98 <screen role="nodump"><userinput>[ mountpoint -q $LFS/dev/shm ] && umount $LFS/dev/shm 99 umount $LFS/dev/pts 99 100 umount $LFS/{sys,proc,run,dev}</userinput></screen> 100 101 -
chapter07/kernfs.xml
rcc8e57d r16cd0963 90 90 directory needs to be created.</para> 91 91 92 <para>In other cases <filename>/dev/shm</filename> is a mountpoint 93 for a tmpfs. In that case the mount of /dev above will only create 94 /dev/shm in the chroot environment as a directory. In this situation 95 we explicitly mount a tmpfs,</para> 96 92 97 <screen><userinput>if [ -h $LFS/dev/shm ]; then 93 98 mkdir -pv $LFS/$(readlink $LFS/dev/shm) 99 else 100 mount -t tmpfs -o nosuid,nodev tmpfs $LFS/dev/shm 94 101 fi</userinput></screen> 95 102
Note:
See TracChangeset
for help on using the changeset viewer.