diff options
author | Archaic <archaic@linuxfromscratch.org> | 2005-06-28 17:50:11 +0000 |
---|---|---|
committer | Archaic <archaic@linuxfromscratch.org> | 2005-06-28 17:50:11 +0000 |
commit | d16b770c283474506c2a4dc13f466fbc5a8404fc (patch) | |
tree | 6618830345ae0bc5e98004484f8a018b054332a0 | |
parent | 286db8f8e08fd9c792f898a2b3a8b420ff5cb1bb (diff) |
Minor wording change. (merged from trunk r6208 nd r6209)
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/6.1/BOOK@6210 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r-- | chapter01/changelog.xml | 3 | ||||
-rw-r--r-- | chapter06/devices.xml | 23 | ||||
-rw-r--r-- | chapter06/kernfs.xml | 2 | ||||
-rw-r--r-- | chapter07/udev.xml | 2 | ||||
-rw-r--r-- | general.ent | 4 |
5 files changed, 19 insertions, 15 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 2dc91d6c9..6143b2c09 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -87,6 +87,9 @@ First a summary, then a detailed log.</para> </itemizedlist> </listitem> +<listitem><para>June 28th, 2005 [archaic]: Switched from mounting /dev on a +ramfs to a tmpfs.</para></listitem> + <listitem><para>June 27th, 2005 [archaic]: Filled in text for errata page. Thanks for the text, Steve!</para></listitem> diff --git a/chapter06/devices.xml b/chapter06/devices.xml index f16fdb780..e094f1528 100644 --- a/chapter06/devices.xml +++ b/chapter06/devices.xml @@ -22,19 +22,18 @@ mknod -m 666 /dev/null c 1 3</userinput></screen> </sect2> <sect2> -<title>Mounting ramfs and Populating /dev</title> +<title>Mounting tmpfs and Populating /dev</title> <para>The recommended method of populating the <filename class="directory">/dev</filename> directory with devices is to mount a virtual -filesystem (such as <systemitem class="filesystem">ramfs</systemitem> or -<systemitem class="filesystem">tmpfs</systemitem>) on the <filename -class="directory">/dev</filename> directory, and allow the devices to be created -dynamically on that virtual filesystem as they are detected or accessed. This is -generally done during the boot process. Since this new system has not been -booted, it is necessary to do what the bootscripts would otherwise do by -mounting <filename class="directory">/dev</filename>:</para> +filesystem (such as <systemitem class="filesystem">tmpfs</systemitem>) on the +<filename class="directory">/dev</filename> directory, and allow the devices to +be created dynamically on that virtual filesystem as they are detected or +accessed. This is generally done during the boot process. Since this new system +has not been booted, it is necessary to do what the bootscripts would otherwise +do by mounting <filename class="directory">/dev</filename>:</para> -<screen><userinput>mount -n -t ramfs none /dev</userinput></screen> +<screen><userinput>mount -n -t tmpfs none /dev</userinput></screen> <para>The Udev package is what actually creates the devices in the <filename class="directory">/dev</filename> directory. Since it will not be installed @@ -51,8 +50,10 @@ mknod -m 444 /dev/urandom c 1 9 chown root:tty /dev/{console,ptmx,tty}</userinput></screen> <!-- --> -<para>There are some symlinks and directories required by LFS that are -not created by Udev, so create those here:</para> +<para>There are some symlinks and directories required by LFS that are created +during system startup by the bootscripts. Since this is a chroot environment and +not a booted environment, those symlinks and directories need to be created +here:</para> <screen><userinput>ln -s /proc/self/fd /dev/fd ln -s /proc/self/fd/0 /dev/stdin diff --git a/chapter06/kernfs.xml b/chapter06/kernfs.xml index 0f925c979..2755dea13 100644 --- a/chapter06/kernfs.xml +++ b/chapter06/kernfs.xml @@ -29,7 +29,7 @@ environment.</para> chroot environment. To keep the host up to date, perform a <quote>fake mount</quote> for each of these now:</para> -<screen><userinput>mount -f -t ramfs ramfs $LFS/dev +<screen><userinput>mount -f -t tmpfs tmpfs $LFS/dev mount -f -t tmpfs tmpfs $LFS/dev/shm mount -f -t devpts -o gid=4,mode=620 devpts $LFS/dev/pts</userinput></screen> diff --git a/chapter07/udev.xml b/chapter07/udev.xml index e78ae78e3..9d1946d4b 100644 --- a/chapter07/udev.xml +++ b/chapter07/udev.xml @@ -27,7 +27,7 @@ numbers for every possible device that might exist in the world. Using the udev method, only those devices which are detected by the kernel get device nodes created for them. Because these device nodes will be created each time the system boots, they will be stored on a -<systemitem class="filesystem">ramfs</systemitem> (a file system that +<systemitem class="filesystem">tmpfs</systemitem> (a file system that resides entirely in memory and does not take up any disk space). Device nodes do not require much disk space, so the memory that is used is negligible.</para> diff --git a/general.ent b/general.ent index a00cb10f2..75b2a171a 100644 --- a/general.ent +++ b/general.ent @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="ISO-8859-1"?> -<!ENTITY version "TESTING-20050627"> -<!ENTITY releasedate "June 27, 2005"> +<!ENTITY version "TESTING-20050628"> +<!ENTITY releasedate "June 28, 2005"> <!ENTITY milestone "6.1"> <!ENTITY generic-version "testing"> <!-- Use "svn", "testing", or "x.y[-pre{x}]" --> |