mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 14:24:48 +00:00
* Update udev's explanatory text now that /etc/udev/permissions.d is no longer used
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4735 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
a52dc7ed76
commit
32f1773083
@ -94,19 +94,15 @@ match the descriptions. For example,
|
|||||||
<filename>/sys/class/tty/vcs/dev</filename> contains the string
|
<filename>/sys/class/tty/vcs/dev</filename> contains the string
|
||||||
<quote>7:0</quote> This string is used by <command>udevstart</command>
|
<quote>7:0</quote> This string is used by <command>udevstart</command>
|
||||||
to create <filename>/dev/vcs</filename> with major number
|
to create <filename>/dev/vcs</filename> with major number
|
||||||
<emphasis>7</emphasis> and minor <emphasis>0</emphasis>. The
|
<emphasis>7</emphasis> and minor <emphasis>0</emphasis>. The names and
|
||||||
permissions of each and every device that <command>udevstart</command>
|
permissions of the nodes created under the
|
||||||
creates are set using files from the <filename
|
<filename class="directory">/dev</filename> directory are configured according
|
||||||
class="directory">/etc/udev.d/permissions.d/</filename> directory.
|
to the rules specified in the files within the
|
||||||
These are numbered in a similar fashion to the LFS bootscripts. If
|
<filename class="directory">/etc/udev/rules.d/</filename> directory. These are
|
||||||
<command>udev</command> cannot find a permissions file for the device
|
numbered in a similar fashion to the LFS bootscripts. If
|
||||||
it is creating, it will default permissions to
|
<command>udev</command> can't find a rule for the device it is creating, it will
|
||||||
<emphasis>600</emphasis> and ownership to
|
default permissions to <emphasis>660</emphasis> and ownership to
|
||||||
<emphasis>root:root</emphasis>. The names of the nodes created under
|
<emphasis>root:root</emphasis>.</para>
|
||||||
the <filename class="directory">/dev</filename> directory are
|
|
||||||
configured according to the rules specified in the files within the
|
|
||||||
<filename class="directory">/etc/udev/rules.d/</filename>
|
|
||||||
directory.</para>
|
|
||||||
|
|
||||||
<para>Once the above stage is complete, all devices that were already
|
<para>Once the above stage is complete, all devices that were already
|
||||||
present and have compiled-in drivers will be available for use. What
|
present and have compiled-in drivers will be available for use. What
|
||||||
|
Loading…
Reference in New Issue
Block a user