Changeset 7c1fce4e
- Timestamp:
- 05/08/2021 01:19:49 PM (21 months ago)
- Branches:
- xry111/usr-move
- Children:
- c7ef59f
- Parents:
- be628b7
- git-author:
- Xi Ruoyao <xry111@…> (05/08/2021 01:17:59 PM)
- git-committer:
- Xi Ruoyao <xry111@…> (05/08/2021 01:19:49 PM)
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/eudev.xml
rbe628b7 r7c1fce4e 65 65 will also be used as a part of installation:</para> 66 66 67 <screen><userinput remap="test">mkdir -pv / lib/udev/rules.d67 <screen><userinput remap="test">mkdir -pv /usr/lib/udev/rules.d 68 68 mkdir -pv /etc/udev/rules.d</userinput></screen> 69 69 … … 98 98 <para>Information about hardware devices is maintained in the 99 99 <filename class="directory">/etc/udev/hwdb.d</filename> and 100 <filename class="directory">/ lib/udev/hwdb.d</filename> directories.100 <filename class="directory">/usr/lib/udev/hwdb.d</filename> directories. 101 101 <application>Eudev</application> needs that information to be compiled 102 102 into a binary database <filename>/etc/udev/hwdb.bin</filename>. Create the … … 119 119 120 120 <seglistitem> 121 <seg><!-- These are in / lib/udev and not to be called by the user:121 <seg><!-- These are in /usr/lib/udev and not to be called by the user: 122 122 accelerometer, ata_id, cdrom_id, collect, mtd_probe, 123 123 scsi_id, v4l_id,--> udevadm and udevd</seg> … … 125 125 <seg>libudev.so</seg> 126 126 127 <seg>/etc/udev, / lib/udev, and /usr/share/doc/udev-&udev-lfs-version;</seg>127 <seg>/etc/udev, /usr/lib/udev, and /usr/share/doc/udev-&udev-lfs-version;</seg> 128 128 </seglistitem> 129 129 </segmentedlist> -
chapter08/glibc.xml
rbe628b7 r7c1fce4e 222 222 223 223 <screen revision="systemd"><userinput remap="install">install -v -Dm644 ../nscd/nscd.tmpfiles /usr/lib/tmpfiles.d/nscd.conf 224 install -v -Dm644 ../nscd/nscd.service / lib/systemd/system/nscd.service</userinput></screen>224 install -v -Dm644 ../nscd/nscd.service /usr/lib/systemd/system/nscd.service</userinput></screen> 225 225 226 226 <para>Next, install the locales that can make the system respond in a -
chapter08/systemd.xml
rbe628b7 r7c1fce4e 240 240 <seg>libnss_myhostname.so.2, libnss_mymachines.so.2, 241 241 libnss_resolve.so.2, libnss_systemd.so.2, 242 libsystemd.so, libsystemd-shared-&systemd-version;.so (in / lib/systemd),242 libsystemd.so, libsystemd-shared-&systemd-version;.so (in /usr/lib/systemd), 243 243 and libudev.so</seg> 244 244 <seg>/etc/binfmt.d, /etc/init.d, /etc/kernel, /etc/modules-load.d, 245 245 /etc/sysctl.d, /etc/systemd, /etc/tmpfiles.d, /etc/udev, 246 /etc/xdg/systemd, / lib/systemd,/lib/udev, /usr/include/systemd,246 /etc/xdg/systemd, /usr/lib/systemd, /usr/lib/udev, /usr/include/systemd, 247 247 /usr/lib/binfmt.d, /usr/lib/environment.d, /usr/lib/kernel, 248 248 /usr/lib/modules-load.d, /usr/lib/sysctl.d, /usr/lib/systemd, -
chapter09/symlinks.xml
rbe628b7 r7c1fce4e 49 49 Generate these rules by running:</para> 50 50 51 <screen role="install"><userinput>bash / lib/udev/init-net-rules.sh</userinput></screen>51 <screen role="install"><userinput>bash /usr/lib/udev/init-net-rules.sh</userinput></screen> 52 52 53 53 <para> Now, inspect the -
chapter09/udev.xml
rbe628b7 r7c1fce4e 109 109 udevd</command>. Based on the rules specified in the files within the 110 110 <filename class="directory">/etc/udev/rules.d</filename>, <filename 111 class="directory">/ lib/udev/rules.d</filename>, and <filename111 class="directory">/usr/lib/udev/rules.d</filename>, and <filename 112 112 class="directory">/run/udev/rules.d</filename> directories, <command> 113 113 udevd</command> will create additional symlinks to the device node, or … … 286 286 <systemitem class="filesystem">sysfs</systemitem>. This is most common 287 287 with third party drivers from outside the kernel tree. Create a static 288 device node in <filename>/ lib/udev/devices</filename> with the288 device node in <filename>/usr/lib/udev/devices</filename> with the 289 289 appropriate major/minor numbers (see the file 290 290 <filename>devices.txt</filename> inside the kernel documentation or the
Note:
See TracChangeset
for help on using the changeset viewer.