Changeset 9b463a2


Ignore:
Timestamp:
03/24/2022 05:12:12 PM (2 years ago)
Author:
Bruce Dubbs <bdubbs@…>
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.
Message:

Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • bootscripts/lfs/init.d/mountvirtfs

    rbcb20b4 r9b463a2  
    33# Begin mountvirtfs
    44#
    5 # Description : Mount proc, sysfs, and run
     5# Description : Ensure proc, sysfs, run, and dev are mounted
    66#
    77# Authors     : Gerard Beekmans - gerard@linuxfromscratch.org
     
    2121# Default-Start:       S
    2222# 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
    2524# Description:         Mounts /sys and /proc virtual (kernel) filesystems.
    2625#                      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.
    2729# X-LFS-Provided-By:   LFS
    2830### END INIT INFO
  • chapter09/usage.xml

    rbcb20b4 r9b463a2  
    3636<literallayout>0: halt the computer
    37371: single-user mode
    38 2: multi-user mode without networking
     382: reserved for customization, otherwise does the same as 3
    39393: multi-user mode with networking
    40404: 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>)
     415: same as 4, it is usually used for GUI login (like GNOME's <command>gdm</command> or LXDE's <command>lxdm</command>)
    42426: 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>
    4353
    4454  </sect2>
     
    128138  class="directory">/etc/rc.d</filename> that look like <filename
    129139  class="directory">rc?.d</filename> (where ? is the number of the run-level) and
    130   <filename class="directory">rcsysinit.d</filename>, all containing a number of
     140  <filename class="directory">rcS.d</filename>, all containing a number of
    131141  symbolic links. Some begin with a <emphasis>K</emphasis>, the others begin with
    132142  an <emphasis>S</emphasis>, and all of them have two numbers following the
     
    156166  <parameter>stop</parameter> to stop something. The logic behind this
    157167  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>
    159173
    160174  <para>These are descriptions of what the arguments make the scripts
  • chapter10/kernel.xml

    rbcb20b4 r9b463a2  
    114114  Generic Driver Options  ---&gt;
    115115   [ ] 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>
    117118
    118119      <screen role="nodump" revision="systemd">General setup -->
    119120   [ ] Auditing Support [CONFIG_AUDIT]
     121   CPU/Task time and stats accounting ---&gt;
     122      [*] Pressure stall information tracking [CONFIG_PSI]
    120123   &lt; &gt; Enable kernel headers through /sys/kernel/kheaders.tar.xz [CONFIG_IKHEADERS]
    121124   [*] Control Group support [CONFIG_CGROUPS]   ---&gt;
     
    124127   [*] Configure standard kernel features (expert users) [CONFIG_EXPERT] ---&gt;
    125128      [*] open by fhandle syscalls [CONFIG_FHANDLE]
    126    CPU/Task time and stats accounting ---&gt;
    127       [*] Pressure stall information tracking [CONFIG_PSI]
    128129General architecture-dependent options  ---&gt;
    129130   [*] Enable seccomp to safely compute untrusted bytecode [CONFIG_SECCOMP]
     
    132133   &lt;*&gt; The IPv6 protocol [CONFIG_IPV6]
    133134Device Drivers  ---&gt;
     135  Generic Driver Options  ---&gt;
     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 ---&gt;
     140      [ ] Enable the firmware sysfs fallback mechanism [CONFIG_FW_LOADER_USER_HELPER]
    134141  Firmware Drivers   ---&gt;
    135142   [*] Export DMI identification via sysfs to userspace [CONFIG_DMIID]
    136143  Graphics support ---&gt;
    137144   Frame buffer Devices ---&gt;
    138       [*] Support for frame buffer devices ----
    139   Generic Driver Options  ---&gt;
    140    [ ] Support for uevent helper [CONFIG_UEVENT_HELPER]
    141    [*] Maintain a devtmpfs filesystem to mount at /dev [CONFIG_DEVTMPFS]
    142    Firmware Loader ---&gt;
    143       [ ] Enable the firmware sysfs fallback mechanism [CONFIG_FW_LOADER_USER_HELPER]
     145      &lt;*&gt; Support for frame buffer devices ---&gt;
    144146File systems  ---&gt;
    145147   [*] Inotify support for userspace [CONFIG_INOTIFY_USER]
    146   Pseudo filesystems  ---&gt;
    147    [*] Tmpfs POSIX Access Control Lists [CONFIG_TMPFS_POSIX_ACL]</screen>
     148       Pseudo filesystems  ---&gt;
     149        [*] Tmpfs POSIX Access Control Lists [CONFIG_TMPFS_POSIX_ACL]</screen>
    148150    </note>
    149151
     
    197199          managing permissions and adding symlinks.  This configuration
    198200          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>
    199210        </listitem>
    200211      </varlistentry>
Note: See TracChangeset for help on using the changeset viewer.