Ignore:
Timestamp:
02/27/2024 03:52:31 PM (7 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/arm64
Children:
e4e7ffb
Parents:
648f145 (diff), 23f4367 (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.
Message:

Merge remote-tracking branch 'origin/trunk' into xry111/arm64

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter07/kernfs.xml

    r648f145 r328eb6f  
    6464      <para>Now mount the remaining virtual kernel file systems:</para>
    6565
    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
    6770mount -vt proc proc $LFS/proc
    6871mount -vt sysfs sysfs $LFS/sys
    6972mount -vt tmpfs tmpfs $LFS/run</userinput></screen>
    70 <!--
     73
    7174    <variablelist>
    7275      <title>The meaning of the mount options for devpts:</title>
     
    9699
    97100    </variablelist>
    98 -->
     101
    99102      <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>.
    101105      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>
    103107
    104108      <para>In other host systems <filename>/dev/shm</filename> is a mount point
     
    108112
    109113<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)
    111115else
    112116  mount -vt tmpfs -o nosuid,nodev tmpfs $LFS/dev/shm
Note: See TracChangeset for help on using the changeset viewer.