chiark / gitweb /
15 years ago[PATCH] remove unused variables [Sun, 28 Nov 2004 13:01:43 +0000 (14:01 +0100)]
[PATCH] remove unused variables

Remove udev.bus, cause it's currently unused and newer kernels will pass
it in the hotplug environment as PHYSDEVBUS.

Remove udev.action, cause it's unused.

Rename udev_set_values() to udev_init_device().

15 years ago[PATCH] udevsend/udevd handle events without a subsystem [Sun, 28 Nov 2004 12:56:22 +0000 (13:56 +0100)]
[PATCH] udevsend/udevd handle events without a subsystem

Accept event without a subsystem and pass it through udevd.
Pass empty environment while starting udevd.

15 years ago[PATCH] use blacklist on device "remove" and remove dev.d/ call code duplication [Sun, 28 Nov 2004 12:47:36 +0000 (13:47 +0100)]
[PATCH] use blacklist on device "remove" and remove dev.d/ call code duplication

15 years ago[PATCH] update the man pages and correct Usage: hints [Sun, 28 Nov 2004 12:41:15 +0000 (13:41 +0100)]
[PATCH] update the man pages and correct Usage: hints

Add UDEV_LOG to the man udev man page. Remove mention of specific
variables from the udevd/udevsend man page as we changed to pass
the whole environment.

Correct printed Usage: of udevtest and udevinfo.

Init the config in udevtest earlier to accept input with and without
the sysfs mount point.

15 years ago[PATCH] don't call the hotplug scripts with a test run [Thu, 25 Nov 2004 09:15:32 +0000 (10:15 +0100)]
[PATCH] don't call the hotplug scripts with a test run

15 years agomore fixups
Greg KH [Wed, 27 Apr 2005 05:54:32 +0000 (22:54 -0700)]
more fixups

15 years agofixups to get back to proper patch order
Greg KH [Wed, 27 Apr 2005 05:52:57 +0000 (22:52 -0700)]
fixups to get back to proper patch order

Damm, it's hard to merge a multi-line tree into one flat line at times...

15 years ago[PATCH] don't call dev.d/ scripts twice, if directory = subsystem [Thu, 25 Nov 2004 08:55:54 +0000 (09:55 +0100)]
[PATCH] don't call dev.d/ scripts twice, if directory = subsystem

The /etc/dev.d/input/ was called twice for /dev/input/mouse.
Skip the execution if we get a directory named after the subsystem.
Move UDEV_NO_DEVD where it belongs.

15 years ago[PATCH] remove archive file if we changed something [Thu, 25 Nov 2004 08:52:19 +0000 (09:52 +0100)]
[PATCH] remove archive file if we changed something

15 years ago[PATCH] link archive insted of objects [Thu, 25 Nov 2004 07:38:06 +0000 (08:38 +0100)]
[PATCH] link archive insted of objects

This cuts the size of the binaries, as only objects that
are actually used are linked into the binary:

 45592 -> 43608 udev
  4380 ->  4380 udevsend
 10380 ->  4652 udevd
 34732 -> 33100 udevinfo
 45432 -> 37208 udevtest

15 years ago[PATCH] rename udev_lib to udev_utils and dev_d to udev_multiplex [Thu, 25 Nov 2004 01:44:38 +0000 (02:44 +0100)]
[PATCH] rename udev_lib to udev_utils and dev_d to udev_multiplex

15 years ago[PATCH] Allow GROUP to have modifiers in it [Fri, 3 Dec 2004 06:23:21 +0000 (22:23 -0800)]
[PATCH] Allow GROUP to have modifiers in it

15 years ago[PATCH] comment out ability to run with valgrind [Fri, 3 Dec 2004 06:16:54 +0000 (22:16 -0800)]
[PATCH] comment out ability to run with valgrind

15 years ago[PATCH] fix spurious valgrind warning in udev. [Fri, 3 Dec 2004 06:14:57 +0000 (22:14 -0800)]
[PATCH] fix spurious valgrind warning in udev.

