mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 06:14:47 +00:00
Added tmpfs mount at /dev/shm - Bugzilla bug 562
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2679 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
8a0d0eb26a
commit
cfdcaef782
@ -6,6 +6,18 @@
|
|||||||
|
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
|
||||||
|
<listitem><para>August 26, 2003 [jeremy] - Chapter 06 -
|
||||||
|
Creating Directories: Added the creation of the /dev/shm
|
||||||
|
directory.</para></listitem>
|
||||||
|
|
||||||
|
<listitem><para>August 26, 2003 [jeremy] - Chapter 08 -
|
||||||
|
Creating fstab: Added the mount of tmpfs filesystem to
|
||||||
|
/dev/shm.</para></listitem>
|
||||||
|
|
||||||
|
<listitem><para>August 26, 2003 [jeremy] - Chapter 08 -
|
||||||
|
Kernel Installation: Added a reminder to compile tmpfs
|
||||||
|
support into the kernel.</para></listitem>
|
||||||
|
|
||||||
<listitem><para>Upgraded to:
|
<listitem><para>Upgraded to:
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem><para>automake-1.7.6</para></listitem>
|
<listitem><para>automake-1.7.6</para></listitem>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
a directory tree. Issuing the following commands will create a more or less
|
a directory tree. Issuing the following commands will create a more or less
|
||||||
standard tree:</para>
|
standard tree:</para>
|
||||||
|
|
||||||
<para><screen><userinput>mkdir -p /{bin,boot,dev/pts,etc/opt,home,lib,mnt,proc}
|
<para><screen><userinput>mkdir -p /{bin,boot,dev/{pts,shm},etc/opt,home,lib,mnt,proc}
|
||||||
mkdir -p /{root,sbin,tmp,usr/local,var,opt}
|
mkdir -p /{root,sbin,tmp,usr/local,var,opt}
|
||||||
for dirname in /usr /usr/local
|
for dirname in /usr /usr/local
|
||||||
do
|
do
|
||||||
|
@ -15,6 +15,7 @@ following:</para>
|
|||||||
/dev/*LFS* / *fs-type* defaults 1 1
|
/dev/*LFS* / *fs-type* defaults 1 1
|
||||||
/dev/*swap* swap swap pri=1 0 0
|
/dev/*swap* swap swap pri=1 0 0
|
||||||
proc /proc proc defaults 0 0
|
proc /proc proc defaults 0 0
|
||||||
|
shm /dev/shm tmpfs defaults 0 0
|
||||||
|
|
||||||
# End /etc/fstab
|
# End /etc/fstab
|
||||||
<userinput>EOF</userinput></screen></para>
|
<userinput>EOF</userinput></screen></para>
|
||||||
@ -27,6 +28,10 @@ appropriate values (/dev/hda2, /dev/hda5 and reiserfs for example).</para>
|
|||||||
<para>When adding a reiserfs partition, the <userinput>1 1</userinput> at
|
<para>When adding a reiserfs partition, the <userinput>1 1</userinput> at
|
||||||
the end of the line should be replaced with <userinput>0 0</userinput>.</para>
|
the end of the line should be replaced with <userinput>0 0</userinput>.</para>
|
||||||
|
|
||||||
|
<para>A tmpfs mount is added at /dev/shm to comply with Posix shared memory
|
||||||
|
requirements. For more information, see the file
|
||||||
|
Documentation/filesystems/tmpfs.txt in the kernel source tree.</para>
|
||||||
|
|
||||||
<para>For more information on the various fields which are in the fstab
|
<para>For more information on the various fields which are in the fstab
|
||||||
file, see <userinput>man 5 fstab</userinput>.</para>
|
file, see <userinput>man 5 fstab</userinput>.</para>
|
||||||
|
|
||||||
|
@ -31,6 +31,10 @@ system to the
|
|||||||
<filename class="directory">$LFS/usr/src/linux-&kernel-version;</filename>
|
<filename class="directory">$LFS/usr/src/linux-&kernel-version;</filename>
|
||||||
directory.</para>
|
directory.</para>
|
||||||
|
|
||||||
|
<para>It's important to note that to be compliant with Posix shared memory
|
||||||
|
requirements, we must enable the tmpfs filesystem option, and mount a tmpfs
|
||||||
|
filesystem at /dev/shm.</para>
|
||||||
|
|
||||||
<para>Verify dependencies and create dependency information files:</para>
|
<para>Verify dependencies and create dependency information files:</para>
|
||||||
|
|
||||||
<para><screen><userinput>make CC=/opt/gcc-2.95.3/bin/gcc dep</userinput></screen></para>
|
<para><screen><userinput>make CC=/opt/gcc-2.95.3/bin/gcc dep</userinput></screen></para>
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
|
|
||||||
<!ENTITY book SYSTEM "book/book.xml">
|
<!ENTITY book SYSTEM "book/book.xml">
|
||||||
|
|
||||||
<!ENTITY version "20030819">
|
<!ENTITY version "20030826">
|
||||||
<!ENTITY releasedate "August 19th, 2003">
|
<!ENTITY releasedate "August 26th, 2003">
|
||||||
<!ENTITY nbsp " ">
|
<!ENTITY nbsp " ">
|
||||||
|
|
||||||
<!ENTITY ftp-root "ftp://ftp.linuxfromscratch.org">
|
<!ENTITY ftp-root "ftp://ftp.linuxfromscratch.org">
|
||||||
|
Loading…
Reference in New Issue
Block a user