mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-21 12:49:21 +01:00
clfs-ng: kernfs: remove /dev/shm instruction merged from trunk
We've already added the command for /dev/shm in commit febac51
.
This commit is contained in:
parent
0ea3431d66
commit
259794e02a
@ -85,17 +85,6 @@ ln -sfv /proc/self/fd/1 /dev/stdout
|
||||
ln -sfv /proc/self/fd/2 /dev/stderr
|
||||
ln -sv /proc/self/fd /dev</userinput></screen>
|
||||
|
||||
<para>In other cases <filename>/dev/shm</filename> is a mountpoint
|
||||
for a tmpfs. In that case the mount of /dev above will only create
|
||||
/dev/shm in the chroot environment as a directory. In this situation
|
||||
we explicitly mount a tmpfs,</para>
|
||||
|
||||
<screen><userinput>if [ -h $LFS/dev/shm ]; then
|
||||
mkdir -pv $LFS/$(readlink $LFS/dev/shm)
|
||||
else
|
||||
mount -t tmpfs -o nosuid,nodev tmpfs $LFS/dev/shm
|
||||
fi</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
</sect1>
|
||||
|
Loading…
Reference in New Issue
Block a user