[lfs-book] r9932 - trunk/udev-lfs

bdubbs at linuxfromscratch.org bdubbs at linuxfromscratch.org
Sun Aug 12 11:51:40 PDT 2012


Author: bdubbs
Date: 2012-08-12 12:51:28 -0600 (Sun, 12 Aug 2012)
New Revision: 9932

Added:
   trunk/udev-lfs/udevd.8
Modified:
   trunk/udev-lfs/Makefile.lfs
   trunk/udev-lfs/README
   trunk/udev-lfs/cfg.h
   trunk/udev-lfs/makefile-incl.keymap
Log:
udev-lfs updates for systemd-188

Modified: trunk/udev-lfs/Makefile.lfs
===================================================================
--- trunk/udev-lfs/Makefile.lfs	2012-08-07 16:34:02 UTC (rev 9931)
+++ trunk/udev-lfs/Makefile.lfs	2012-08-12 18:51:28 UTC (rev 9932)
@@ -4,7 +4,7 @@
 # vim: tabstop=3
 
 SHELL=/bin/bash
-VERSION=187
+VERSION=188
 
 ifeq ($(V),)
  VB = @

Modified: trunk/udev-lfs/README
===================================================================
--- trunk/udev-lfs/README	2012-08-07 16:34:02 UTC (rev 9931)
+++ trunk/udev-lfs/README	2012-08-12 18:51:28 UTC (rev 9932)
@@ -7,7 +7,7 @@
 from the LFS file mirrors.  The tarball is created with:
 
 mkdir /tmp/udev-lfs-$VERSION
-cp av * /tmp/udev-lfs-$VERSION
+cp -av * /tmp/udev-lfs-$VERSION
 tar -jcf /tmp/udev-lfs-$VERSION.tar.bz2 -C /tmp udev-lfs-$VERSION
 
 Makefile.lfs         - The main LFS Makefile.  Builds and installs

Modified: trunk/udev-lfs/cfg.h
===================================================================
--- trunk/udev-lfs/cfg.h	2012-08-07 16:34:02 UTC (rev 9931)
+++ trunk/udev-lfs/cfg.h	2012-08-12 18:51:28 UTC (rev 9932)
@@ -40,5 +40,5 @@
 /* Enable GNU extensions on systems that have them.  */
 # define _GNU_SOURCE 1
 /* Version number of package */
-#define VERSION "187"
+#define VERSION "188"
 

Modified: trunk/udev-lfs/makefile-incl.keymap
===================================================================
--- trunk/udev-lfs/makefile-incl.keymap	2012-08-07 16:34:02 UTC (rev 9931)
+++ trunk/udev-lfs/makefile-incl.keymap	2012-08-12 18:51:28 UTC (rev 9932)
@@ -112,7 +112,7 @@
    END{print "};"                                      \
    }' $< > $@
 
-build/keymap: src/udev/keymap/keymap.c build/$(COMMON_LIB) $(KEYMAP_DEPS)
+build/keymap: cfg.h src/udev/keymap/keymap.c build/$(COMMON_LIB) $(KEYMAP_DEPS)
 	@echo LINK $@
 	$(VB)gcc $< -o $@ -I src/udev/keymap $(WARN) $(OPTIONS2) $(INCLUDE) $(DEF) \
       build/$(COMMON_LIB) $(LDFLAGS)

Added: trunk/udev-lfs/udevd.8
===================================================================
--- trunk/udev-lfs/udevd.8	                        (rev 0)
+++ trunk/udev-lfs/udevd.8	2012-08-12 18:51:28 UTC (rev 9932)
@@ -0,0 +1,115 @@
+.\"     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 (LFS modified man page)" "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-book mailing list