Kay Sievers
c4f6dcc4a5
add IMPORT{cmdline}
2010-05-31 01:13:03 +02:00
Kay Sievers
1182b9470f
udevd: set umask before creating files/directories
2010-05-30 23:42:47 +02:00
Kay Sievers
b130944f99
man: udevd - update intro
2010-05-29 22:51:55 +02:00
Kay Sievers
8f7f1a2b52
man: add kernel command line parameters
2010-05-29 22:24:21 +02:00
Kay Sievers
9fa68615bb
man: add static device nodes and udevd debug options
2010-05-28 15:11:36 +02:00
Kay Sievers
c830e98d6a
udevd: read debug settings from kernel commandline
2010-05-28 12:07:27 +02:00
Kay Sievers
d4c1467f85
udevd: fix comments
2010-05-27 17:45:58 +02:00
Kay Sievers
337d102783
udevd: replace --debug-trace with --children-max
2010-05-27 17:41:51 +02:00
Kay Sievers
87d55ff672
childs -> children
2010-05-27 17:27:56 +02:00
Kay Sievers
88cbfb09ee
while (1) -> for (;;)
2010-05-27 15:11:00 +02:00
Kay Sievers
d80f8ffd1a
fix compilation with --enable-debug
2010-05-25 15:11:02 +02:00
Bryan Kadzban
4bfa5cf5c3
udevd: fix typo /proc/fd -> /proc/self/fd
2010-05-25 06:56:37 +02:00
Kay Sievers
63749b1a5f
man: directly use 'refentry'
...
And make Lennart happy! :)
2010-05-24 17:00:15 +02:00
Kay Sievers
761dfddcc0
create static nodes provided by kernel modules to allow module autoloading
2010-05-20 17:09:04 +02:00
Kay Sievers
f2291cd07f
fix tests and allow MODE=000
2010-05-20 14:51:18 +02:00
Kay Sievers
cb9a0eeeab
udevd: create standard symlinks and handle /lib/udev/devices
2010-05-20 09:04:26 +02:00
Kay Sievers
c1332ae898
use default mode of 0600 for nodes if gid == 0
2010-05-20 06:24:45 +02:00
Kay Sievers
e85f5ec15f
reset process priority before executing RUN+=
...
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=581235
2010-05-12 08:46:56 +02:00
Kay Sievers
79e1912b91
udevd: reload config only for *.rules files
2010-05-11 22:59:09 +02:00
Kay Sievers
d0d7b8d085
add info message when empty NAME is given
2010-05-07 22:57:20 +02:00
Kay Sievers
2f71757d1c
man: udevadm trigger - the default is "change" not "add"
2010-05-05 15:37:56 +02:00
Kay Sievers
75cb1ac51e
warn when renaming kernel-provided nodes instead of adding symlinks
2010-05-05 11:39:25 +02:00
Kay Sievers
6d80a7e83f
remove debug output during rules parsing
2010-05-03 18:09:25 +02:00
Kay Sievers
c7cdd8b2d2
remove unused parameter from udev_node_mknod()
2010-05-03 18:08:51 +02:00
Michael Thayer
c00b776880
fix device node deletion
...
Signed-off-by: Michael Thayer <michael.thayer@sun.com>
2010-05-01 17:29:24 +02:00
Kay Sievers
665ee17def
udevd: always try to find an idle worker instead of forking a new one
...
We special-handle events with a TIMEOUT= set, so they don't get queued
or wait for parent events to finish, to make sure we can handle them
as fast as possible.
With this change we first try to find an idle worker process before
forking a new one.
2010-04-26 12:25:59 +02:00
Kay Sievers
c1dbe11dc3
delete old tags when configuration changes
2010-04-23 09:01:56 +02:00
Kay Sievers
1dbfbfbea6
use the usual TAG+=, TAG= logic
2010-04-22 19:03:11 +02:00
Kay Sievers
3f896a2abd
all to match against a given TAG==
2010-04-22 18:33:24 +02:00
Kay Sievers
28460195c2
add TAG= to improve event filtering and device enumeration
2010-04-22 18:12:36 +02:00
Kay Sievers
e7964b93e8
udevadm: info --export-db -- remove watch handle export
2010-04-22 06:24:47 +02:00
Kay Sievers
5d69a34caf
fix previous commit
2010-04-21 15:43:05 +02:00
Kay Sievers
e9906fec71
remove left-over from ignore_remove and all_partitions
2010-04-21 15:11:57 +02:00
Kay Sievers
60067cc75a
more readlink buffer size handling
2010-04-21 14:44:33 +02:00
Mathias Nyman
e925018786
remove buffer-overrun risk in readlink call
...
readlink does not write a nul character to the end of the
string it returns. Therefore ask for one fewer character
than the buffer size so there's always room for an extra \0.
Signed-off-by: Mathias Nyman <mathias.nyman@nokia.com>
Signed-off-by: Phil Carmody <ext-phil.2.carmody@nokia.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-04-21 13:41:14 +02:00
Kay Sievers
85f22036fc
doc: add section about how *not* to rename device nodes
...
Thanks to Mario 'BitKoenig' Holbe <Mario.Holbe@tu-ilmenau.de>.
2010-04-20 07:29:51 +02:00
Kay Sievers
6252f9e732
delete only device nodes, not symlinks when deleting a devtmpfs node
...
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550152
2010-04-19 18:57:28 +02:00
Kay Sievers
9355f324e1
add O_NOFOLLOW when creating files in link stack
2010-04-19 18:55:10 +02:00
Marco d'Itri
db123fe9f0
doc: document the WAIT_FOR timeout
2010-04-19 12:47:02 +02:00
Kay Sievers
a89d342dfb
remove "ignore_remove" option
2010-04-13 12:45:38 +02:00
Kay Sievers
1f084fe581
remove "all_partitions" option
...
We can not predict the major/minor of non-existing devices:
$ grep . /sys/class/block/sd*/dev
/sys/class/block/sda1/dev:259:524288
/sys/class/block/sda2/dev:259:262144
/sys/class/block/sda3/dev:259:786432
/sys/class/block/sda4/dev:259:131072
/sys/class/block/sda/dev:259:0
/sys/class/block/sdb/dev:259:655360
/sys/class/block/sdc/dev:259:393216
If this functionality is still needed for some broken hardware, it needs to be
solved with a tool not part of the udev package. Because such option is unreliable
and unsafe to use.
2010-04-13 08:52:48 +02:00
Kay Sievers
236fae6cf1
udevadm: trigger - switch default action from "add" to "change"
2010-04-12 17:56:32 +02:00
Kay Sievers
3ba7e651ad
log info only if we actually delete the node
2010-04-12 17:13:37 +02:00
Kay Sievers
4b06c40935
replace "add|change" with "!remove"
2010-04-12 16:52:41 +02:00
Kay Sievers
5539f624e1
allow IMPORT{db}="KEY"
2010-04-12 15:58:05 +02:00
Kay Sievers
0ec5b5e142
unify/cleanup event handling
2010-04-12 15:51:16 +02:00
Kay Sievers
578cc8a808
do not reset SELinux context when the node was not touched
2010-03-17 09:15:18 +01:00
Kay Sievers
777239cb21
use major:minor as entries in watch directory
2010-03-10 18:54:35 +01:00
Kay Sievers
af24bb178e
use major:minor as entries in symlink stack instead of devpath
2010-03-10 17:29:27 +01:00
Kay Sievers
a00ff5db02
udevadm: monitor - use / as separator in --subsystem-match=subsystem[/devtype]
2010-03-10 15:00:00 +01:00