[lfs-book] [LFS Trac] #3088: 6.2.3. Mounting Virtual Kernel File Systems from a LFS 7.1 host system

LFS Trac trac at linuxfromscratch.org
Sun May 20 14:51:32 PDT 2012


#3088: 6.2.3. Mounting Virtual Kernel File Systems from a LFS 7.1 host system
----------------------+-----------------------------------------------------
 Reporter:  wblaszcz  |       Owner:  lfs-book@…                   
     Type:  defect    |      Status:  new                          
 Priority:  normal    |   Milestone:  7.2                          
Component:  Book      |     Version:  SVN                          
 Severity:  normal    |    Keywords:                               
----------------------+-----------------------------------------------------

Comment(by bdubbs@…):

 Thinking about this some more, I think the following might work:

 {{{
 if [ -h /dev/shm ]; then
   rm -f $LFS/dev/shm
   mkdir $LFS/dev/shm
 fi

 mount -vt tmpfs shm $LFS/dev/shm
 }}}

 I'll note that my jhalfs build log has:

 shm on /run/shm type tmpfs (rw)

 which is wrong, but does not affect the build.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/3088#comment:4>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.



More information about the lfs-book mailing list