Changeset 9b463a2
- Timestamp:
- 03/24/2022 05:12:12 PM (2 years ago)
- Branches:
- 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 051c160, a18e40d
- Parents:
- bcb20b4 (diff), b8a2b7e2 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/lfs/init.d/mountvirtfs
rbcb20b4 r9b463a2 3 3 # Begin mountvirtfs 4 4 # 5 # Description : Mount proc, sysfs, and run5 # Description : Ensure proc, sysfs, run, and dev are mounted 6 6 # 7 7 # Authors : Gerard Beekmans - gerard@linuxfromscratch.org … … 21 21 # Default-Start: S 22 22 # Default-Stop: 23 # Short-Description: Mounts /sys and /proc virtual (kernel) filesystems. 24 # Mounts /run (tmpfs) and /dev (devtmpfs). 23 # Short-Description: Mounts various special fs needed at start 25 24 # Description: Mounts /sys and /proc virtual (kernel) filesystems. 26 25 # Mounts /run (tmpfs) and /dev (devtmpfs). 26 # This is done only if they are not already mounted. 27 # with the kernel config proposed in the book, dev 28 # should be automatically mounted by the kernel. 27 29 # X-LFS-Provided-By: LFS 28 30 ### END INIT INFO -
chapter09/usage.xml
rbcb20b4 r9b463a2 36 36 <literallayout>0: halt the computer 37 37 1: single-user mode 38 2: multi-user mode without networking38 2: reserved for customization, otherwise does the same as 3 39 39 3: multi-user mode with networking 40 40 4: reserved for customization, otherwise does the same as 3 41 5: same as 4, it is usually used for GUI login (like X's <command>xdm</command> or KDE's <command>kdm</command>)41 5: same as 4, it is usually used for GUI login (like GNOME's <command>gdm</command> or LXDE's <command>lxdm</command>) 42 42 6: reboot the computer</literallayout> 43 44 <note> 45 <para> 46 Classically, run level 2 above was defined as 47 "multi-user mode without networking", but this was only the case 48 many years ago when multiple users could log into a system connected via 49 serial ports. In today's environment it makes no sense and 50 we designate it now as "reserved". 51 </para> 52 </note> 43 53 44 54 </sect2> … … 128 138 class="directory">/etc/rc.d</filename> that look like <filename 129 139 class="directory">rc?.d</filename> (where ? is the number of the run-level) and 130 <filename class="directory">rc sysinit.d</filename>, all containing a number of140 <filename class="directory">rcS.d</filename>, all containing a number of 131 141 symbolic links. Some begin with a <emphasis>K</emphasis>, the others begin with 132 142 an <emphasis>S</emphasis>, and all of them have two numbers following the … … 156 166 <parameter>stop</parameter> to stop something. The logic behind this 157 167 is that when a user is going to reboot or halt the system, nothing 158 needs to be started. The system only needs to be stopped.</para> 168 needs to be started, but the order of shutdown needs to be controlled. 169 For these run levels, all <emphasis>K</emphasis> prefixed scripts will be 170 run before any <emphasis>S</emphasis> prefixed scripts are run with the 171 <parameter>stop</parameter> parameter. 172 </para> 159 173 160 174 <para>These are descriptions of what the arguments make the scripts -
chapter10/kernel.xml
rbcb20b4 r9b463a2 114 114 Generic Driver Options ---> 115 115 [ ] Support for uevent helper [CONFIG_UEVENT_HELPER] 116 [*] Maintain a devtmpfs filesystem to mount at /dev [CONFIG_DEVTMPFS]</screen> 116 [*] Maintain a devtmpfs filesystem to mount at /dev [CONFIG_DEVTMPFS] 117 [*] Automount devtmpfs at /dev, after the kernel mounted the rootfs [CONFIG_DEVTMPFS_MOUNT]</screen> 117 118 118 119 <screen role="nodump" revision="systemd">General setup --> 119 120 [ ] Auditing Support [CONFIG_AUDIT] 121 CPU/Task time and stats accounting ---> 122 [*] Pressure stall information tracking [CONFIG_PSI] 120 123 < > Enable kernel headers through /sys/kernel/kheaders.tar.xz [CONFIG_IKHEADERS] 121 124 [*] Control Group support [CONFIG_CGROUPS] ---> … … 124 127 [*] Configure standard kernel features (expert users) [CONFIG_EXPERT] ---> 125 128 [*] open by fhandle syscalls [CONFIG_FHANDLE] 126 CPU/Task time and stats accounting --->127 [*] Pressure stall information tracking [CONFIG_PSI]128 129 General architecture-dependent options ---> 129 130 [*] Enable seccomp to safely compute untrusted bytecode [CONFIG_SECCOMP] … … 132 133 <*> The IPv6 protocol [CONFIG_IPV6] 133 134 Device Drivers ---> 135 Generic Driver Options ---> 136 [ ] Support for uevent helper [CONFIG_UEVENT_HELPER] 137 [*] Maintain a devtmpfs filesystem to mount at /dev [CONFIG_DEVTMPFS] 138 [*] Automount devtmpfs at /dev, after the kernel mounted the rootfs [CONFIG_DEVTMPFS_MOUNT] 139 Firmware Loader ---> 140 [ ] Enable the firmware sysfs fallback mechanism [CONFIG_FW_LOADER_USER_HELPER] 134 141 Firmware Drivers ---> 135 142 [*] Export DMI identification via sysfs to userspace [CONFIG_DMIID] 136 143 Graphics support ---> 137 144 Frame buffer Devices ---> 138 [*] Support for frame buffer devices ---- 139 Generic Driver Options ---> 140 [ ] Support for uevent helper [CONFIG_UEVENT_HELPER] 141 [*] Maintain a devtmpfs filesystem to mount at /dev [CONFIG_DEVTMPFS] 142 Firmware Loader ---> 143 [ ] Enable the firmware sysfs fallback mechanism [CONFIG_FW_LOADER_USER_HELPER] 145 <*> Support for frame buffer devices ---> 144 146 File systems ---> 145 147 [*] Inotify support for userspace [CONFIG_INOTIFY_USER] 146 Pseudo filesystems --->147 [*] Tmpfs POSIX Access Control Lists [CONFIG_TMPFS_POSIX_ACL]</screen>148 Pseudo filesystems ---> 149 [*] Tmpfs POSIX Access Control Lists [CONFIG_TMPFS_POSIX_ACL]</screen> 148 150 </note> 149 151 … … 197 199 managing permissions and adding symlinks. This configuration 198 200 item is required for all users of Udev/Eudev.</para> 201 </listitem> 202 </varlistentry> 203 204 <varlistentry> 205 <term><parameter>Automount devtmpfs at /dev</parameter></term> 206 <listitem> 207 <para>This will mount the kernel view of the devices on /dev 208 upon switching to root filesystem just before starting 209 init.</para> 199 210 </listitem> 200 211 </varlistentry>
Note:
See TracChangeset
for help on using the changeset viewer.