15 years ago[PATCH] DEVNAME on device removal [Tue, 23 Nov 2004 15:49:55 +0000 (07:49 -0800)]
[PATCH] DEVNAME on device removal

  I just noticed that the DEVNAME enviroment variable isn't being set anymore
  in udev 0.046 on device removal, while it was being set in 0.042. We're using
  the property tto do umount -l <devices> when a block device is removed. Afaik
  there is no other way to associate a device with it's DEVNAME on removal ?

  Also are there cases where doing umount -l on the removed devices is wrong?
  I guess the device is gone, so there is no sense in keeping it mounted (it's
  not like the filesystem is gonna come back in a sane state again)..

  Attached (trivial) patch brings back the DEVNAME variable on device removal.

15 years ago[PATCH] fix udevinfo '-q path' option as it was not working [Fri, 3 Dec 2004 05:45:26 +0000 (21:45 -0800)]
[PATCH] fix udevinfo '-q path' option as it was not working

15 years ago[PATCH] handle whole hotplug event with udevd/udev [Tue, 23 Nov 2004 07:01:57 +0000 (08:01 +0100)]
[PATCH] handle whole hotplug event with udevd/udev

If /proc/sys/kernel/hotplug points to /sbin/udevsend we handle the whole
hotplug event with multiplexing /etc/hotplug.d/.

15 years ago[PATCH] integrate wait_for_sysfs in udev [Tue, 23 Nov 2004 06:34:56 +0000 (07:34 +0100)]
[PATCH] integrate wait_for_sysfs in udev

Move the wait_for_sysfs logic into the udev binary. udev is called for
every hotplug event. It also waits for /devices events.

15 years ago[PATCH] remove my test code [Tue, 23 Nov 2004 03:22:16 +0000 (04:22 +0100)]
[PATCH] remove my test code

15 years ago[PATCH] make the searched multiplex directories conditionally [Tue, 23 Nov 2004 05:22:26 +0000 (06:22 +0100)]
[PATCH] make the searched multiplex directories conditionally

If we don't have "name" or a "subsystem" don't look for it.

15 years ago[PATCH] add MANAGED_EVENT to the forked udev environment [Tue, 23 Nov 2004 05:14:21 +0000 (06:14 +0100)]
[PATCH] add MANAGED_EVENT to the forked udev environment

This will prevent a loop, if udev sends events back into the

15 years ago[PATCH] export DEVNAME on remove event [Tue, 23 Nov 2004 04:05:37 +0000 (05:05 +0100)]
[PATCH] export DEVNAME on remove event

Fix from Sjoerd Simons <>, it got lost
on the recent reorganization of the udev processing stages.

15 years ago[PATCH] export udev_log flag to the environment [Tue, 23 Nov 2004 03:47:06 +0000 (04:47 +0100)]
[PATCH] export udev_log flag to the environment

Forked scripts and callouts may want to follow udev's configured behavior
and log only if udev is logging itself.

15 years ago[PATCH] add support for /devices-devices without any file to wait for [Tue, 23 Nov 2004 02:55:24 +0000 (03:55 +0100)]
[PATCH] add support for /devices-devices without any file to wait for

15 years ago[PATCH] fix parallel build error [Tue, 23 Nov 2004 03:23:00 +0000 (19:23 -0800)]
[PATCH] fix parallel build error

15 years ago[PATCH] Patch from Alex Riesen <> [Tue, 23 Nov 2004 02:43:37 +0000 (03:43 +0100)]
[PATCH] Patch from Alex Riesen <>

> I just put const's at some places. It cut down data segments, but
> increased code size.
> Overall still smaller:
> -rwxr-xr-x  1 user users 50420 Nov 19 10:53 ../udev-046/udev
> -rwxr-xr-x  1 user users 49556 Nov 19 10:53 udev
>    text    data     bss     dec     hex filename
>   47245     968   22480   70693   11425 ../udev-046/udev
>   48089     104   22064   70257   11271 udev
> Also, the instance of utsname in udev_lib.c is used only once.

15 years ago[PATCH] add a bunch of busses to the list of what to wait for [Tue, 23 Nov 2004 02:36:32 +0000 (03:36 +0100)]
[PATCH] add a bunch of busses to the list of what to wait for

15 years ago[PATCH] close connection to syslog in forked udevd child [Tue, 23 Nov 2004 02:30:13 +0000 (03:30 +0100)]
[PATCH] close connection to syslog in forked udevd child

