On 3/26/20 3:29 PM, Pierre Labastie via blfs-dev wrote:
Le 26/03/2020 à 21:19, Pierre Labastie via blfs-dev a écrit :
Le 26/03/2020 à 18:32, Bruce Dubbs via blfs-dev a écrit :
On 3/26/20 10:22 AM, Xi Ruoyao via blfs-dev wrote:

Now the book is handling the case "/dev/shm is a link to /run/shm" correctly
and
explicitly.  Unfortunately it seems for the case "/dev/shm is *not* a link to
/run/shm" the book is defective.  I'm surprised that it didn't cause any
problem
building LFS...

I have not tested completely, but what if we did this in LFS instead of a bind
mount of $LFS/dev:

  mount -vt devtmpfs devtmpfs $LFS/dev

On my LFS system I then have:
  /mnt/lfs/dev/shm -> /run/shm

but if the host does not have  /mnt/lfs/dev/shm, then a simple
  mkdir -pv $LFS/dev/shm

should suffice.

   -- Bruce


Hmm, I have a problem with /dev/shm->/run/shm...
It is not true on lfs systemd!

All I've said is with lfs systemd



or debian (which is systemd too).

If you just do 'mount -vt devtmpfs devtmpfs $LFS/dev', do you have any $LFS/dev/shm ?

  -- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to