2 % This is part of LFSbookja package.
4 % This is a CTIE change file for the original XML source of the LFSbook.
7 <?xml version="1.0" encoding="ISO-8859-1"?>
9 <?xml version="1.0" encoding="UTF-8"?>
13 <title>Udev from Systemd-&systemd-version;</title>
15 <title>Systemd-&systemd-version; から取り出した Udev</title>
19 <para>The Udev package contains programs for dynamic creation of device
23 Udev パッケージはデバイスノードを動的に生成するプログラムを提供します。
28 <title>Installation of Udev</title>
30 <title>&InstallationOf1;Udev&InstallationOf2;</title>
34 <para>Udev is part of the systemd-&systemd-version; package. Use
35 the systemd-&systemd-version;.tar.xz file as the source tarball.</para>
38 Udev は systemd-&systemd-version; パッケージの一部です。
39 ソース tarball としては systemd-&systemd-version;.tar.xz ファイルを用います。
44 <para>Remove two unneeded groups,
45 <systemitem class="groupname">render</systemitem> and
46 <systemitem class="groupname">sgx</systemitem>, from the default udev
50 <systemitem class="groupname">render</systemitem> と <systemitem
51 class="groupname">sgx</systemitem> という 2 つのグループが不要であるため、デフォルトの udev ルールから削除します。
56 <para>Remove one udev rule requiring a full Systemd installation:</para>
59 Systemd を完全にインストールしていることを前提としている udev ルールを削除します。
64 <para>Prepare Udev for compilation:</para>
66 <para>&PreparePackage1;Udev&PreparePackage2;</para>
70 <title>The meaning of the meson options:</title>
72 <title>&MeaningOfOption1;meson&MeaningOfOption2;</title>
75 @x --buildtype=release
76 <para>This switch overrides the default buildtype
77 (<quote>debug</quote>), which produces unoptimized
81 本スイッチはデフォルトのビルドタイプ (<quote>debug</quote>) をオーバーライドします。
82 そのデフォルトでは、最適化されていないバイナリーが生成されます。
87 <para>Disable some features considered experimental by upstream.
91 アップストリームが試験的なものとしている機能を無効化します。
95 @x -Ddev-kvm-mode=0660
96 <para>The default udev rule would allow all users to access
97 <filename class='devicefile'>/dev/kvm</filename>. The editors
98 consider it dangerous. This option overrides it.</para>
101 デフォルトの udev ルールは、全ユーザーが <filename
102 class='devicefile'>/dev/kvm</filename> にアクセスできるようになります。
103 しかし本書ではこれは危険なものと捉えています。
104 本オプションはこれをオーバーライドします。
108 @x -Dlink-udev-shared=false
109 <para>This option prevents udev from linking to the internal
110 systemd shared library,
111 <systemitem class='library'>libsystemd-shared</systemitem>.
112 This library is designed to be shared by many Systemd components
113 and it's too overkill for a udev-only installation.</para>
116 本オプションは、内部提供されている systemd 共有ライブラリ <systemitem
117 class='library'>libsystemd-shared</systemitem> を udev にリンクしないようにします。
118 このライブラリは Systemd 内の数多くのライブラリが共有するものとして作られていますが、udev のみをインストールする際には少々おおげさなものです。
123 <para>Only build the components needed for udev:</para>
126 udev に必要となるコンポーネントのみをビルドします。
131 <para>Remove one udev rule file requiring a full Systemd
135 Systemd を完全にインストールしていることを前提としている udev ルールを削除します。
140 <para>Install the package:</para>
142 <para>&InstallThePackage;</para>
146 <para>Install some custom rules and support files useful in an LFS
150 LFS 環境において有用となるカスタムルールやサポートファイルをインストールします。
155 <para>Install the man pages:</para>
163 <title>Configuring Udev</title>
165 <title>&Configuring1;Udev&Configuring2;</title>
169 <secondary>configuring</secondary>
171 <secondary>設定</secondary>
175 <para>Information about hardware devices is maintained in the
176 <filename class="directory">/etc/udev/hwdb.d</filename> and
177 <filename class="directory">/usr/lib/udev/hwdb.d</filename> directories.
178 <application>Udev</application> needs that information to be compiled
179 into a binary database <filename>/etc/udev/hwdb.bin</filename>. Create the
180 initial database:</para>
183 ハードウェアデバイスに関する情報は <filename class="directory">/etc/udev/hwdb.d</filename> と <filename
184 class="directory">/usr/lib/udev/hwdb.d</filename> の両ディレクトリ内にて保守されています。
185 <application>Udev</application> にとってこれらの情報は、バイナリーデータベース <filename>/etc/udev/hwdb.bin</filename> にコンパイルするために必要となります。
186 初期データベースを以下のようにして生成します。
191 <para>This command needs to be run each time the hardware information is
195 このコマンドは、ハードウェア情報が更新されるたびに実行する必要があります。
200 <title>Contents of Udev</title>
202 <title>&ContentsOf1;Udev&ContentsOf2;</title>
206 <segtitle>Installed programs</segtitle>
207 <segtitle>Installed libraries</segtitle>
208 <segtitle>Installed directories</segtitle>
210 <segtitle>&InstalledProgram;</segtitle>
211 <segtitle>&InstalledLibrary;</segtitle>
212 <segtitle>&InstalledDirectory;</segtitle>
216 <seg>udevadm, udevd (symlink to udevadm), and udev-hwdb</seg>
218 <seg>libudev.so</seg>
220 <seg>/etc/udev and /usr/lib/udev</seg>
222 <seg>udevadm, udevd (udevadm へのシンボリックリンク), udev-hwdb</seg>
224 <seg>libudev.so</seg>
226 <seg>/etc/udev, /usr/lib/udev</seg>
230 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
232 <bridgehead renderas="sect3">&ShortDescriptions;</bridgehead>
236 <para>Generic udev administration tool: controls the udevd daemon,
237 provides info from the Udev database, monitors uevents, waits for
238 uevents to finish, tests Udev configuration, and triggers uevents
239 for a given device</para>
243 udevd デーモンの制御、Udev データベースデータからの情報提供、uevent の監視、uevent の完了までの待機、Udev 設定のテスト、指定デバイスに対する uevent の起動、といったことを行います。
248 <para>A daemon that listens for uevents on the netlink socket,
249 creates devices and runs the configured external programs in
250 response to these uevents</para>
253 netlink ソケット上の uevent を待ち受けるデーモン。
254 デバイスを生成し、その uevent に応じて設定された外部プログラムを実行します。
259 <para>Updates or queries the hardware database.</para>
262 ハードウェアデータベースの更新および参照を行います。
267 <para>A library interface to udev device information</para>
270 udev デバイス情報へのライブラリインターフェース。
275 <para>Contains Udev configuration files,
276 device permissions, and rules for device naming</para>
279 Udev 設定ファイル、デバイスのパーミッション、デバイスの命名規則を定めます。