Changeset 8cf42d4
- Timestamp:
- 02/03/2024 07:42:36 PM (4 months ago)
- Branches:
- 12.1, 12.1-rc1, multilib, trunk, xry111/arm64, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.1, xry111/mips64el
- Children:
- 7436c28, 807b061
- Parents:
- 677f795
- git-author:
- Xi Ruoyao <xry111@…> (02/03/2024 07:40:36 PM)
- git-committer:
- Xi Ruoyao <xry111@…> (02/03/2024 07:42:36 PM)
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter07/kernfs.xml
r677f795 r8cf42d4 98 98 --> 99 99 <para>In some host systems, <filename>/dev/shm</filename> is a 100 symbolic link to <filename class="directory">/run/shm</filename>. 100 symbolic link to a directory, typically 101 <filename class="directory">/run/shm</filename>. 101 102 The /run tmpfs was mounted above so in this case only a 102 103 directory needs to be created.</para> … … 108 109 109 110 <screen><userinput>if [ -h $LFS/dev/shm ]; then 110 (cd $LFS/dev; mkdir $(readlink shm))111 mkdir -pv $LFS$(realpath /dev/shm) 111 112 else 112 113 mount -vt tmpfs -o nosuid,nodev tmpfs $LFS/dev/shm -
chapter11/afterlfs.xml
r677f795 r8cf42d4 131 131 mounttype run tmpfs run 132 132 if [ -h $LFS/dev/shm ]; then 133 mkdir -pv $LFS /$(readlink $LFS/dev/shm)133 mkdir -pv $LFS$(realpath /dev/shm) 134 134 else 135 135 mounttype dev/shm tmpfs tmpfs -o nosuid,nodev
Note:
See TracChangeset
for help on using the changeset viewer.