[lfs-dev] Systemd Udev does not install libudev.h

Bruce Dubbs bruce.dubbs at gmail.com
Thu Jul 26 12:33:05 PDT 2012


Armin K. wrote:
> On 07/26/2012 05:53 PM, Bruce Dubbs wrote:
>> Armin K. wrote:
>>
>>> While it might be a correct way, I prefer mine. You don't generate them
>>> in build dir, but instead just direct the output to the dest .pc file.
>>
>> I prefer to build them so they can be examined before installation.
>> That could be in DESTDIR too, but this way doesn't require that.
>>
>
> Are you going to apply the changes when you finish the man page so I can
> check how it works?

Sure.  I've been out and will be working on the persistent net rules 
issue this afternoon.  I'll post when I have the new tarball completed, 
but hold off from changing LFS.

>   >> OK, I see the page is udevd.8.  I'll work on that.
>   >
>   > systemd has really messed up this page.  I'll need to rewrite it to get
>   > the cruft out.
>   >
>   > Done.  I'll add it later today.
>
> I don't know if it helps, but I have old udevd.8 man page (one from
> 182), I can send it to you if you want.

I attached what I have now for the man page.

   -- Bruce



-------------- next part --------------
.\"     Title: systemd-udevd.service
.\"    Author: Kay Sievers <kay at vrfy.org>
.\" Generator: DocBook XSL Stylesheets v1.77.1 <http://docbook.sf.net/>
.\"      Date: 07/20/2012
.\"    Manual: systemd-udevd.service
.\"    Source: systemd
.\"  Language: English
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" Manually updated for udev only for LFS by BRuce Dubbs
.\" <bdubbs at linuxfromscratch.org>
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\"
.TH "UDEVD" "8" "" "systemd" "udevd"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
udevd \- Device event managing daemon
.SH "SYNOPSIS"
.PP
.HP \w'\fB/usr/lib/udevd\fR\ 'u
\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]
.SH "DESCRIPTION"
.PP
udevd listens to kernel uevents\&. For every event, udevd executes matching instructions specified in udev rules\&. See
\fBudev\fR(7)\&.
.PP
The behavior of the running daemon can be changed with
\fBudevadm control\fR\&.
.SH "OPTIONS"
.PP
\fB\-\-daemon\fR
.RS 4
Detach and run in the background\&.
.RE
.PP
\fB\-\-debug\fR
.RS 4
Print debug messages to stderr\&.
.RE
.PP
\fB\-\-children\-max=\fR
.RS 4
Limit the number of parallel executed events\&.
.RE
.PP
\fB\-\-exec\-delay=\fR
.RS 4
Number of seconds to delay the execution of RUN instructions\&. This might be useful when debugging system crashes during coldplug cause by loading non\-working kernel modules\&.
.RE
.PP
\fB\-\-resolve\-names=\fR
.RS 4
Specify when udevd should resolve names of users and groups\&. When set to
\fBearly\fR
(the default) names will be resolved when the rules are parsed\&. When set to
\fBlate\fR
names will be resolved for every event\&. When set to
\fBnever\fR
names will never be resolved and all devices will be owned by root\&.
.RE
.PP
\fB\-\-version\fR
.RS 4
Print version number\&.
.RE
.PP
\fB\-\-help\fR
.RS 4
Print help text\&.
.RE
.SH "ENVIRONMENT"
.PP
\fIUDEV_LOG=\fR
.RS 4
Set the logging priority\&.
.RE
.SH "KERNEL COMMAND LINE"
.PP
The parameters starting with "rd\&.", will be read when udev is used in an initrd\&.
.PP
\fIudev\&.log\-priority=\fR, \fIrd\&.udev\&.log\-priority=\fR
.RS 4
Set the logging priority\&.
.RE
.PP
\fIudev\&.children\-max=\fR, \fIrd\&.udev\&.children\-max=\fR
.RS 4
Limit the number of parallel executed events\&.
.RE
.PP
\fIudev\&.exec\-delay=\fR, \fIrd\&.udev\&.exec\-delay=\fR
.RS 4
Number of seconds to delay the execution of RUN instructions\&. This might be useful when debugging system crashes during coldplug cause by loading non\-working kernel modules\&.
.RE
.SH "SEE ALSO"
.PP
\fBudev\fR(7),
\fBudevadm\fR(8)


More information about the lfs-dev mailing list