Changeset 259794e


Ignore:
Timestamp:
09/26/2022 02:04:24 PM (19 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/clfs-ng
Children:
dd61c77
Parents:
0ea3431
Message:

clfs-ng: kernfs: remove /dev/shm instruction merged from trunk

We've already added the command for /dev/shm in commit febac51.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter07/kernfs.xml

    r0ea3431 r259794e  
    8686ln -sv  /proc/self/fd   /dev</userinput></screen>
    8787
    88       <para>In other cases <filename>/dev/shm</filename> is a mountpoint
    89       for a tmpfs. In that case the mount of /dev above will only create
    90       /dev/shm in the chroot environment as a directory. In this situation
    91       we explicitly mount a tmpfs,</para>
    92 
    93 <screen><userinput>if [ -h $LFS/dev/shm ]; then
    94   mkdir -pv $LFS/$(readlink $LFS/dev/shm)
    95 else
    96   mount -t tmpfs -o nosuid,nodev tmpfs $LFS/dev/shm
    97 fi</userinput></screen>
    98 
    9988  </sect2>
    10089
Note: See TracChangeset for help on using the changeset viewer.