15 years ago[PATCH] udevd exit path cleanup [Tue, 23 Nov 2004 02:28:41 +0000 (03:28 +0100)]
[PATCH] udevd exit path cleanup

15 years ago[PATCH] fix network device naming bug [Sat, 20 Nov 2004 06:42:19 +0000 (22:42 -0800)]
[PATCH] fix network device naming bug

15 years ago[PATCH] 046 release 046 [Fri, 19 Nov 2004 03:39:05 +0000 (19:39 -0800)]
[PATCH] 046 release

15 years ago[PATCH] Don't try to print major/minor for devices without a dev file. [Fri, 19 Nov 2004 03:03:52 +0000 (04:03 +0100)]
[PATCH] Don't try to print major/minor for devices without a dev file.

15 years ago[PATCH] remove get_device_type and merge that into udev_set_values() [Fri, 19 Nov 2004 02:50:05 +0000 (03:50 +0100)]
[PATCH] remove get_device_type and merge that into udev_set_values()

15 years ago[PATCH] prevent udevd crash if DEVPATH is not set [Fri, 19 Nov 2004 02:49:13 +0000 (03:49 +0100)]
[PATCH] prevent udevd crash if DEVPATH is not set

Just move the event straight to the exec list and don't try
to compare a NULL pointer.

15 years ago[PATCH] add ippp and bcrypt to the exception lists of wait_for_sysfs [Fri, 19 Nov 2004 02:43:43 +0000 (03:43 +0100)]
[PATCH] add ippp and bcrypt to the exception lists of wait_for_sysfs

15 years ago[PATCH] let klibc add the trailing newline to syslog conditionally [Fri, 19 Nov 2004 02:41:38 +0000 (03:41 +0100)]
[PATCH] let klibc add the trailing newline to syslog conditionally

We get an empty line after every debug print from libsysfs,
so don't add a second if we already have one.

15 years ago[PATCH] change key names in udevinfo sysfs walk to match the kernel [Sat, 13 Nov 2004 04:33:25 +0000 (05:33 +0100)]
[PATCH] change key names in udevinfo sysfs walk to match the kernel

15 years ago[PATCH] disable logging for udevstart [Sat, 13 Nov 2004 13:51:10 +0000 (14:51 +0100)]
[PATCH] disable logging for udevstart

The slow logging facilites on some systems are a reason for
the reported slowness of udevstart. On one of my boxes udevstart
is down from 9 second to 0.3 seconds.

