646048b40a7b62c4e9bc59024ef6133613cda01b |
|
08-Feb-2016 |
Evgeny Vereshchagin <evvers@ya.ru> |
tests: fix #457
There are some limits on XFS:
major_max=511
minor_max=262143
see https://github.com/torvalds/linux/blob/master/fs/xfs/xfs_iops.c
if (S_ISCHR(mode) || S_ISBLK(mode)) {
if (unlikely(!sysv_valid_dev(rdev) || MAJOR(rdev) & ~0x1ff))
return -EINVAL; |
4d55fc5b2116140b8d89cfc68cb793f1163a0f2c |
|
31-Aug-2015 |
Filipe Brandenburger <filbranden@google.com> |
test: udev - Signal that test was skipped when running as non-root
It is more accurate to report that the test was skipped rather than
succeeded if we did not get to run it because it requires root.
Tested by running `make check` and inspecting the log file:
$ cat test/udev-test.pl.log
Must have root permissions to run properly.
SKIP test/udev-test.pl (exit status: 77)
The `make check` output also reported:
SKIP: test/udev-test.pl |
b3f2490072eb0495d4941dba390a7f759d28c663 |
|
03-Apr-2015 |
Tom Gundersen <teg@jklm.no> |
test: udev, valgrind - track origins of uninitiaziled memory |
333e07b793836442dc320c60d5ae66f95c4489e1 |
|
27-Mar-2015 |
Tom Gundersen <teg@jklm.no> |
test: udev - add gdb support |
02cd084db7b50a45a76bcdfe03668061bf7c79d6 |
|
11-Dec-2014 |
Tom Gundersen <teg@jklm.no> |
tests: udev - assume /etc/machine-id rather than /etc/hosts
On todays machines /etc/hosts is not mandatory. /etc/machine-id is though, so let's rely on that instead.
This makes the udev tests pass again for me. |
0eb3cc88504b5d8f740764047ac5162b67992386 |
|
10-Dec-2014 |
Jan Synacek <jsynacek@redhat.com> |
test: fix some tests when running inside a container |
9158d03e4042876b7627947b3489fd4d49c7553a |
|
20-Sep-2014 |
Tom Gundersen <teg@jklm.no> |
test: udev - restrict nemuric uid's to existing ones
We now verify the existence of uid's before applying them to devicenodes, so change the
test accordingly. We assume that both uid/gid 1 and 2 exist on the test system. |
ab06eef8101866dd1337c4759002f7360a9db416 |
|
15-Apr-2013 |
Anatol Pomozov <anatol.pomozov@gmail.com> |
Fix spelling errors using 'codespell' tool |
1298001ec5e320f9f9b6a9b925c8939b2579396d |
|
12-Nov-2012 |
Kay Sievers <kay@vrfy.org> |
use the same email address everywhere |
8a1733871ffe9bfc47958e9056fd53ce216b1802 |
|
08-Oct-2012 |
Kay Sievers <kay@vrfy.org> |
udev: remove SYMLINK "unique" option |
4cb72937d3c10948e4904388ea27efae75775f08 |
|
15-Jul-2012 |
Kay Sievers <kay@vrfy.org> |
udev: get rid of TEST_PREFIX and use unshare() to fake /sys, /dev, /run |
6ada823a9a0979ea145fd70add1007c21caa45c0 |
|
16-Apr-2012 |
Kay Sievers <kay@vrfy.org> |
udev: remove configuration options for /dev, /sys, /run directories |
0b87a07761dcad31583142a3a454c42833e65a09 |
|
14-Apr-2012 |
Kay Sievers <kay@vrfy.org> |
udev: test - move test/ and src/test/ |
183215e7cd72474e7a077a1bd8a4db6f9cac60b5 |
|
18-Mar-2012 |
Kay Sievers <kay.sievers@vrfy.org> |
build-sys: place build binaries in the root |
0f52fdee378796df26021208dc684f77be1f877f |
|
20-Feb-2012 |
Kay Sievers <kay.sievers@vrfy.org> |
test: remove outdated key attributes |
22dde8d712310506e1166372d3f39a56d138387b |
|
10-Jan-2012 |
Kay Sievers <kay.sievers@vrfy.org> |
fix debug message |
912541b0246ef315d4d851237483b98c9dd3f992 |
|
10-Jan-2012 |
Kay Sievers <kay.sievers@vrfy.org> |
tabs are as useful as a hole in the head |
d914e44509abf8bf305d00ebc5c6282dd84e809b |
|
06-Jan-2012 |
Kay Sievers <kay.sievers@vrfy.org> |
replace unpacked sysfs test tree 'test/sys/' with packed tarball |
12a362be5c1982f80dbfb75bda070208a2c99cdf |
|
05-Dec-2011 |
Kay Sievers <kay.sievers@vrfy.org> |
use libexecdir, bindir, sbindir, switch to /usr/lib/udev in documentation |
289a1821a4a7636ce42a6c7adc3a9bb49421a5ea |
|
06-Oct-2011 |
Kay Sievers <kay.sievers@vrfy.org> |
remove 'udevadm trigger --type=failed' and SYSFS, ID, BUS keys |
d7867b31836173d1a943ecb1cab6484536126411 |
|
05-Aug-2011 |
Kay Sievers <kay.sievers@vrfy.org> |
implement path_id, usb_id, input_id as built-in command |
3cf1a8e36ed0d9bb9b000adf36dd347e8d988478 |
|
16-May-2011 |
Kay Sievers <kay.sievers@vrfy.org> |
libudev: device - use DEVMODE from kernel as the default mode |
4ec9c3e79771aa95586390cecff4218cc8938160 |
|
23-Mar-2011 |
Kay Sievers <kay.sievers@vrfy.org> |
use /run/udev/ if possible and fall back to /dev/.udev/ |
f2291cd07f24d2e1b7c3295ea6570f64b935ba55 |
|
20-May-2010 |
Kay Sievers <kay.sievers@vrfy.org> |
fix tests and allow MODE=000 |
75cb1ac51ea0176926c749bd0f22c19ce8b20e5f |
|
05-May-2010 |
Kay Sievers <kay.sievers@vrfy.org> |
warn when renaming kernel-provided nodes instead of adding symlinks |
a89d342dfb45b54e29381af9dbc495bbb2b057af |
|
13-Apr-2010 |
Kay Sievers <kay.sievers@vrfy.org> |
remove "ignore_remove" option |
1f084fe5811ce251d516a8022f8c7c27d0ef1f53 |
|
13-Apr-2010 |
Kay Sievers <kay.sievers@vrfy.org> |
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. |
5754e74c089a727183a281aa9071979dff2a9477 |
|
27-Jan-2010 |
Kay Sievers <kay.sievers@vrfy.org> |
update tests |
f49a6b223e9b0e2808df173e31ae37da1ca32953 |
|
16-Nov-2009 |
Kay Sievers <kay.sievers@vrfy.org> |
udev-test.pl: catch-up with recent changes |
9dae0e89b9d2138e028c2a69170ba2a96503b766 |
|
07-Sep-2009 |
Kay Sievers <kay.sievers@vrfy.org> |
test: catch possible bug in GOTO resolving |
2ffc9cc1917b1bb6fe86881a94a47dce9aa15168 |
|
19-Aug-2009 |
Kay Sievers <kay.sievers@vrfy.org> |
change database file names
With very deeply nested devices, We can not use a single file
name to carry an entire DEVPATH. Use <subsystem>:<sysname> as
the database filename, which should also simplify the handling
of devices moving around, as these values will not change but
still be unique.
For the name stack we use the <maj>:<min> now as the filename.
> On Tue, Aug 18, 2009 at 09:59:56AM -0400, Ric Wheeler wrote:
> The first is that udev grumbles during boot about "file name too long"
> like the following:
>
> Aug 17 06:49:58 megadeth udevd-event[20447]: unable to create db file
> '/dev/.udev/db/\x2fdevices\x2fpci0000:00\x2f0000:00:04.0\x2f0000:17:00.0\x2f0000:18:0a.0\x2f0000:1f:00.0\x2fhost11\x2fport-11:0\x2fexpander-11:0\x2fport-11:0:0\x2fexpander-11:1\x2fport-11:1:0\x2fexpander-11:2\x2fport-11:2:17\x2fexpander-11:3\x2fport-11:3:1\x2fend_device-11:3:1\x2fbsg\x2fend_device-11:3:1':
> File name too long |
102831867ce5c0618fc06a9a3386881300d5994e |
|
07-Aug-2009 |
Diego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com> |
Fix another relative path for the new working directory. |
405e606f8649fd87a8a1d2e5a6399c27dcae28b8 |
|
07-Aug-2009 |
Diego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com> |
Replace the custom test-run target with the standard make check.
A little fix is needed for the udev-test.pl script (to be called with the
proper path), but this allows for the test binaries to be only built when
running the tests themselves. |
bec7e07acc8ca2288e780d11b4d1e1387c3513dc |
|
22-May-2009 |
Benjamin Gilbert <bgilbert@cs.cmu.edu> |
test: check string substitutions in OWNER and GROUP
String substitutions in OWNER and GROUP keys were broken in udev 137-142.
Explicitly test for this, since such breakage will not manifest in typical
rulesets. |
065db052211d3bf08d9b0f698a79a8798faf11d2 |
|
20-May-2009 |
Kay Sievers <kay.sievers@vrfy.org> |
use more efficient string copying |
a0ee5a05bb3a9a838c35e07ff7a0bb7bbd2d0c9b |
|
19-May-2009 |
Kay Sievers <kay.sievers@vrfy.org> |
remove format char string truncation syntax |
0c37798916bc87d72f5f1399d9e050307901db84 |
|
13-May-2009 |
Kay Sievers <kay.sievers@vrfy.org> |
fix possible endless loop for GOTO to non-existent LABEL
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=526365 |
a402404fb23195839a9e008dbbe5edb5349c05b0 |
|
05-Feb-2009 |
Kay Sievers <kay.sievers@vrfy.org> |
test: add test for empty and non-existent ATTR |
647f7c49e8ddfbbe2afd9545484a3ad936f438e9 |
|
30-Jan-2009 |
Kay Sievers <kay.sievers@vrfy.org> |
fix NAME="" logic
Reported-By: Soh Kam Yung <sohkamyung@gmail.com> |
bcf44d55762557096fdd627b14415e35f3a4e14d |
|
12-Nov-2008 |
Kay Sievers <kay.sievers@vrfy.org> |
string index - split nodes and childs to allow and unlimited number of childs |
427e20b261b056cf781af75ff60f067714b750bb |
|
26-Oct-2008 |
Kay Sievers <kay.sievers@vrfy.org> |
libudev: device - allocate envp array only once |
c6243a414e5ea233862445db0e57d6033879985f |
|
26-Oct-2008 |
Kay Sievers <kay.sievers@vrfy.org> |
test: add RUN+="socket: ..." to a test to run monitor code |
dc4c7e463df35776631150e4e18a4ba41749843c |
|
26-Oct-2008 |
Kay Sievers <kay.sievers@vrfy.org> |
fix $attr{[<subsystem>/<sysname>]<attribute>} substitution |
91a75e4ad4071d9d0ce1adb5c8d8272aac379d0a |
|
25-Oct-2008 |
Kay Sievers <kay.sievers@vrfy.org> |
match KEY="A|B" without temporary string copy |
6880b25d4044f2d154908f88e717435412187355 |
|
23-Oct-2008 |
Kay Sievers <kay.sievers@vrfy.org> |
replace in-memory rules array with match/action token list
The in-memory rule array of a common desktop distro install took:
1151088 bytes
with the token list:
109232 bytes tokens (6827 * 16 bytes), 71302 bytes buffer |
d960ad1546548d4b7aaf35e8b8f2cef652449ee7 |
|
17-Oct-2008 |
Kay Sievers <kay.sievers@vrfy.org> |
test: fix a few unintentially wrongly written rules which cause parse errors |
a1af6b040169352b5cb2e1fe0d2a518783a5ec6d |
|
14-Oct-2008 |
Kay Sievers <kay.sievers@vrfy.org> |
test: move global ENV{ENV_KEY_TEST}="test" to local rule |
5c0f595d91a21b1fba2b9edd89511a072036d0e8 |
|
29-Sep-2008 |
Kay Sievers <kay.sievers@vrfy.org> |
test: replace last reference of "/class/*" devpath |
f2041f0116fcfb05293f2bd5e225a80f27a28c41 |
|
29-Sep-2008 |
Kay Sievers <kay.sievers@vrfy.org> |
test: add missing pci directory because of .gitignore *.7 |
c7fcba1bf4d0da13b66396c08c0b5f62b25d0405 |
|
29-Sep-2008 |
Kay Sievers <kay.sievers@vrfy.org> |
test: replace ancient sysfs tree with recent one |
438d4c3cd4b89381348f84ef9f8b8937814f8362 |
|
29-Sep-2008 |
Kay Sievers <kay.sievers@vrfy.org> |
libudev: enumerate - split new() and scan() |
034b37c83f3c27316a1a4666b2521949d89c5d8e |
|
16-Sep-2008 |
Alan Jenkins <alan-jenkins@tuffmail.co.uk> |
udev-test.pl: set non-zero exitcode if tests fail |
37a123a9bccd448333fcd83abec926f195dbed9e |
|
08-Sep-2008 |
Kay Sievers <kay.sievers@vrfy.org> |
udev-test.pl: set udev_log="err" |
e1497488506a5ec589d06cdedd776e55f6dbcef7 |
|
03-Sep-2008 |
Kay Sievers <kay.sievers@vrfy.org> |
udev-test.pl: remove left-over comment from --valgrind option |
e08109cbc82bc37fc0a1deb202697790afdc5474 |
|
01-Sep-2008 |
Kay Sievers <kay.sievers@vrfy.org> |
udev-test.pl: add --valgrind option |
01618658fd82dbc5e6315b639f00e87c6fee3c54 |
|
30-Jul-2008 |
Kay Sievers <kay.sievers@vrfy.org> |
use autotools |
282988c4f8a85c28468e6442e86efe51dc71cc93 |
|
18-Jul-2008 |
Kay Sievers <kay.sievers@vrfy.org> |
move default rules from /etc/udev/rules.d/ to /lib/udev/rules.d/
None of these rules is supposed to be changed by users, so move
them out of /etc. Custom rules, and automatically generated rules
stay in /etc. All rules are still processed in lexical order,
regardless which directory they live in. |
ff94cec3d71b5f46eb54645f4bc65e2d67ed5269 |
|
19-May-2008 |
Erik van Konijnenburg <ekonijn@xs4all.nl> |
add substitution in MODE= field
Do substitition processing in MODE field, similar to substitution in
OWNER, GROUP etc fields. Add test case for normal and overflow behaviour.
Document in manpage. |
cf100ca71bf365d8898e97d4ec9dd05c3941cae8 |
|
18-Apr-2008 |
Kay Sievers <kay.sievers@vrfy.org> |
allow setting of MODE="0000" |
0ea5e96edbc66319d7711d9eab8719a2c98c843d |
|
14-Mar-2008 |
Kay Sievers <kay.sievers@vrfy.org> |
extend hack to allow TEST=="*/start" |
03f65fe6a9cd32a5861b1a929cdf4f7eddbd593f |
|
16-Aug-2007 |
Kay Sievers <kay.sievers@vrfy.org> |
accept relative path for TEST |
19096c087f8e1fc9f60ceb948f8be9b179885569 |
|
25-Jul-2007 |
Kay Sievers <kay.sievers@vrfy.org> |
restore behavior of NAME== |
1ff1aa424baa05a0fd06deeb6609a11b289ecd65 |
|
16-Jul-2007 |
Kay Sievers <kay.sievers@vrfy.org> |
allow SYMLINK== match |
4ad47b2de6534dce23fd3182ec1e7472e299b05f |
|
03-Jun-2007 |
Kay Sievers <kay.sievers@vrfy.org> |
add "[$SUBSYSTEM/$KERNEL]<attribute>" lookup |
c19870519d0a23bbf7f5cf206cefab6418a9f4be |
|
21-May-2007 |
Kay Sievers <kay.sievers@vrfy.org> |
replace_chars: replace % character |
864b9b5e37b5e480d0e23507d4dd8360525ad453 |
|
25-Feb-2007 |
Kay Sievers <kay.sievers@suse.de> |
add test for an attribute which contains an operator char |
de49bbb223a1150991226a60e3171acb29651408 |
|
08-Dec-2006 |
Kay Sievers <kay.sievers@vrfy.org> |
rename "udev.c" to "test-udev.c" - it is only for testing |
eef5447934a07279bc76f3f65b0302ddea8556ab |
|
05-Sep-2006 |
Kay Sievers <kay.sievers@suse.de> |
let $attr{symlink} return the last element of the path
Example for /block/sda:
SUBSYSTEMS="scsi", ENV{COMMENT}="$attr{driver}"
sets COMMENT=sd
SUBSYSTEMS="pci", ENV{COMMENT}="$attr{driver}"
sets COMMENT=ata_piix |
ac528431dd60c6b7f6b664ba430b937a11a32230 |
|
05-Sep-2006 |
Kay Sievers <kay.sievers@suse.de> |
fix ENV{TEST}="Test: $env{TEST}" |
c4edd0adb55ebf625a0f190071b930b469c58dd8 |
|
20-Aug-2006 |
Kay Sievers <kay.sievers@suse.de> |
use new key names in test programs |
38895e573c6f17014393dc35a9e53d5f016172c3 |
|
20-Aug-2006 |
Kay Sievers <kay.sievers@suse.de> |
skip rule, if too may keys of the same type are used |
95776dc6ec174f47fa4dd4d8abf5d457223e5dd4 |
|
19-Aug-2006 |
Kay Sievers <kay.sievers@suse.de> |
consistent key naming to match only the event device or include all parent devices
This scheme is more consistent and makes it obvious if a match happens
against the event device only, or the full chain of parent devices.
The old key names are now:
BUS -> SUBSYSTEMS
ID -> KERNELS
SYSFS -> ATTRS
DRIVER -> DRIVERS
Match keys for the event device:
KERNEL
SUBSYSTEM
ATTR
DRIVER (in a future release, for now the same as DRIVERS)
Match keys for all devices along the parent device chain:
KERNELS
SUBSYSTEMS
ATTRS
DRIVERS
ID, BUS, SYSFS are no longer mentioned in the man page but still work.
DRIVER must be converted to DRIVERS to match the new scheme. For now,
an error is logged, if DRIVER is used. In a future release, the DRIVER
key behaviour will change. |
d4ae9925eecf6df33ca5bc4d285bdc71f9274952 |
|
13-Aug-2006 |
Kay Sievers <kay.sievers@suse.de> |
don't report an error on overlong comment lines |
c8ff4b3db440f1c3124b0e4e4efc68f1177c5964 |
|
04-Jul-2006 |
Kay Sievers <kay.sievers@suse.de> |
remove broken %e enumeration |
fa33d857e2cdd65d3de2f88021ecacf167fc21f0 |
|
14-Jun-2006 |
Kay Sievers <kay.sievers@suse.de> |
don't remove symlinks if they are already there
Consecutive "add" events will not remove and recreate the same symlinks
anymore. No longer valid links, like after changing a filesystem label,
will still be removed. |
d59c84effdc50961bdbe01dcc41d71c8609e6700 |
|
24-Apr-2006 |
Kay Sievers <kay.sievers@suse.de> |
allow NAME=="value" to check for already assigned value |
36af2ddcb92c51acad0f909bb5dfb090cea9c5ed |
|
26-Jan-2006 |
Kay Sievers <kay.sievers@suse.de> |
don't add $SUBSYSTEM automatically as $1 to programs
Signed-off-by: Kay Sievers <kay.sievers@suse.de> |
03b24b71e05d116c592b08281f8a5f0dadf6d3c7 |
|
16-Jan-2006 |
Kay Sievers <kay.sievers@suse.de> |
fix BUS, ID, $id usage
Signed-off-by: Kay Sievers <kay.sievers@suse.de> |
1aa1e24848903d11780db1ade355be73ad61a937 |
|
09-Jan-2006 |
Kay Sievers <kay.sievers@suse.de> |
replace libsysfs
We never used any of the libsysfs convenience features. Here we replace
it completely with 300 lines of code, which are much simpler and a bit
faster cause udev(d) does not open any syfs file for a simple event which
does not need any parent device information.
Signed-off-by: Kay Sievers <kay.sievers@suse.de> |
fc55cf68ca0c0db5172a9de7e827c6c3f7c2a308 |
|
16-Nov-2005 |
Kay Sievers <kay.sievers@suse.de> |
remove "udev_db" option from config file
All udev state is kept in /$udev_root/.udev/ now. No option to
configure that anymore, it will always be there.
Signed-off-by: Kay Sievers <kay.sievers@suse.de> |
53899a171ea862124b49c75b7511b7eb30742ef9 |
|
10-Nov-2005 |
Kay Sievers <kay.sievers@suse.de> |
fix tests and remove no longer useful stuff
Signed-off-by: Kay Sievers <kay.sievers@suse.de> |
a8586078fc768e930624f29347fedcbb5c5f41cf |
|
29-Aug-2005 |
Kay Sievers <kay.sievers@suse.de> |
udev_test.pl: we replace untrusted chars with '_'
Signed-off-by: Kay Sievers <kay.sievers@suse.de> |
764ce7f2ab526c084f005186e0dcbabe59070247 |
|
28-Aug-2005 |
Kay Sievers <kay.sievers@suse.de> |
start to enforce plain ascii or valid utf8
No device node or symlink can have other characters as plain
readable ascii or valid utf8. The /dev/disk/by-label/* symlinks
can no longer contain weird stuff read from untrusted sources.
Signed-off-by: Kay Sievers <kay.sievers@suse.de> |
5618b5611bccf64a1e22f8cbcebe8ecba9713c9c |
|
16-Aug-2005 |
Kay Sievers <kay.sievers@suse.de> |
ENV{TEST}=="1" compares and ENV{TEST}="1" sets the environment
This can be uses to export stuff to the event environment or
to carry a state from one rule to another, like enabling/disabling
later rules conditionally.
Signed-off-by: Kay Sievers <kay.sievers@suse.de> |
594dd610252923591ed0f310695e82d3fb87e581 |
|
16-Jul-2005 |
Kay Sievers <kay.sievers@suse.de> |
allow rules to have labels and skip to next label
This will allow us to have whole blocks of rules to skip
conditionally. The following section creates the node "yes":
GOTO="TEST"
NAME="no"
NAME="no2", LABEL="NO"
NAME="yes", LABEL="TEST"
NAME="no3" |
0bfb84e1edd96b1e82ffd74c43b865e5d6dbf204 |
|
12-Jul-2005 |
Kay Sievers <kay.sievers@suse.de> |
IMPORT: add {parent} to import the persistent data of the parent device
Signed-off-by: Kay Sievers <kay.sievers@suse.de> |
0cd4ac473a51577e33e700beccb3479e5565d661 |
|
12-Jul-2005 |
Kay Sievers <kay.sievers@suse.de> |
allow multiple values to be matched with KEY=="value1|value2"
Signed-off-by: Kay Sievers <kay.sievers@suse.de> |
7b2bdb4b1bd9e273ea67e4538be3f7d3545331fa |
|
07-Jul-2005 |
Kay Sievers <kay.sievers@suse.de> |
fix symlink values separated by multiple spaces
Signed-off-by: Kay Sievers <kay.sievers@suse.de> |
a72e3f666b897f94a64547ace3af74785d2f6771 |
|
07-Jul-2005 |
Kay Sievers <kay.sievers@suse.de> |
fix typo in group assignment
Thanks to: Georgi Georgiev |
be0856c841e248c491e0fdea013a7af0f61a76b1 |
|
30-Jun-2005 |
Kay Sievers <kay.sievers@suse.de> |
prepare RELEASE-NOTES
Signed-off-by: Kay Sievers <kay.sievers@suse.de> |
319c6700165dc38d7f813ff646bff0196f2aafe6 |
|
25-Jun-2005 |
Kay Sievers <kay.sievers@suse.de> |
IMPORT allow to import program returned keys into the env
Signed-off-by: Kay Sievers <kay.sievers@suse.de> |
bd0ed2ffbec325512c3131ce0db896234e36c923 |
|
25-Jun-2005 |
Kay Sievers <kay.sievers@suse.de> |
IMPORT=<file> allow to import a shell-var style config-file
This allows to source-in a file into the udev environment to have
the defined keys available for later processing by udev itself or
the forked helper programs.
Signed-off-by: Kay Sievers <kay.sievers@suse.de> |
bf5d2964730e63316861e310d1f24c165b11e961 |
|
20-Jun-2005 |
Kay Sievers <kay.sievers@suse.de> |
prepare for module loading rules and add MODALIAS key
Signed-off-by: Kay Sievers <kay.sievers@suse.de> |
995aec875973e29caf42b037736349fc8839ee40 |
|
05-Jun-2005 |
Kay Sievers <kay.sievers@suse.de> |
udev: clear lists if a new value is assigned
Former values are cleared if SYMLINK=<value> is used. To add a value
SYMLINK+=<value> is now needed.
Signed-off-by: Kay Sievers <kay.sievers@suse.de> |
c974742bf4d6d8fab1e1c90e2e57dae0a2f297a1 |
|
05-Jun-2005 |
Kay Sievers <kay.sievers@suse.de> |
udev: allow final assignments :=
The use of KEY:=<value> will make the key unchangeable by later rules.
Signed-off-by: Kay Sievers <kay.sievers@suse.de> |
1e50c2dee7401055a0e76c116de939f0893e7429 |
|
10-May-2005 |
Greg KH <greg@press.(none)> |
Update permissions on test scripts so they will run properly now.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> |
15139b8a623748e7d24b18f12e920d94743d8c52 |
|
27-Apr-2005 |
tklauser@access.unizh.ch <tklauser@access.unizh.ch> |
[PATCH] fix stupid all_partitions bug
> On Mon, 2005-04-11 at 14:55 +0200, Norbert Preining wrote:
> > On Mon, 11 Apr 2005, Kay Sievers wrote:
> > > > brw-rw---- 1 root root 8, 0 2005-04-10 14:58 /dev/sdcard
> > > > brw-rw---- 1 root root 8, 1 2005-04-10 14:58 /dev/sdcard1
> > > > brw-rw---- 1 root root 8, 1 2005-04-10 14:58 /dev/sdcard2
> > > > brw-rw---- 1 root root 8, 1 2005-04-10 14:58 /dev/sdcard3
> > >
> > > This looks broken.
> >
> > Good to hear.
Yeah, I guess it's broken. In create_node() in udev_add.c there is
always added 1 to the minor number, thus the error. The attached patch
should fix this. |
f040a4a271dd093413303158efb027fe9e891e80 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] udev-test.pl: add test for DEVNAME export to RUN environment |
821d0ec803a72841f173739f5b713fe847edab75 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] add RUN key to be able to run rule based notification
SUBSYSTEM=="block", RUN="/sbin/program"
will execute the program only for block device events.
ACTION="remove", SUBSYSTEM=="block", RUN"/sbin/program"
will execute the program, if a block device is removed. |
db949b02489f521e32a052280f913e06b7c87e37 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] allow to match against empty key values |
98bbc835f584ed6792e895519326cc637f64f411 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] read %s{}-sysfs values at any device in the chain |
18614ab25d4208749a3d85ced33acc6679c60fce |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] remove untrusted chars read from sysfs-values or returned by PROGRAM
Better remove characters that are useless in a device node name.
It may be a security risk to pass any character read from e.g. a
sysfs attribute to a shell script we execute later.
Prevent the modification of the libsysfs attribute value
cache.
Clear PROGRAM result if the execution encountered an error. |
65005a7f81f86590f7f03bd3d4019c485d0e3c77 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] test-suite: remove UDEV_TEST, it's not needed anymore |
0bb438770742815c5839f3fbf1aca967fa6e4a15 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] udev-test.pl: use more common user/group names |
c827876312bde7809f5f08b89b9223391da0e3b4 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] udev-test.pl: add a test where the group cannot be found in /etc/passwd |
9b434de102c8d4f74842bc6533c92cb3a4887d8d |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] udev-test.pl: add check for textual uid/gid |
3e5958dee5f24283eb5c6a2d2d95e1a39428a3b8 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] add ENV{} key to match agains environment variables |
38285d23d702258d3b219532a9874555e797a292 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] add a test and simplify debug statement |
28ce66de1750320d7f09547d8910d42ae580fe5e |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] support =, ==, !=, += for the key match and assignment |
3b6ed8bb06d18a2855d530dcb9034e9d37114827 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] add OPTION="last_rule" to skip any later rule |
882af735ec18cb4e6ba6f59ca60f8266cc96c330 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] remove PLACE key match
ID should do the same, cause we walk up the chain of devices on the
physical device and can match for the name of every device there with
the ID key. |
51015808dae77026ef6aae369be272289547fe72 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] udev-test.pl: remove useless tests |
77313cd0d13ed3682f25c745f71f648292b28215 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] namedev: skip backslashes only if followed by newline
Fix from: Hannes Reinecke <hare@suse.de>
namedev_parse is a bit overzealous when in comes to handling backspaces;
it always eats up backspaces regardless of anything beyond that. This
means it is impossible to enter '\t' in a rule. Quite a bit of fun when
you're trying to write regexps. |
1cec1c241600fc11121f9504bc9e95836c03bd9c |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] remove the device node only if the major/minor number matches |
fd9efc00a2e477423185c993b8ec4570ef3ee07d |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] introduce OPTIONS=ignore_device, ignore_remove, all_partitions" key
Here we move all possible options into a own key to make it possible
to have options-only rules.
The options on the NAME key are removed from the man page and will
be removed from a future version of udev.
For ignore rules, OPTIONS="ignore" should be used.
The rule:
SUBSYSTEM="block", SYSFS{removable}="1", OPTIONS="all_partitions"
will create all partitions for a block device which is known to have
removable media (a check for cdrom drives would be needed too). |
fd42f6a170cc9559d8524a248a3e5ab86535024c |
|
27-Apr-2005 |
patmans@us.ibm.com <patmans@us.ibm.com> |
[PATCH] fix test for temporary nodes |
6a24dc747788b6049ef35607ff252e3965af2ce5 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] fix special file mode mask for temporary device node |
f22e9686fd4f8e602e8dc11a4b06765206f26edf |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] udevstart: simplify "dev" file searching
Just stat() the "dev" file in the device directory instead of
opening the directory and iterating over all entries.
Make udevstart work with the settings in with udev.conf so we can
run a test program.
Add a test for udevstart.
Remove changelog stuff from code. We should never start with this
silly thing. |
69aa6dfb7081de376769cf712d1a8832f4346516 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] add %P modifier to query the node name of the parent device
Events for partition devies may want to read the main block device
name to compose it's own name or read a disklabel from the main device.
SUBSYSTEM="block", KERNEL="*[1-9]", NAME="%P-p%n"
will append the partition number to the name of the main block device. |
c1ab046124ebef3c82950b91ccfd1678d9f7fe5b |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] provide temporary device node for callouts to access the device
%N will create a temporary node for a callout a be sustituted with the
name of the node. |
b9a8c4821a98df33ba2cc5b18b15d7175709c376 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] remove default_* permissions from udev.conf file
With the "permissions only rules" we can just place:
MODE="0660", OWNER="root", GROUP="root"
at the beginning of the rules file and get exactly the same behavior.
If no values are given the compiled-in defaults are used. |
eb8700908c961d4a0197273f728bc3a3d6cd6c4a |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] update Fedora config files and add some more tests |
e93901468c668f3dda6f57ee7f4b953e287b1622 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] allow permissions only rules
On Mon, 2004-12-20 at 15:03 +0100, Marco d'Itri wrote:
> +# all block devices
> > +SUBSYSTEM="block", NAME="%k", GROUP="disk"
> > +
> NAME="%k" here and in similar rules does not add any new information,
> what about making it optional, like it is for SYMLINK-only rules? |
87da5b2c65e0a889093c27189212505328aea4ab |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] add SUBSYSTEM rule to catch all block devices and apply the disk permissions |
9f8dfa19cfd2b502bf794f39a421cbb7c4cc0404 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] allow multiline rules by backslash at the end of the line
On Sun, 2004-12-19 at 18:31 +0100, Marco d'Itri wrote:
> > On Dec 19, Kay Sievers <kay.sievers@vrfy.org> wrote:
>
> > (Feature request: would it be possible to extend the rules files parser
> > to support continuation lines? I'd like it to consider lines starting
> > with white space as part of the previous line.)
>
> How about the usual backslash at the end of the line. Here is a simple
> patch. |
4ae6d03f394684722e7d5710fb2585e7c388f119 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] simplify rules file by setting default mode to 0660
On Sun, 2004-12-19 at 18:31 +0100, Marco d'Itri wrote:
> It may be better to use default_mode="0660", I do not think that there
> are any mode 600 devices. This would allow setting only the group for
> most of them. |
8b36cc0f179ee35176016ab67ae53078df4110fa |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] complete removal of explicit udev permissions config file |
18ebc4305034401648e343b27981ef1badafef1c |
|
27-Apr-2005 |
Greg KH <greg@press.(none)> |
bleah, more merge fixes... |
16ac31aaee34f1085daf1c43a8645b174712b2d4 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] don't call the hotplug scripts with a test run |
b1e95455d2683f43f47ea94a7b79af64f0738d36 |
|
27-Apr-2005 |
Greg KH <greg@press.(none)> |
fixups to get back to proper patch order
Damm, it's hard to merge a multi-line tree into one flat line at times... |
ad89f2be3b045f37b7e17de10f5ad46dbb09664f |
|
27-Apr-2005 |
greg@kroah.com <greg@kroah.com> |
[PATCH] comment out ability to run udev-test.pl with valgrind |
7efa217db0db946e68e6274e2b9cbe0a973ec47a |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] add NAME{ignore_remove} attribute
Some broken ide drivers are generating high event traffic, with
add/remove events. With this attribute, it can be specified,
that the node is always available. It may be used in conjunction
with the new DRIVER= match to catch specific kernel device drivers. |
2092fbcdebf5313f29b43bdaa57a22baf0c0269f |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] support DRIVER as a rule key
Match with a rule against a device with a specific kernel driver. |
6818c51d7abeab9914eb7193968b1efa9459a853 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] support SUBSYSTEM as a rule key
This should make it easier to catch e.g all block or net devices with
a single rule. |
2b41e68a08548ce44b4d145900dab2bb04cd34f7 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] replace tdb database by simple lockless file database
This makes the udev operation completely lockless by storing a
file for every node in /dev/.udevdb/* This solved the problem
with deadlocking concurrent udev processes waiting for each other
to release the file lock under heavy load. |
800ab95bd55c9beebd14fd23ef34ea7f3e055e6a |
|
27-Apr-2005 |
greg@kroah.com <greg@kroah.com> |
[PATCH] make udev-test.pl test for root permissions before running
Should prevent false error reports from happening. |
091215a59744a2b2d809c5f200e3313266c0d7ce |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] Apply the default permissions even if we found a entry in |
2b0f835ccc67ae3209bc89be22cedfc8341ab5e3 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] add test for format chars in multiple symlinks to replace |
7a947ce51586fd4212447643df90580542777ab9 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] big cleanup of internal udev api
Here is the first patch to cleanup the internal processing of the
various stages of an udev event. It should not change any behavior,
but if your system depends on udev, please always test it before reboot :)
We pass only one generic structure around between add, remove,
namedev, db and dev_d handling and make all relevant data available
to all internal stages. All udev structures are renamed to "udev".
We replace the fake parameter by a flag in the udev structure.
We open the class device in the main binaries and not in udev_add, to
make it possible to use libsysfs for udevstart directory crawling.
The last sleep parameters are removed. |
f608f8ac16889ce0e7e800c7f11dacc558d097c1 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] fix problems using scsi_id with udevstart
when udevstart was running we didn't set the environment and the
subsystem argument for the callouts the dev.d/ scripts.
Here is a fix, that sets that with every udevstart iteration, corrects
argv[0] to be the basename() only not the whole path and adds a test
for invoking callouts without arguments. |
0345b8623581497f49184ffd1d8143fe20f71893 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] add enum tests
On Fri, Sep 10, 2004 at 01:09:07PM -0700, Greg KH wrote:
> On Tue, Sep 07, 2004 at 01:19:34PM +0200, David Zeuthen wrote:
> >
> > KERNEL="sr*", NAME="%k", SYMLINK="cdrom%e"
> > KERNEL="scd*", NAME="%k", SYMLINK="cdrom%e"
> > KERNEL="pcd*", NAME="%k", SYMLINK="cdrom%e"
> > KERNEL="hd[a-z]", PROGRAM="/bin/cat /proc/ide/%k/media", RESULT="cdrom", NAME="\%k", SYMLINK="cdrom%e"
> > KERNEL="fd[0-9]", NAME="%k", SYMLINK="floppy%e"
> > KERNEL="hd[a-z]", PROGRAM="/bin/cat /proc/ide/%k/media", RESULT="floppy", NAME=\"%k", SYMLINK="floppy%e"
> >
> > New patch is attached.
>
> Nice, I've applied this.
>
> How about sending a patch for the test/udev-test.pl script that adds a
> test for this new paramater, so we make sure to not break it in the
> future.
Here are the tests for the enumeration character %e. I've added a option
string to be able to do a whole sequence of tests without node removal,
so we can skip the "remove" event and get an increasing number to append
to the name. After the sequence test the whole directory is cleaned for
the next tests. |
3db7fa27027110fde92a1b6061fab434fe708e9f |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] fix udev segfaults with bad permissions file
On Tue, Sep 14, 2004 at 02:53:12PM +0200, Loleslaw wrote:
> Hi,
> Since I started using udev-031 on my gentoo udevstart would just segfault
> (udev-030 worked). As it turned out I had a file in /etc/udev/permissions.d
> with a single space in one line. I've cleaned the file and it works all
> right, but I thought you could be interested.
> I've traced it to function namedev_init_permissions in namedev_parse.c
> I don't know C well enough to suggest a patch.
Yeah, thanks for pointing that out. It only happens if the file ends with
whitespace-only lines. Here is a fix and a test for udev-test.pl to
cover that case. |
0f36e68e8a28e02981b90a3a4712f198b58746ba |
|
27-Apr-2005 |
greg@kroah.com <greg@kroah.com> |
[PATCH] add test for ! in partition name |
b86691919a5687c3749d8e3324dd3b8eae22a435 |
|
27-Apr-2005 |
greg@kroah.com <greg@kroah.com> |
[PATCH] Added expanded tests to the test framework from Leann Ogasawara <ogasawara@osdl.org> |
bbbe503ec1a5623a5a8abd003f46fdd8c3581054 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] netdev - udevdb+dev.d changes
Here is a patch to change the netdev handling in the database and for
the dev.d/ calls. I applies on top of the udevd.patch, cause klibc has
no sysinfo().
o netdev's are also put into our database now. I want this for the
udevruler gui to get a list of all handled devices.
All devices in the db are stamped with the system uptime value at
the creation time. 'udevinfo -d' prints it.
o the DEVPATH value is the key for udevdb, but if we rename
a netdev, the name is replaced in the kernel, so we add
the changed name to the db to match with the remove event.
NOTE: The dev.d/ scripts still get the original name from the
hotplug call. Should we replace DEVPATH with the new name too?
o We now only add a device to the db, if we have successfully created
the main node or successfully renamed a netdev. This is the main part
of the patch, cause I needed to clean the retval passing trough all
the functions used for node creation.
o DEVNODE sounds a bit ugly for netdev's so I exported DEVNAME too.
Can we change the name?
o I've added a UDEV_NO_DEVD to possibly skip the script execution
and used it in udev-test.pl.
udevstart is the same horror now, if you have scripts with logging
statements in dev.d/ it takes minutes to finish, can we skip the
scripts here too?
o The get_device_type() function is changed to be more strict, cause
'udevinfo -a -p /block/' gets a class device for it and tries to
print the major/minor values.
o bugfix, the RESULT value has now a working newline removal and a test
for this case. |
f61d732a02c8a5e11c39651a70e3e3fd00529495 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] hmm, handle net devices with udev?
Hmm, Arndt Bergmann sent a patch like this one a few weeks ago and
I want to bring the question back, if we want to handle net device
naming with udev.
With this patch it is actually possible to specify something like this
in udev.rules:
KERNEL="dummy*", SYSFS{address}="00:00:00:00:00:00", SYSFS{features}="0x0", NAME="blind%n"
KERNEL="eth*", SYSFS{address}="00:0d:60:77:30:91", NAME="private"
and you will get:
[root@pim udev.kay]# cat /proc/net/dev
Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
lo: 1500 30 0 0 0 0 0 0 1500 30 0 0 0 0 0 0
private: 278393 1114 0 0 0 0 0 0 153204 1468 0 0 0 0 0 0
sit0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
blind0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
The udevinfo program is also working:
[root@pim udev.kay]# ./udevinfo -a -p /sys/class/net/private
looking at class device '/sys/class/net/private':
SYSFS{addr_len}="6"
SYSFS{address}="00:0d:60:77:30:91"
SYSFS{broadcast}="ff:ff:ff:ff:ff:ff"
SYSFS{features}="0x3a9"
SYSFS{flags}="0x1003"
SYSFS{ifindex}="2"
SYSFS{iflink}="2"
SYSFS{mtu}="1500"
SYSFS{tx_queue_len}="1000"
SYSFS{type}="1"
follow the class device's "device"
looking at the device chain at '/sys/devices/pci0000:00/0000:00:1e.0/0000:02:01.0':
BUS="pci"
ID="0000:02:01.0"
SYSFS{class}="0x020000"
SYSFS{detach_state}="0"
SYSFS{device}="0x101e"
SYSFS{irq}="11"
SYSFS{subsystem_device}="0x0549"
SYSFS{subsystem_vendor}="0x1014"
SYSFS{vendor}="0x8086"
The matching device will be renamed to the given name. The device name
will not be put into the udev database, cause the kernel renames the
device and the sysfs name disappears.
I like it, cause it plugs in nicely. We have all the naming features
and sysfs queries and walks inside of udev. The sysfs timing races
are already solved and the management tools are working for net devices
too. nameif can only match the MAC address now. udev can match any sysfs
value of the device tree the net device is connected to.
But right, net devices do not have device nodes :) |
c013b034ae54af68e64c0b46cd09cbe3564a7b8a |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] udev-test.pl cleanup
Here is a small name change, so all expected values are named exp_* |
7d12d4e175eececfc6956e99438f7c1ddd6b85eb |
|
27-Apr-2005 |
greg@kroah.com <greg@kroah.com> |
[PATCH] add big major tests to udev-test.pl |
a5e8d2b4a312b43a295e8f022dd10034b3572125 |
|
27-Apr-2005 |
greg@kroah.com <greg@kroah.com> |
[PATCH] add a test for a minor over 255 |
7ddb6f47d70ea7a5881d1f2fa6ed856d2cbe0090 |
|
27-Apr-2005 |
greg@kroah.com <greg@kroah.com> |
[PATCH] udev-test.pl: print out major:minor and perm test "ok" if is ok. |
b9a88fe756d20ea13b8f6da87c784d8aac9c4538 |
|
27-Apr-2005 |
greg@kroah.com <greg@kroah.com> |
[PATCH] make perm and major:minor test errors be reported properly. |
fa19f1811c20b6ec3631cecca9aa18ff2413eebb |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] add dev node test to udev-test.pl
> Nice, that's a good start. Now we need to check the major:minor values
> too somehow...
I better do it immediately, before you put it in the empty TODO :)
Patch is a bit big, cause spaces are changed to tabs to get
space for the longer names. |
c612a0acc8c45303b5c40538b87e406ac22a26ef |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] add permission tests
> Any chance on being able to add a test for this kind of stuff to the
> udev-test.pl script?
Sure, not brilliant but seems to work :)
Only numeric id's are supported so far. |
0a5417a0ebe92f96fb103399c9aacdf39c719271 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] "symlink only" test
Here is a test for the "symlink only" rule.
Any reason to do the apply_format() inside the loop?
I've changed it. |
558f80ba649fb5b8c2ac2a51e464f1aa07aa791d |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] callout part selector tweak
Martin Schwenke <martin@meltin.net> asked for this feature and posted a
patch:
The following patch almost let's me have the following configuration:
PROGRAM="/sbin/aliaser %b %k %n %M %m", RESULT="?*", NAME="%c{1}", SYMLINK="%c{2+}"
allowing me to specify an arbitrary number of symlinks by saying
"giveme the second and later words"."
Here is the actual version with tests and a few words in the man page. |
35b38379bac87ebf4d0cc6884feff588ee859d5f |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] cleanup callout fork
Here I change the callout fork logic.
The current cersion is unable to read a pipe which is not flushed at once,
Now we read until it's closed.
The maximum argument count is calculated by the strlen now. We have 100
chars for our result buffer so we can't have more than 50 parameters.
So it's much more clear what will happen now and not some magic boundary
where we use shell behind it.
Parameter can be combined to one by using apostrophes.
this on works now:
BUS="scsi", PROGRAM="/bin/sh -c 'echo foo3 foo4 foo5 foo6 foo7 foo8 foo9 | sed s/foo9/bar9/'", KERNEL="sda3", NAME="%c{7}"
Two new test are also added. |
d5f91372dd3241f8b4bbe2a99aaaeda541a76bad |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] conditional remove of trailing sysfs whitespace
Hey, it may never happen, that one wants to distinguish attributes by
trailing spaces, but we should not lose the control over it, just for
being lazy :)
Here we remove the trailing spaces of the sysfs attribute only if the
configured value to match doesn't have any trailing spaces by itself.
So if you put a attribute in a rule with spaces at the end, the sysfs
attribute _must_ match exactly.
Is that cool for everyone?
As usual, 2 tests are added for it with a artificial sysfs file and
a few words to the man page. |
56c963dc4d8a65a8f2f23ae329f2088fabbf3303 |
|
27-Apr-2005 |
patmans@us.ibm.com <patmans@us.ibm.com> |
[PATCH] add tests for NAME="foo-%c{N}"
Here is a patch for some new tests. |
63ead27c228f9306f175b14a49df2415d09ece10 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] udev - activate formt length attribute
We carried the the old callout part selector syntax for two releases
now after it was replaced by the new %c{1} syntax. So here we remove
the old syntax and use the code to possibly specify the maximum count
of chars to insert into the string. It will work with all of our format
chars.
I don't know if somebody will use it, but the code is already there :)
's%3s{vendor}' returns "IBM" now, instead of "IBM-ESXS".
Also added is a test for it and a few words in the man page. |
dde05ccb8d423fbc5c29f54b0c1b545938c8f151 |
|
27-Apr-2005 |
greg@kroah.com <greg@kroah.com> |
[PATCH] remove limit of the number of args passed to PROGRAM
If we go over our internal limit of 7, then we call out to /bin/sh
otherwise we handle it ourself without relying on a shell. |
595251156b858956acd10e7765adb916dc890f96 |
|
27-Apr-2005 |
greg@kroah.com <greg@kroah.com> |
[PATCH] add a "old style" SYSFS_attribute test to udev-test.pl |
88f09368b3dc2d17cf2ce1a4841e42a120a4dbb9 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] udev - switch callout part selector to {attribute}
Here we change the magic callout part number selector to the new
atribute syntax. The syntax to select the second part of the callout string:
'%2c' is now '%c{2}'
I think it's more clear and we no longer misuse the length argument.
The old syntax is still supported, but we should remove it some
time in the future. |
16378373cb9d96e5d424921806ff71f218e92694 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] udev - switch SYSFS_file to SYSFS{file}
Here we switch the configs and man pages to the new attribute syntax.
Also the 'partition trick' is mentioned in udev.8
I think it's more clear visible now, that inside the brackets are user
supplied values used and not some magic keys handled:
'SYSFS_dev' is now 'SYSFS{dev}'
The old syntax is still supported. |
93656247f3b398959a0b40ac352b9f6ac195e86b |
|
27-Apr-2005 |
patmans@us.ibm.com <patmans@us.ibm.com> |
[PATCH] udev add some ID tests
Patch against current udev bk to add a few ID rule tests. |
50e5de03d16be3e35e65cdf65f552807ad24e996 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] udev - create all partitions of blockdevice
Here is the first try to create all partitons of a blockdevice, since
removable media devices may need to acces the expected partition to
revalidate the media.
It uses the attribute syntax introduced with the last %s{file} patch.
I'm using this with my multi-slot-flash-card-reader:
SYSFS{model}="USB Storage-SMC ", NAME{all_partitions}="smartmedia"
SYSFS{model}="USB Storage-CFC ", NAME{all_partitions}="compactflash"
SYSFS{model}="USB Storage-MSC ", NAME{all_partitions}="memorystick"
SYSFS{model}="USB Storage-MMC ", NAME{all_partitions}="multimedia"
and I get:
tree /udev/
/udev/
|-- memorystick
|-- memorystick1
|-- memorystick10
|-- memorystick11
|-- memorystick12
|-- memorystick13
|-- memorystick14
|-- memorystick15
|-- memorystick2
|-- memorystick3
|-- memorystick4
|-- memorystick5
|-- memorystick6
|-- memorystick7
|-- memorystick8
|-- memorystick9
|-- multimedia
|-- multimedia1
|-- multimedia10
|-- multimedia11
|-- multimedia12
|-- multimedia13
|-- multimedia14
|-- multimedia15
|-- multimedia2
|-- multimedia3
|-- multimedia4
|-- multimedia5
|-- multimedia6
|-- multimedia7
|-- multimedia8
|-- multimedia9
...
If needed, we can make the number of partions to create
adjustable with the attribute? |
bb7386472466e55f75df024d18e8da37a222bb41 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] allow SYSFS{file}
On Sun, Feb 15, 2004 at 03:36:00AM +0100, Kay Sievers wrote:
>
> Since we have %s{file} it may be nice to allow SYSFS{file}.
> This patch allows:
>
> BUS="usb", SYSFS{idProduct}="a511", NAME="video%n"
>
> compared to the current:
>
> BUS="usb", SYSFS_idProduct="a511", NAME="video%n"
>
> The curent syntax is still supported.
> Looks a bit nicer and less hackish, I think.
Better patch with infrastructure to easily implement KEY{attribute}
for every other key. The first user is the SYSFS{file} key.
Both versions, brackets or underscore is supported for the attribute. |
a27cd06c6d3c83d9906f5e1aaf8d3c4b32055830 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] Adding '%s' format specifier to NAME and SYMLINK
On Thu, Feb 12, 2004 at 05:34:57PM -0800, Greg KH wrote:
> On Tue, Feb 10, 2004 at 09:14:20AM +0100, Hannes Reinecke wrote:
> > Hi all,
> >
> > this patch makes the format for NAME and SYMLINK a bit more flexible:
> > I've added a new format specifier '%s{<SYSFS_var>}', which allows for
> > the value of any sysfs entry found for this device to be inserted.
> > Example (for our S/390 fcp adapter):
> >
> > BUS="ccw", SYSFS_devtype="1732/03", NAME="%k" \
> > SYMLINK="zfcp-%s{hba_id}-%s{wwpn}:%s{fcp_lun}"
> >
> > I know this could also be done with an external program, but having this
> > incorporated into udev makes life easier, especially if run from
> > initramfs. Plus it makes the rules easier to follow, as the result is
> > directly visible and need not to be looked up in some external program.
> >
> > Comments etc. welcome.
>
> Oops, sorry I missed this for the 017 release. I'll look at it tomorrow
> and get back to you. At first glance it looks like a good thing.
>
> Oh, you forgot to update the documentation, that's important to do if
> you want this change to make it in :)
I took a part of the code and made a version that uses already implemented
attribute finding logic.
The parsing of the format length '%3x' and the '%x{attribute}' is a fuction now,
maybe there are more possible users in the future.
I've also added the test to udev-test.pl. |
b9fc973b9a9e9622e3b7f4c4031ffe0835df5f65 |
|
27-Apr-2005 |
greg@kroah.com <greg@kroah.com> |
[PATCH] Add another test to udev-test.pl and fix a bug when only running 1 test. |
2e31718495a89e6b582240ed527950f78e7d1849 |
|
27-Apr-2005 |
greg@kroah.com <greg@kroah.com> |
[PATCH] let udev-test.pl run an individual test if you ask it to.
just put the test number on the command line:
udev-test.pl 3
will run test number 3
If no test number is specified, all of the tests will be run, just like before. |
f0142622b8b68d58694d0c97396bb24d0830c5df |
|
27-Apr-2005 |
greg@kroah.com <greg@kroah.com> |
[PATCH] add a block device with a ! in the name, and a test for this. |
724257d97b452dd563ea1a3a5cdc53b18e8dcb34 |
|
27-Apr-2005 |
greg@kroah.com <greg@kroah.com> |
[PATCH] add support for figuring out which device on the sysfs "chain" the rule applies to.
This should fix one of the more annoying things to me about udev, and
gets rid of a TODO item. |
778050914360dfb469817e12a1080bbf98422ef2 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] udev - kill %D from udev-test.pl
Kill the two tests with %D. |
8ffb636f013a193688b132b8512e77b0747c41a1 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] udev - introduce format escape char
This patch adds a '%' to the format char list, so that a external
program may called with a non expanded '%' like:
PROGRAM="/bin/date +%%s"
Olaf Hering asked for the feature.
A tricky test is also added :) |
ac28b86d631f23b5df74dbeb33e76a2b3f5d88bb |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] udev - drop all methods :)
> Hi,
> as promised yesterday, here is a patch that drops the explicit methods
> given in the udev config and implement only one type of rule.
>
> A rule now consists only of a number of keys to match. All known keys
> are valid in any combination. The former configs should work with a few
> changes:
>
> o the "<METHOD>, " at the beginning of the line should be removed
>
> o the result of the externel program is matched with RESULT= instead if ID=
> the PROGRAM= key is only valid if the program exits with zero
> (just exit with nozero in a script if the rule should not match)
>
> o rules are processed in order they appear in the file, no priority
>
> o if NAME="" is given, udev is instructed to ignore this device,
> no node will be created
>
>
> EXAMPLE:
>
> # combined BUS, SYSFS and KERNEL
> BUS="usb", KERNEL="video*", SYSFS_model="Creative Labs WebCam*", NAME="test/webcam%n"
>
> # exec script only for the first ide drive (hda), all other will be skipped
> BUS="ide", KERNEL="hda*", PROGRAM="/home/kay/src/udev.kay/extras/ide-devfs.sh %k %b %n", RESULT="hd*", NAME="%1c", SYMLINK="%2c %3c"
>
>
> The udev-test.pl and test.block works fine here.
> Please adapt your config and give it a try.
>
Here is a slightly better version of the patch.
After a conversation with Patrick, we are now able to execute the PROGRAM
and also match in all following rules with the RESULT value from this exec.
EXAMPLE:
We have 7 rules with RESULT and 2 with PROGRAM.
Only the 5th rule matches with the callout result from the exec in the 4th rule.
RULES:
PROGRAM="/bin/echo abc", RESULT="no_match", NAME="web-no-2"
KERNEL="video*", RESULT="123", NAME="web-no-3"
KERNEL="video*", RESULT="123", NAME="web-no-4"
PROGRAM="/bin/echo 123", RESULT="no_match", NAME="web-no-5"
KERNEL="video*", RESULT="123", NAME="web-yes"
RESULT:
Jan 11 23:36:52 pim udev[26050]: namedev_name_device: process rule
Jan 11 23:36:52 pim udev[26050]: namedev_name_device: check PROGRAM
Jan 11 23:36:52 pim udev[26050]: execute_program: executing '/bin/echo abc'
Jan 11 23:36:52 pim udev[26050]: execute_program: result is 'abc'
Jan 11 23:36:52 pim udev[26050]: namedev_name_device: PROGRAM returned successful
Jan 11 23:36:52 pim udev[26050]: namedev_name_device: check for RESULT dev->result='no_match', udev->program_result='abc'
Jan 11 23:36:52 pim udev[26050]: namedev_name_device: RESULT is not matching
Jan 11 23:36:52 pim udev[26050]: namedev_name_device: process rule
Jan 11 23:36:52 pim udev[26050]: namedev_name_device: check for KERNEL dev->kernel='video*' class_dev->name='video0'
Jan 11 23:36:52 pim udev[26050]: namedev_name_device: KERNEL matches
Jan 11 23:36:52 pim udev[26050]: namedev_name_device: check for RESULT dev->result='123', udev->program_result='abc'
Jan 11 23:36:52 pim udev[26050]: namedev_name_device: RESULT is not matching
Jan 11 23:36:52 pim udev[26050]: namedev_name_device: process rule
Jan 11 23:36:52 pim udev[26050]: namedev_name_device: check for KERNEL dev->kernel='video*' class_dev->name='video0'
Jan 11 23:36:52 pim udev[26050]: namedev_name_device: KERNEL matches
Jan 11 23:36:52 pim udev[26050]: namedev_name_device: check for RESULT dev->result='123', udev->program_result='abc'
Jan 11 23:36:52 pim udev[26050]: namedev_name_device: RESULT is not matching
Jan 11 23:36:52 pim udev[26050]: namedev_name_device: process rule
Jan 11 23:36:52 pim udev[26050]: namedev_name_device: check PROGRAM
Jan 11 23:36:52 pim udev[26050]: execute_program: executing '/bin/echo 123'
Jan 11 23:36:52 pim udev[26050]: execute_program: result is '123'
Jan 11 23:36:52 pim udev[26050]: namedev_name_device: PROGRAM returned successful
Jan 11 23:36:52 pim udev[26050]: namedev_name_device: check for RESULT dev->result='no_match', udev->program_result='123'
Jan 11 23:36:52 pim udev[26050]: namedev_name_device: RESULT is not matching
Jan 11 23:36:52 pim udev[26050]: namedev_name_device: process rule
Jan 11 23:36:52 pim udev[26050]: namedev_name_device: check for KERNEL dev->kernel='video*' class_dev->name='video0'
Jan 11 23:36:52 pim udev[26050]: namedev_name_device: KERNEL matches
Jan 11 23:36:52 pim udev[26050]: namedev_name_device: check for RESULT dev->result='123', udev->program_result='123'
Jan 11 23:36:52 pim udev[26050]: namedev_name_device: RESULT matches
Jan 11 23:36:52 pim udev[26050]: namedev_name_device: found matching rule, 'video*' becomes ''
Jan 11 23:36:52 pim udev[26050]: namedev_name_device: name, 'web-yes' is going to have owner='', group='', mode = 0600 |
64682333bb02d946c179bc729da687f6c85bf9e8 |
|
27-Apr-2005 |
greg@kroah.com <greg@kroah.com> |
[PATCH] add tests for LABEL rule with a device that has no bus. |
1d936fbca0b93dd9cc7a71983ca1a8ea890f181d |
|
27-Apr-2005 |
greg@kroah.com <greg@kroah.com> |
[PATCH] If a CALLOUT rule has a BUS id, then we must check to see if the device is on a bus.
Thanks to Martin Schlemmer <azarah@nosferatu.za.org> for pointing this out. |
8ff8bbbaddaa30a7ec60d066652bca2628eaeb69 |
|
27-Apr-2005 |
greg@kroah.com <greg@kroah.com> |
[PATCH] add test for callout rule with a device that has no bus. |
5cac7def788fc6dec19dc8185f9c2c7c7c8d49a2 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] fix udev-test.pl
Here is a small fix for udev-test.pl, to print the METHOD also
for the "whitespace config" tests.
TEST: Handle comment lines in config file (and replace kernel name)
method '' for 'class/tty/ttyUSB0' expecting node 'visor'
add: ok remove: ok |
358c8c20239a314b4684c54485c526deaf36dd3b |
|
27-Apr-2005 |
greg@kroah.com <greg@kroah.com> |
[PATCH] add tests for multi-file LABEL rules. |
281ff00a611aa0a71e43dd4355b0caa918d820d2 |
|
27-Apr-2005 |
greg@kroah.com <greg@kroah.com> |
[PATCH] add tests to catch whitespace and comment config file parsing errors. |
d94df232423870641132b307d74281f692219730 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] don't rely on field order in namedev_parse
o change the parsing to get a key from the rule and sort it
into our list of known keys instead of expecting a special order
o the key to match a sysfs file must be prependend by 'SYSFS_' now
to match with the new parsing.
(The config must be changed, but it's a bit more descriptive too.)
o put names of fields in define's, like the name of the methods
o update all tests and the man page |
b1c5e3339deb97f4a30053111b444489a3bc9562 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] get part of callout return string
Try this patch if you like, to get special parts of the callout output.
This beast works now:
CALLOUT, BUS="scsi", PROGRAM="/bin/echo -n node link1 link2", ID="node *", NAME="%1c", SYMLINK="%2c %3c"
The callout returned string is separated by spaces and is
addressed by the "len" value of the 'c' format char.
Since we support symlinks, this my be useful for other uses of callout too.
introduce 'len number' for format chars
the first use is 'c'-the callout return to select a part of the output string like:
CALLOUT, BUS="scsi", PROGRAM="/bin/echo -n node link1 link2", ID="node *", NAME="%1c", SYMLINK="%2c %3c"
(note: first part is requested by len=1, len=0 will return the whole string)
add a test to udev-test.pl |
525d07e78e281f5034ee29d2cd5cc144fe320431 |
|
27-Apr-2005 |
greg@kroah.com <greg@kroah.com> |
[PATCH] change devfs disk name rule from 'disk' to 'disc' |
4763256c65859b94ac7a309cbb8f772d5426a08d |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] allow multiple symlinks
Here is a patch to allow the creation of multiple symlinks.
The names must be separated by a space character.
REPLACE, KERNEL="ttyUSB0", NAME="visor", SYMLINK="first-%n second-%n third-%n"
results in:
Dec 9 05:28:51 pim udev[12019]: create_node: mknod(udev-root/visor, 020666, 188, 0)
Dec 9 05:28:51 pim udev[12019]: create_node: symlink 'udev-root/first-0' to node 'visor' requested
Dec 9 05:28:51 pim udev[12019]: create_node: symlink(./visor, udev-root/first-0)
Dec 9 05:28:51 pim udev[12019]: create_node: symlink 'udev-root/second-0' to node 'visor' requested
Dec 9 05:28:51 pim udev[12019]: create_node: symlink(./visor, udev-root/second-0)
Dec 9 05:28:51 pim udev[12019]: create_node: symlink 'udev-root/third-0' to node 'visor' requested
Dec 9 05:28:51 pim udev[12019]: create_node: symlink(./visor, udev-root/third-0) |
3d150dfb28efbaf0b25f154fb8955c47d606c3d5 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] experimental (very simple) SYMLINK creation
> > here is a experimental symlink creation patch - for discussion,
> > in which direction we should go.
> > It is possible now to define SYMLINK= after the NAME= in udev.rules.
> > The link is relative to the node, but the path is not optimized now
> > if the node and the link are in the same nested directory.
> > Only one link is supported, cause i need to sleep now :)
> >
> > 06-simple-symlink-creation.diff
> > simple symlink creation
> > reorganized udev-remove to have access to the symlink field
> > subdir creation/removal are functions now
> > udev-test.pl tests for link creation/removal
Here is a new version with relative link target path optimization
an better tests in udev-test.pl:
LABEL, BUS="scsi", vendor="IBM-ESXS", NAME="1/2/a/b/node", SYMLINK="1/2/c/d/symlink"
Dec 7 06:48:34 pim udev[13789]: create_node: symlink 'udev-root/1/2/c/d/symlink' to node '1/2/a/b/node' requested
Dec 7 06:48:34 pim udev[13789]: create_path: created 'udev-root/1/2/c'
Dec 7 06:48:34 pim udev[13789]: create_path: created 'udev-root/1/2/c/d'
Dec 7 06:48:34 pim udev[13789]: create_node: symlink(../../a/b/node, udev-root/1/2/c/d/symlink) |
83be97ba211c4f69e7fd9f16f57ca7210a116a7d |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] pattern match for label method
switch LABEL search to pattern match
add a test for pattern match in LABEL
remove useless rule from udev.rules |
72ffa78debb1f96488b5e13d3151486563b460e7 |
|
27-Apr-2005 |
greg@kroah.com <greg@kroah.com> |
[PATCH] fix up the tests to work without all of the environ variables. |
9f1da3613897346b6a45e1f7a706d2315bc0f420 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] pattern matching for namedev
As promised yesterday, here is a patch to implement a more advanced
pattern matching instead of the simple '*'.
We can remove the "tty"="tty" line from udev.rules now and
replace "tty*" by "tty[0-9]*" to catch only the vc's.
implement pattern matching in namedev
'*' - to match zero or more chars
'?' - to match exactly one char
'[]' - character classes with ranges '[0-9]'and negation [!A] |
fd9594b61fb5ac4106731c087af614940b066df4 |
|
27-Apr-2005 |
greg@kroah.com <greg@kroah.com> |
[PATCH] fix up the tests to support the rules file name change |
0db6d4cc61523ee7f3f627f807c01f86ee2d36ab |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] catch replace device by wildcard
catch device name by wildcard to support a whole class of devices
by just one config line like:
REPLACE, KERNEL="tty*", NAME="vc/%n" |
772558f4e9e981ca8f68026457589784028c730b |
|
27-Apr-2005 |
greg@kroah.com <greg@kroah.com> |
[PATCH] add test for checking the BUS value. |
36043f8418c8a0e8decb090c1ea22092fe9c976a |
|
27-Apr-2005 |
greg@kroah.com <greg@kroah.com> |
[PATCH] add test and documentation for new %D devfs format modifier |
5499d319057de0ca6407e07ef99069610633f56f |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] udev-test.pl add subdir test
03-udev-test.pl-add-subdir-test.diff
o duplicate existing test and change it to explicitely test the subdir handling |
f8f00338a15409f685fc51184862bca5988aee21 |
|
27-Apr-2005 |
kay.sievers@vrfy.org <kay.sievers@vrfy.org> |
[PATCH] udev-test.pl - tweaks
I found two missing characters and optimized $PWD. |
f3b04a2e0a041aa5546284c5bfc2022ab3e8b15f |
|
27-Apr-2005 |
greg@kroah.com <greg@kroah.com> |
[PATCH] added ability to put format specifiers in the CALLOUT program string. |
e5fbfe0a13e11c08ed72b67fa4e72a93bcd5de37 |
|
27-Apr-2005 |
greg@kroah.com <greg@kroah.com> |
[PATCH] tweak udev-test.pl to report '0' errors if that's what happened. |
a367f04ee0a45a9ad342e04532c73eb0cc179793 |
|
27-Apr-2005 |
greg@kroah.com <greg@kroah.com> |
[PATCH] add udev-test perl script from Kay Sievers <kay.sievers@vrfy.org> which blows away my puny shell scripts. |