Changeset e9ba8aa8
- Timestamp:
- 01/16/2012 06:34:31 PM (12 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- f70b664
- Parents:
- 6c3ab2e
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/lfs/init.d/mountfs
r6c3ab2e re9ba8aa8 47 47 mount -f /sys || failed=1 48 48 mount -f /run || failed=1 49 mount -f /dev || failed=1 49 50 (exit ${failed}) 50 51 evaluate_retval -
bootscripts/lfs/init.d/mountvirtfs
r6c3ab2e re9ba8aa8 42 42 if ! mountpoint /proc >/dev/null; then 43 43 log_info_msg2 " ${INFO}/proc" 44 mount -n /proc || failed=144 mount -n -o nosuid,noexec,nodev /proc || failed=1 45 45 fi 46 46 47 47 if ! mountpoint /sys >/dev/null; then 48 48 log_info_msg2 " ${INFO}/sys" 49 mount -n /sys || failed=149 mount -n -o nosuid,noexec,nodev /sys || failed=1 50 50 fi 51 52 if ! mountpoint /dev >/dev/null; then 53 log_info_msg2 " ${INFO}/dev" 54 mount -n -o mode=0755,nosuid /dev || failed=1 55 fi 56 57 ln -s /run/shm /dev/shm 58 59 # Copy the only static device node that Udev >= 155 doesn't 60 # handle to /dev 61 cp -a /lib/udev/devices/null /dev 51 62 52 63 (exit ${failed}) -
bootscripts/lfs/init.d/udev
r6c3ab2e re9ba8aa8 44 44 fi 45 45 46 # Mount a temporary file system over /dev, so that any devices47 # made or removed during this boot don't affect the next one.48 # The reason we don't write to mtab is because we don't ever49 # want /dev to be unavailable (such as by `umount -a').50 if ! mountpoint /dev > /dev/null; then51 mount -n -t tmpfs tmpfs /dev -o mode=75552 fi53 54 if [ ${?} != 0 ]; then55 log_failure_msg256 msg="FAILURE:\n\nCannot mount a tmpfs "57 msg="${msg}onto /dev, this system will be halted.\n\n"58 msg="${msg}After you press Enter, this system "59 msg="${msg}will be halted and powered off.\n\n"60 log_failure_msg "$msg"61 log_info_msg "Press Enter to continue..."62 wait_for_user63 /etc/rc.d/init.d/halt stop64 fi65 66 ln -s /run/shm /dev/shm67 68 46 # Udev handles uevents itself, so we don't need to have 69 47 # the kernel call out to any binary in response to them 70 48 echo > /proc/sys/kernel/hotplug 71 72 # Copy the only static device node that Udev >= 155 doesn't73 # handle to /dev74 cp -a /lib/udev/devices/null /dev75 49 76 50 # Start the udev daemon to continually watch for, and act on, -
chapter01/changelog.xml
r6c3ab2e re9ba8aa8 39 39 40 40 <listitem> 41 <para>2012-01-16</para> 42 <itemizedlist> 43 <listitem> 44 <para>[bdubbs] - Change bootscripts to use devtmpfs for /dev. 45 Move mounting of /dev to mountvirtfs and ensure /dev gets 46 placed in /etc/mtab. Change fstab and kernel configuration 47 sections to reflect these changes.</para> 48 </listitem> 49 </itemizedlist> 50 </listitem> 51 52 <listitem> 41 53 <para>2012-01-11</para> 42 54 <itemizedlist> -
chapter08/fstab.xml
r6c3ab2e re9ba8aa8 23 23 <literal># Begin /etc/fstab 24 24 25 # file system mount-point type optionsdump fsck26 # order25 # file system mount-point type options dump fsck 26 # order 27 27 28 /dev/<replaceable><xxx></replaceable> / <replaceable><fff></replaceable> defaults 1 1 29 /dev/<replaceable><yyy></replaceable> swap swap pri=1 0 0 30 proc /proc proc defaults 0 0 31 sysfs /sys sysfs defaults 0 0 32 devpts /dev/pts devpts gid=4,mode=620 0 0 33 tmpfs /run tmpfs defaults 0 0 28 /dev/<replaceable><xxx></replaceable> / <replaceable><fff></replaceable> defaults 1 1 29 /dev/<replaceable><yyy></replaceable> swap swap pri=1 0 0 30 proc /proc proc nosuid,noexec,nodev 0 0 31 sysfs /sys sysfs nosuid,noexec,nodev 0 0 32 devpts /dev/pts devpts gid=4,mode=620 0 0 33 tmpfs /run tmpfs defaults 0 0 34 devtmpfs /dev devtmpfs mode=0755,nosuid 0 0 35 34 36 # End /etc/fstab</literal> 35 37 EOF</userinput></screen> -
chapter08/kernel.xml
r6c3ab2e re9ba8aa8 59 59 <para>Configure the kernel via a menu-driven interface. For general 60 60 information on kernel configuration see <ulink 61 url="&hints-root;kernel-configuration.txt"/>. BLFS has some 61 url="&hints-root;kernel-configuration.txt"/>. BLFS has some information 62 62 regarding particular kernel configuration requirements of packages outside 63 63 of LFS at <ulink 64 url="&blfs-root;view/svn/longindex.html#kernel-config-index"/>:</para> 64 url="&blfs-root;view/svn/longindex.html#kernel-config-index"/>. </para> 65 66 <note><para>Due to recent changes in <application>udev</application>, be sure to 67 select:</para> 68 69 <screen role="nodump">Device Drivers ---> 70 Generic Driver Options ---> 71 Maintain a devtmpfs filesystem to mount at /dev</screen></note> 65 72 66 73 <screen role="nodump"><userinput>make LANG=<replaceable><host_LANG_value></replaceable> LC_ALL= menuconfig</userinput></screen> -
general.ent
r6c3ab2e re9ba8aa8 1 <!ENTITY version "SVN-2012011 1">2 <!ENTITY releasedate "Jan 1 1, 2012">1 <!ENTITY version "SVN-20120116"> 2 <!ENTITY releasedate "Jan 16, 2012"> 3 3 <!ENTITY copyrightdate "1999-2012"><!-- jhalfs needs a literal dash, not – --> 4 4 <!ENTITY milestone "7.1"> -
packages.ent
r6c3ab2e re9ba8aa8 298 298 <!ENTITY less-ch6-sbu "less than 0.1 SBU"> 299 299 300 <!ENTITY lfs-bootscripts-version "201 11128"> <!-- Scripts depend on this format -->300 <!ENTITY lfs-bootscripts-version "20120116"> <!-- Scripts depend on this format --> 301 301 <!ENTITY lfs-bootscripts-size "BOOTSCRIPTS-SIZE KB"> <!-- Updated in Makefile --> 302 302 <!ENTITY lfs-bootscripts-url "&downloads-root;lfs-bootscripts-&lfs-bootscripts-version;.tar.bz2">
Note:
See TracChangeset
for help on using the changeset viewer.