chiark / gitweb /
create udevdb files only if somehting interesting happened
authorKay Sievers <kay.sievers@suse.de>
Tue, 5 Jul 2005 20:40:42 +0000 (22:40 +0200)
committerKay Sievers <kay.sievers@suse.de>
Tue, 5 Jul 2005 20:40:42 +0000 (22:40 +0200)
commit25103c4849d3bdee38d22e08c65cd60cf5d5bcc4
tree3ad58616f2c8a35ad96075536ebd7a39b5988dfd
parent8bd41f36f793f7fc208ef6beb4b2b84e35a5e728
create udevdb files only if somehting interesting happened

Device nodes created with the default rule, without any symlink or option
are no longer saved to the udevdb. This saves us ~3 MB RAM for pretty much
useless files on tmpfs.
Note: HAL needs a fix to handle this correctly. It's already available on
the list.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
udev_db.c
udev_remove.c