chiark / gitweb /
[PATCH] big cleanup of internal udev api
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>
Tue, 19 Oct 2004 02:11:51 +0000 (19:11 -0700)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 05:02:46 +0000 (22:02 -0700)
commit7a947ce51586fd4212447643df90580542777ab9
treed9d30236cf65e489b9bc2c5003ef9e1fa838f53e
parent8e0871196c916be60a9d0327ce8483c4f9763c17
[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.
16 files changed:
dev_d.c
extras/start_udev
namedev.c
namedev.h
test/udev-test.pl
udev.c
udev.h
udev_add.c
udev_lib.c
udev_lib.h
udev_remove.c
udevdb.c
udevdb.h
udevinfo.c
udevstart.c
udevtest.c