- Timestamp:
- 02/06/2024 08:57:26 PM (8 months ago)
- Branches:
- xry111/loongarch, xry111/loongarch-12.1, xry111/loongarch-12.2
- Children:
- 8b8b87b
- Parents:
- 20902dd (diff), 4816dc6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter07/kernfs.xml
r20902dd ree8c846 64 64 <para>Now mount the remaining virtual kernel file systems:</para> 65 65 66 <screen><userinput>mount -v --bind /dev/pts $LFS/dev/pts 66 <!-- Do not put any option after $LFS/${mountpoint} or jhalfs cannot 67 handle it! --> 68 69 <screen><userinput>mount -vt devpts devpts -o gid=5,mode=0620 $LFS/dev/pts 67 70 mount -vt proc proc $LFS/proc 68 71 mount -vt sysfs sysfs $LFS/sys 69 72 mount -vt tmpfs tmpfs $LFS/run</userinput></screen> 70 <!-- 73 71 74 <variablelist> 72 75 <title>The meaning of the mount options for devpts:</title> … … 96 99 97 100 </variablelist> 98 --> 101 99 102 <para>In some host systems, <filename>/dev/shm</filename> is a 100 symbolic link to <filename class="directory">/run/shm</filename>. 103 symbolic link to a directory, typically 104 <filename class="directory">/run/shm</filename>. 101 105 The /run tmpfs was mounted above so in this case only a 102 directory needs to be created .</para>106 directory needs to be created with the correct permissions.</para> 103 107 104 108 <para>In other host systems <filename>/dev/shm</filename> is a mount point … … 108 112 109 113 <screen><userinput>if [ -h $LFS/dev/shm ]; then 110 (cd $LFS/dev; mkdir $(readlink shm))114 install -v -d -m 1777 $LFS$(realpath /dev/shm) 111 115 else 112 116 mount -vt tmpfs -o nosuid,nodev tmpfs $LFS/dev/shm
Note:
See TracChangeset
for help on using the changeset viewer.