15 years ago[PATCH] add NAME{ignore_remove} attribute [Sat, 13 Nov 2004 13:43:24 +0000 (14:43 +0100)]
[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.

15 years ago[PATCH] remove historical SYSFS_attr="value" format [Sat, 13 Nov 2004 11:50:44 +0000 (12:50 +0100)]
[PATCH] remove historical SYSFS_attr="value" format

This is long ago replaced by the unified key attribute
format SYSFS{attr}="value".

15 years ago[PATCH] don't wait for sysfs if the kernel(2.6.10-rc2) tells us what not to expect [Sat, 13 Nov 2004 11:36:47 +0000 (12:36 +0100)]
[PATCH] don't wait for sysfs if the kernel(2.6.10-rc2) tells us what not to expect

Newer kernels will tell us if we should wait for the "device" or
the "bus" link. So don't waste the time with our lists or wait
for the timeout.

15 years ago[PATCH] support DRIVER as a rule key [Sat, 13 Nov 2004 04:21:12 +0000 (05:21 +0100)]
[PATCH] support DRIVER as a rule key

Match with a rule against a device with a specific kernel driver.

15 years ago[PATCH] support SUBSYSTEM as a rule key [Fri, 12 Nov 2004 05:52:55 +0000 (06:52 +0100)]
[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.

15 years ago[PATCH] rename udevdb* to udev_db* [Fri, 12 Nov 2004 05:32:19 +0000 (06:32 +0100)]
[PATCH] rename udevdb* to udev_db*

15 years ago[PATCH] Make dev.d/ handling a separate processing stage [Fri, 12 Nov 2004 05:21:16 +0000 (06:21 +0100)]
[PATCH] Make dev.d/ handling a separate processing stage

Move the logic when and how to call the dev.d/ scripts into the
main processing path.

15 years ago[PATCH] make the udev object available to more processing stages [Fri, 12 Nov 2004 05:20:22 +0000 (06:20 +0100)]
[PATCH] make the udev object available to more processing stages

Remove the overwriting of main_argv[] hack and use the values
from the udev object.

Pass the udev object to call_foreach_file().

In the udevstart case, export SUBSYSTEM and UDEVSTART to the

15 years ago[PATCH] remove udev_lib dependency from udevsend, which makes it smaller [Fri, 12 Nov 2004 05:18:28 +0000 (06:18 +0100)]
[PATCH] remove udev_lib dependency from udevsend, which makes it smaller

15 years ago[PATCH] add ACTION to udev object to expose it to the whole process [Fri, 12 Nov 2004 05:17:35 +0000 (06:17 +0100)]
[PATCH] add ACTION to udev object to expose it to the whole process

15 years ago[PATCH] make udevinfo's -r option also workimg for symlink queries [Wed, 10 Nov 2004 09:19:39 +0000 (10:19 +0100)]
[PATCH] make udevinfo's -r option also workimg for symlink queries

[kay@pim udev.kay]$ ./udevinfo -r -q symlink -p /class/video4linux/video0
/dev/camera0 /dev/kamera0 /dev/videocam0 /dev/webcam0

[kay@pim udev.kay]$ ./udevinfo -q symlink -p /class/video4linux/video0
camera0 kamera0 videocam0 webcam0

15 years ago[PATCH] let udev act as udevstart if argv[1] == "udevstart" [Wed, 10 Nov 2004 08:44:58 +0000 (09:44 +0100)]
[PATCH] let udev act as udevstart if argv[1] == "udevstart"

"udev udevstart" will run udev as udevstart. This makes it easier
to run a test in the source tree without the need to create a

15 years ago[PATCH] improve udevinfo sysfs info walk [Wed, 10 Nov 2004 01:15:27 +0000 (02:15 +0100)]
[PATCH] improve udevinfo sysfs info walk

15 years ago[PATCH] add sysfs info walk to udevinfo [Tue, 9 Nov 2004 11:11:46 +0000 (12:11 +0100)]
[PATCH] add sysfs info walk to udevinfo

The option "-s" will get information about the major/minor,
the physical device, the bus value and the driver from sysfs for
all class and block devices:

kay@pim udev.kay]$ ./udevinfo -s

DEVPATH        '/sys/block/sda'
SUBSYSTEM      'block'
NAME           'sda'
MAJORMINOR     '8:0'
PHYSDEVPATH    '/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3:1.0/host2/target2:0:0/2:0:0:0'
DRIVER         'sd'

DEVPATH        '/sys/class/input/mice'
SUBSYSTEM      'input'
NAME           'mice'
MAJORMINOR     '13:63'

DEVPATH        '/sys/class/input/mouse0'
SUBSYSTEM      'input'
NAME           'mouse0'
MAJORMINOR     '13:32'


15 years ago[PATCH] pass the whole event environment to udevd [Sat, 6 Nov 2004 13:30:15 +0000 (14:30 +0100)]
[PATCH] pass the whole event environment to udevd

Make _all_ hotplug variables available to the forked udev,
the udev callouts and the udev dev.d/ scripts. We put the
whole environment into a buffer and send it over the udevd
socket. udevd recreates *envp[] and passes it to the exec().

15 years ago[PATCH] make spotless for releases. [Sat, 13 Nov 2004 07:43:34 +0000 (23:43 -0800)]
[PATCH] make spotless for releases.

15 years ago[PATCH] replace tdb database by simple lockless file database [Sat, 6 Nov 2004 13:28:01 +0000 (14:28 +0100)]
[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.

15 years ago[PATCH] 045 release 045 [Thu, 18 Nov 2004 03:28:03 +0000 (19:28 -0800)]
[PATCH] 045 release

15 years ago[PATCH] Some updates for Gentoo's udev rules [Thu, 18 Nov 2004 03:10:07 +0000 (19:10 -0800)]
[PATCH] Some updates for Gentoo's udev rules


Here is a few updates for the udev.rules.gentoo from udev package.
I will summarise it briefly:

1)  The last change you did to legacy tty's is wrong.

I say this because:
1a)  The original devfs rules had both master and slave in /dev/pty:

