diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index fa74df214..1b83d7ad2 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -6,6 +6,18 @@ +August 26, 2003 [jeremy] - Chapter 06 - +Creating Directories: Added the creation of the /dev/shm +directory. + +August 26, 2003 [jeremy] - Chapter 08 - +Creating fstab: Added the mount of tmpfs filesystem to +/dev/shm. + +August 26, 2003 [jeremy] - Chapter 08 - +Kernel Installation: Added a reminder to compile tmpfs +support into the kernel. + Upgraded to: automake-1.7.6 diff --git a/chapter06/creatingdirs.xml b/chapter06/creatingdirs.xml index 6e1c597af..ebd0116c1 100644 --- a/chapter06/creatingdirs.xml +++ b/chapter06/creatingdirs.xml @@ -6,7 +6,7 @@ a directory tree. Issuing the following commands will create a more or less standard tree: -mkdir -p /{bin,boot,dev/pts,etc/opt,home,lib,mnt,proc} +mkdir -p /{bin,boot,dev/{pts,shm},etc/opt,home,lib,mnt,proc} mkdir -p /{root,sbin,tmp,usr/local,var,opt} for dirname in /usr /usr/local     do diff --git a/chapter08/fstab.xml b/chapter08/fstab.xml index c9ccdc951..80b515f15 100644 --- a/chapter08/fstab.xml +++ b/chapter08/fstab.xml @@ -15,6 +15,7 @@ following: /dev/*LFS* / *fs-type* defaults 1 1 /dev/*swap* swap swap pri=1 0 0 proc /proc proc defaults 0 0 +shm /dev/shm tmpfs defaults 0 0 # End /etc/fstab EOF @@ -27,6 +28,10 @@ appropriate values (/dev/hda2, /dev/hda5 and reiserfs for example). When adding a reiserfs partition, the 1 1 at the end of the line should be replaced with 0 0. +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. + For more information on the various fields which are in the fstab file, see man 5 fstab. diff --git a/chapter08/kernel-inst.xml b/chapter08/kernel-inst.xml index 6bd824eb3..7b4c0b023 100644 --- a/chapter08/kernel-inst.xml +++ b/chapter08/kernel-inst.xml @@ -31,6 +31,10 @@ system to the $LFS/usr/src/linux-&kernel-version; directory. +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. + Verify dependencies and create dependency information files: make CC=/opt/gcc-2.95.3/bin/gcc dep diff --git a/index.xml b/index.xml index d7ac274e2..122aa5a66 100644 --- a/index.xml +++ b/index.xml @@ -4,8 +4,8 @@ - - + +