Changeset 0000f26


Ignore:
Timestamp:
03/23/2022 04:24:57 PM (7 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/clfs-ng
Children:
31e8da4
Parents:
f232990 (diff), 6ad4730 (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' into xry111/clfs-ng

Files:
2 edited

Legend:

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

    rf232990 r0000f26  
    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
  • chapter10/kernel.xml

    rf232990 r0000f26  
    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.