nosferatu linux # grep devfs_name drivers/char/pty.c
        pty_driver->devfs_name = "pty/m";
        pty_slave_driver->devfs_name = "pty/s";
nosferatu linux #

1b)  If you refer to ' Tty problems?', you will see that
the /dev/tty/ directory our rules create, replaces this symlink:

nosferatu portage # ls -l /dev/tty
crw-rw-rw-  1 root tty 5, 0 Nov 14 17:06 /dev/tty
nosferatu portage #

which is used to determine the controlling tty.

2)  Somebody added the /dev/cpu/microcode rule, but it was not run
as there was an older rule before that placing it in /dev/misc (which
is wrong).  Just remove the first broken rule

3)  Some form/tab cleanups.  Reorder rules alphabetically according to
device class to make searching/editing easier.

15 years ago[PATCH] 044 release 044 [Thu, 11 Nov 2004 03:38:07 +0000 (19:38 -0800)]
[PATCH] 044 release

15 years ago[PATCH] 043 release 043 [Fri, 5 Nov 2004 14:52:53 +0000 (06:52 -0800)]
[PATCH] 043 release

15 years ago[PATCH] reduce syslog noise of udevsend if multiple instances try to start udevd [Thu, 11 Nov 2004 03:05:20 +0000 (19:05 -0800)]
[PATCH] reduce syslog noise of udevsend if multiple instances try to start udevd

15 years ago[PATCH] add i2c-dev to the list of devices without a bus [Thu, 11 Nov 2004 03:04:38 +0000 (19:04 -0800)]
[PATCH] add i2c-dev to the list of devices without a bus

15 years ago[PATCH] add support to gentoo rules file. [Thu, 11 Nov 2004 02:46:01 +0000 (18:46 -0800)]
[PATCH] add support to gentoo rules file.

15 years ago[PATCH] fix gentoo legacy tty rule [Thu, 11 Nov 2004 02:13:11 +0000 (18:13 -0800)]
[PATCH] fix gentoo legacy tty rule

I thought I had fixed this a long time ago...

15 years ago[PATCH] remove 'sudo' usage from the Makefile [Thu, 11 Nov 2004 02:11:40 +0000 (18:11 -0800)]
[PATCH] remove 'sudo' usage from the Makefile

should fix a lot of gentoo bug reports

15 years ago[PATCH] make test for root permissions before running [Thu, 11 Nov 2004 02:11:00 +0000 (18:11 -0800)]
[PATCH] make test for root permissions before running

Should prevent false error reports from happening.

15 years ago[PATCH] Shut up wait_for_sysfs class/net failure messages, as it's not possible [Fri, 5 Nov 2004 12:17:30 +0000 (13:17 +0100)]
[PATCH] Shut up wait_for_sysfs class/net failure messages, as it's not possible

15 years ago[PATCH] wait() for specific pid to return from fork(). [Fri, 5 Nov 2004 12:16:56 +0000 (13:16 +0100)]
[PATCH] wait() for specific pid to return from fork().

15 years ago[PATCH] Don't use any syslog() in signal handler, cause it may deadlock. [Fri, 5 Nov 2004 12:16:32 +0000 (13:16 +0100)]
[PATCH] Don't use any syslog() in signal handler, cause it may deadlock.

15 years ago[PATCH] Add support for highpoint ataraid to volume_id to suppress [Tue, 2 Nov 2004 09:22:11 +0000 (10:22 +0100)]
[PATCH] Add support for highpoint ataraid to volume_id to suppress

15 years ago[PATCH] Add a bunch of devices without "device" symlinks. [Tue, 2 Nov 2004 09:20:31 +0000 (10:20 +0100)]
[PATCH] Add a bunch of devices without "device" symlinks.

15 years ago[PATCH] Exit, if udevtest cannot open the device (segfault). [Sat, 30 Oct 2004 11:44:46 +0000 (13:44 +0200)]
[PATCH] Exit, if udevtest cannot open the device (segfault).

