chiark / gitweb /
[PATCH] dev_d.c file sorting and cleanup
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>
Sat, 27 Mar 2004 09:21:46 +0000 (01:21 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:35:12 +0000 (21:35 -0700)
commit4a539daf1e5daa17b52239478d97f8dc7a6506b6
tree0c0554e55bba3ec47ca9844da0135ee8c68c3622
parent949e32f2249da55890a6a49208023df30b6b5227
[PATCH] dev_d.c file sorting and cleanup

On Thu, Mar 25, 2004 at 02:52:13AM +0100, Kay Sievers wrote:
> Please have look if it still works for you, I only did a very quick
> test.

Here is a unified version, with all the functions moved to udev_lib.c.
We have a generic function now, to call a given fnct(char *) for every
file ending with a specific suffix, sorted in lexical order. We use it
to execute the dev.d/ files and read our rules.d/ files. The binary
should be a bit smaller now.

I've also changed it, to not do the dev.d/ exec for net devices.
dev_d.c
namedev.h
namedev_parse.c
udev-add.c
udev_lib.c
udev_lib.h
udevd.c
udevruler.c