udevd.8 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. '\" t
  2. .TH "SYSTEMD\-UDEVD\&.SERVICE" "8" "" "systemd 202" "udevd"
  3. .\" -----------------------------------------------------------------
  4. .\" * Define some portability stuff
  5. .\" -----------------------------------------------------------------
  6. .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  7. .\" http://bugs.debian.org/507673
  8. .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
  9. .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  10. .ie \n(.g .ds Aq \(aq
  11. .el .ds Aq '
  12. .\" -----------------------------------------------------------------
  13. .\" * set default formatting
  14. .\" -----------------------------------------------------------------
  15. .\" disable hyphenation
  16. .nh
  17. .\" disable justification (adjust text to left margin only)
  18. .ad l
  19. .\" -----------------------------------------------------------------
  20. .\" * MAIN CONTENT STARTS HERE *
  21. .\" -----------------------------------------------------------------
  22. .SH "NAME"
  23. udevd \- Device event managing daemon
  24. .SH "SYNOPSIS"
  25. .HP \w'\fB/usr/lib/udevd\fR\ 'u
  26. \fB/lib/udev/udevd\fR [\fB\-\-daemon\fR] [\fB\-\-debug\fR] [\fB\-\-children\-max=\fR] [\fB\-\-exec\-delay=\fR] [\fB\-\-resolve\-names=early|late|never\fR] [\fB\-\-version\fR] [\fB\-\-help\fR]
  27. .SH "DESCRIPTION"
  28. .PP
  29. \fBudevd\fR
  30. listens to kernel uevents\&. For every event, udevd executes matching instructions specified in udev rules\&. See
  31. \fBudev\fR(7)\&.
  32. .PP
  33. The behavior of the running daemon can be changed with
  34. \fBudevadm control\fR\&.
  35. .SH "OPTIONS"
  36. .PP
  37. \fB\-\-daemon\fR
  38. .RS 4
  39. Detach and run in the background\&.
  40. .RE
  41. .PP
  42. \fB\-\-debug\fR
  43. .RS 4
  44. Print debug messages to stderr\&.
  45. .RE
  46. .PP
  47. \fB\-\-children\-max=\fR
  48. .RS 4
  49. Limit the number of events executed in parallel\&.
  50. .RE
  51. .PP
  52. \fB\-\-exec\-delay=\fR
  53. .RS 4
  54. Delay the execution of RUN instruction by the given number of seconds\&. This option might be useful when debugging system crashes during coldplug caused by loading non\-working kernel modules\&.
  55. .RE
  56. .PP
  57. \fB\-\-resolve\-names=\fR
  58. .RS 4
  59. Specify when udevd should resolve names of users and groups\&. When set to
  60. \fBearly\fR
  61. (the default) names will be resolved when the rules are parsed\&. When set to
  62. \fBlate\fR
  63. names will be resolved for every event\&. When set to
  64. \fBnever\fR
  65. names will never be resolved and all devices will be owned by root\&.
  66. .RE
  67. .PP
  68. \fB\-\-version\fR
  69. .RS 4
  70. Print version number\&.
  71. .RE
  72. .PP
  73. \fB\-\-help\fR
  74. .RS 4
  75. Print help text\&.
  76. .RE
  77. .SH "ENVIRONMENT"
  78. .PP
  79. \fI$UDEV_LOG=\fR
  80. .RS 4
  81. Set the logging priority\&.
  82. .RE
  83. .SH "KERNEL COMMAND LINE"
  84. .PP
  85. Parameters starting with "rd\&." will be read when
  86. \fBudevd\fR
  87. is used in an initrd\&.
  88. .PP
  89. \fIudev\&.log\-priority=\fR, \fIrd\&.udev\&.log\-priority=\fR
  90. .RS 4
  91. Set the logging priority\&.
  92. .RE
  93. .PP
  94. \fIudev\&.children\-max=\fR, \fIrd\&.udev\&.children\-max=\fR
  95. .RS 4
  96. Limit the number of events executed in parallel\&.
  97. .RE
  98. .PP
  99. \fIudev\&.exec\-delay=\fR, \fIrd\&.udev\&.exec\-delay=\fR
  100. .RS 4
  101. Delay the execution of RUN instruction by the given number of seconds\&. This option might be useful when debugging system crashes during coldplug caused by loading non\-working kernel modules\&.
  102. .RE
  103. .PP
  104. \fInet\&.ifnames=\fR
  105. .RS 4
  106. Network interfaces are renamed to give them predictable names when possible\&. It is enabled by default, specifying 0 disables it\&.
  107. .RE
  108. .SH "CONFIGURATION FILE"
  109. .PP
  110. udev expects its main configuration file at
  111. /etc/udev/udev\&.conf\&. It consists of a set of variables allowing the user to override default udev values\&. All empty lines or lines beginning with \*(Aq#\*(Aq are ignored\&. The following variables can be set:
  112. .PP
  113. \fIudev_log\fR
  114. .RS 4
  115. The logging priority\&. Valid values are the numerical syslog priorities or their textual representations:
  116. \fBerr\fR,
  117. \fBinfo\fR
  118. and
  119. \fBdebug\fR\&.
  120. .RE
  121. .SH "SEE ALSO"
  122. .PP
  123. \fBudev\fR(7),
  124. \fBudevadm\fR(8)