15 years ago[PATCH] Patches from Harald Hoyer <>. [Sat, 30 Oct 2004 11:37:48 +0000 (13:37 +0200)]
[PATCH] Patches from Harald Hoyer <>.

15 years ago[PATCH] Apply the default permissions even if we found a entry in [Sat, 30 Oct 2004 11:33:06 +0000 (13:33 +0200)]
[PATCH] Apply the default permissions even if we found a entry in

15 years ago[PATCH] add test for format chars in multiple symlinks to replace [Sat, 30 Oct 2004 11:29:52 +0000 (13:29 +0200)]
[PATCH] add test for format chars in multiple symlinks to replace

15 years ago[PATCH] Add net/vmnet and class/zaptel to the list of devices without physical device [Sat, 30 Oct 2004 11:27:36 +0000 (13:27 +0200)]
[PATCH] Add net/vmnet and class/zaptel to the list of devices without physical device

15 years ago[PATCH] add test target to makefile [Thu, 28 Oct 2004 15:19:13 +0000 (10:19 -0500)]
[PATCH] add test target to makefile

Will help distros that have a test phase of their build.

15 years ago[PATCH] add dumb script to show all sysfs devices in the system. [Mon, 25 Oct 2004 14:53:15 +0000 (07:53 -0700)]
[PATCH] add dumb script to show all sysfs devices in the system.

15 years ago[PATCH] 042 release 042 [Sat, 23 Oct 2004 13:44:29 +0000 (06:44 -0700)]
[PATCH] 042 release

In the grand tradition of releasing free software projects on my birthday
for the past few years.

And yes, I skipped version 041, call it grumpyness in my old age...

15 years ago[PATCH] add inotify to the rules for gentoo [Sat, 23 Oct 2004 12:44:44 +0000 (05:44 -0700)]
[PATCH] add inotify to the rules for gentoo

15 years ago[PATCH] Remove the last klibc specific line from the main udev code [Wed, 20 Oct 2004 12:13:33 +0000 (14:13 +0200)]
[PATCH] Remove the last klibc specific line from the main udev code

15 years ago[PATCH] update to libsysfs 1.2.0 and add some stuff klib_fixup [Wed, 20 Oct 2004 11:15:26 +0000 (13:15 +0200)]
[PATCH] update to libsysfs 1.2.0 and add some stuff klib_fixup

15 years ago[PATCH] improve klibc fixup integration [Wed, 20 Oct 2004 09:59:11 +0000 (11:59 +0200)]
[PATCH] improve klibc fixup integration

15 years ago[PATCH] cleanup udevd/udevstart [Tue, 19 Oct 2004 11:37:30 +0000 (04:37 -0700)]
[PATCH] cleanup udevd/udevstart

Change to the same timeout loop we use in the rest of the code. Change
some comments and names to be more descriptive.

I'm mostly finished with the overall cleanup. I will post a new patch
for the udevd-nofork experiment, which will be much smaller now.

15 years ago[PATCH] skip waiting for device if we get a bad event for class creation [Sat, 23 Oct 2004 10:15:22 +0000 (12:15 +0200)]
[PATCH] skip waiting for device if we get a bad event for class creation

15 years ago[PATCH] add net/pan and net/bnep handling [Sat, 23 Oct 2004 10:13:01 +0000 (12:13 +0200)]
[PATCH] add net/pan and net/bnep handling

15 years ago[PATCH] switch wait for bus_file to stat() instead of open() [Sat, 23 Oct 2004 10:12:28 +0000 (12:12 +0200)]
[PATCH] switch wait for bus_file to stat() instead of open()

15 years ago[PATCH] expose sysfs functions for sharing it [Tue, 19 Oct 2004 11:37:22 +0000 (04:37 -0700)]
[PATCH] expose sysfs functions for sharing it

This patch exposes the wait_for_sysfs functions to all possible users,
so we need to maintain only one list of exceptions. The last list is
hereby removed from udev.c.

15 years ago[PATCH] 040 release 040 [Tue, 19 Oct 2004 08:20:30 +0000 (01:20 -0700)]
[PATCH] 040 release

15 years ago[PATCH] sparse cleanups on the tree [Tue, 19 Oct 2004 06:14:20 +0000 (23:14 -0700)]
[PATCH] sparse cleanups on the tree

15 years ago[PATCH] fix debug in volume id / fix clashing global var name [Tue, 19 Oct 2004 05:57:41 +0000 (22:57 -0700)]
[PATCH] fix debug in volume id / fix clashing global var name

Here we get the logging for udev_volume_id working if it is compiled
with DEBUG=true. Also fixed is a name clash with a global variable.

15 years ago[PATCH] wait_for_sysfs update for dm devices [Tue, 19 Oct 2004 05:10:38 +0000 (22:10 -0700)]
[PATCH] wait_for_sysfs update for dm devices


I got these when creating LVM2 snapshots:

| Oct 17 04:23:09 server wait_for_sysfs[5120]: error: wait_for_sysfs needs an update to handle the device '/block/dm-6' properly, please report to <>
| Oct 17 04:23:09 server wait_for_sysfs[5129]: error: wait_for_sysfs needs an update to handle the device '/block/dm-6' properly, please report to <>
| Oct 17 04:23:09 server wait_for_sysfs[5131]: error: wait_for_sysfs needs an update to handle the device '/block/dm-7' properly, please report to <>
| [...]

15 years ago[PATCH] fix stupid cut-and-paste error for msr devices on gentoo boxes. [Tue, 19 Oct 2004 04:42:23 +0000 (21:42 -0700)]
[PATCH] fix stupid cut-and-paste error for msr devices on gentoo boxes.

15 years ago[PATCH] volume_id fix [Tue, 19 Oct 2004 03:51:16 +0000 (20:51 -0700)]
[PATCH] volume_id fix

I've been told that open() should not pass O_NONBLOCK.

15 years ago[PATCH] $local user [Tue, 19 Oct 2004 03:51:13 +0000 (20:51 -0700)]
[PATCH] $local user

We once implemented the devfsd feature to set the owner of a device node
to the "local" user. This was before we had the dev.d/ scripts. We discussed
a similar issue with D-BUS recently and this should be better handled depending
on the distributions way to do such a thing.

I'm for removing this here as this can be easily covered by a dev.d/

Here is the patch if nobody objects :)

15 years ago[PATCH] delete udevruler.c as per Kay's request. [Tue, 19 Oct 2004 02:40:21 +0000 (19:40 -0700)]
[PATCH] delete udevruler.c as per Kay's request.

15 years ago[PATCH] cleanup netif handling and netif-dev.d/ events [Tue, 19 Oct 2004 02:28:39 +0000 (19:28 -0700)]
[PATCH] cleanup netif handling and netif-dev.d/ events

Here we supress the dev.d/ execution if we didn't change a network
interface's name with a rule. This should solve the issue of two
running dhclients for the same interface, cause the
/etc/dev.d/net/ script that fakes the hotplug event runs
with every udevstart for every interface and fakes a second identical
hotplug event on bootup.

With this patch netif interfaces are no longer stored in the udevdb.
It is not needed, cause we don't have permissions or symlinks :) and
all information is available in sysfs.

This patch also moves the dev_d execution calls out of the
udev_add/udev_remove. As with the former api-cleanup-patch we have
all processed data in one udev struct and can place the execution
calls where needed.

15 years ago[PATCH] big cleanup of internal udev api [Tue, 19 Oct 2004 02:11:51 +0000 (19:11 -0700)]
[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.

15 years ago[PATCH] fix up the wait_for_sysfs_test script a bit. [Tue, 19 Oct 2004 02:04:20 +0000 (19:04 -0700)]
[PATCH] fix up the wait_for_sysfs_test script a bit.

We also emit the same things the -mm tree does now, so to make that easier
to test for.

15 years ago[PATCH] don't wait for dummy devices [Tue, 19 Oct 2004 01:16:12 +0000 (18:16 -0700)]
[PATCH] don't wait for dummy devices

No need to wait for dummy net devices.

15 years ago[PATCH] close the syslog [Tue, 19 Oct 2004 01:15:10 +0000 (18:15 -0700)]
[PATCH] close the syslog

Seems that we never closed the opened syslog.
Here is a patch to do this in all our binaries.