summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-04-26[PATCH] DEVNAME on device removalsjoerd@spring.luon.net
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.
2005-04-26[PATCH] fix udevinfo '-q path' option as it was not workinggreg@kroah.com
2005-04-26[PATCH] handle whole hotplug event with udevd/udevkay.sievers@vrfy.org
If /proc/sys/kernel/hotplug points to /sbin/udevsend we handle the whole hotplug event with multiplexing /etc/hotplug.d/.
2005-04-26[PATCH] integrate wait_for_sysfs in udevkay.sievers@vrfy.org
Move the wait_for_sysfs logic into the udev binary. udev is called for every hotplug event. It also waits for /devices events.
2005-04-26[PATCH] remove my test codekay.sievers@vrfy.org
2005-04-26[PATCH] make the searched multiplex directories conditionallykay.sievers@vrfy.org
If we don't have "name" or a "subsystem" don't look for it.
2005-04-26[PATCH] add MANAGED_EVENT to the forked udev environmentkay.sievers@vrfy.org
This will prevent a loop, if udev sends events back into the daemon.
2005-04-26[PATCH] export DEVNAME on remove eventkay.sievers@vrfy.org
Fix from Sjoerd Simons <sjoerd@spring.luon.net>, it got lost on the recent reorganization of the udev processing stages.
2005-04-26[PATCH] export udev_log flag to the environmentkay.sievers@vrfy.org
Forked scripts and callouts may want to follow udev's configured behavior and log only if udev is logging itself.
2005-04-26[PATCH] add support for /devices-devices without any file to wait forkay.sievers@vrfy.org
2005-04-26[PATCH] fix parallel build errorgreg@kroah.com
2005-04-26[PATCH] Patch from Alex Riesen <raa.lkml@gmail.com>kay.sievers@vrfy.org
> 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.
2005-04-26[PATCH] add a bunch of busses to the list of what to wait forkay.sievers@vrfy.org
2005-04-26[PATCH] close connection to syslog in forked udevd childkay.sievers@vrfy.org
2005-04-26[PATCH] udevd exit path cleanupkay.sievers@vrfy.org
2005-04-26[PATCH] fix network device naming bugkay.sievers@vrfy.org
2005-04-26[PATCH] 046 releaseudev/v046greg@kroah.com
2005-04-26[PATCH] Don't try to print major/minor for devices without a dev file.kay.sievers@vrfy.org
2005-04-26[PATCH] remove get_device_type and merge that into udev_set_values()kay.sievers@vrfy.org
2005-04-26[PATCH] prevent udevd crash if DEVPATH is not setkay.sievers@vrfy.org
Just move the event straight to the exec list and don't try to compare a NULL pointer.
2005-04-26[PATCH] add ippp and bcrypt to the exception lists of wait_for_sysfskay.sievers@vrfy.org
2005-04-26[PATCH] let klibc add the trailing newline to syslog conditionallykay.sievers@vrfy.org
We get an empty line after every debug print from libsysfs, so don't add a second if we already have one.
2005-04-26[PATCH] change key names in udevinfo sysfs walk to match the kernelkay.sievers@vrfy.org
2005-04-26[PATCH] disable logging for udevstartkay.sievers@vrfy.org
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.
2005-04-26[PATCH] add NAME{ignore_remove} attributekay.sievers@vrfy.org
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.
2005-04-26[PATCH] remove historical SYSFS_attr="value" formatkay.sievers@vrfy.org
This is long ago replaced by the unified key attribute format SYSFS{attr}="value".
2005-04-26[PATCH] don't wait for sysfs if the kernel(2.6.10-rc2) tells us what not to ↵kay.sievers@vrfy.org
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.
2005-04-26[PATCH] support DRIVER as a rule keykay.sievers@vrfy.org
Match with a rule against a device with a specific kernel driver.
2005-04-26[PATCH] support SUBSYSTEM as a rule keykay.sievers@vrfy.org
This should make it easier to catch e.g all block or net devices with a single rule.
2005-04-26[PATCH] rename udevdb* to udev_db*kay.sievers@vrfy.org
2005-04-26[PATCH] Make dev.d/ handling a separate processing stagekay.sievers@vrfy.org
Move the logic when and how to call the dev.d/ scripts into the main processing path.
2005-04-26[PATCH] make the udev object available to more processing stageskay.sievers@vrfy.org
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 environment.
2005-04-26[PATCH] remove udev_lib dependency from udevsend, which makes it smallerkay.sievers@vrfy.org
2005-04-26[PATCH] add ACTION to udev object to expose it to the whole processkay.sievers@vrfy.org
2005-04-26[PATCH] make udevinfo's -r option also workimg for symlink querieskay.sievers@vrfy.org
[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
2005-04-26[PATCH] let udev act as udevstart if argv[1] == "udevstart"kay.sievers@vrfy.org
"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 symlink.
2005-04-26[PATCH] improve udevinfo sysfs info walkkay.sievers@vrfy.org
2005-04-26[PATCH] add sysfs info walk to udevinfokay.sievers@vrfy.org
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' PHYSDEVPATHBUS 'scsi' 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' ...
2005-04-26[PATCH] pass the whole event environment to udevdkay.sievers@vrfy.org
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().
2005-04-26[PATCH] make spotless for releases.greg@kroah.com
2005-04-26[PATCH] replace tdb database by simple lockless file databasekay.sievers@vrfy.org
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.
2005-04-26[PATCH] 045 releaseudev/v045greg@kroah.com
2005-04-26[PATCH] Some updates for Gentoo's udev rulesazarah@nosferatu.za.org
Hi, 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 '2.6.8.1-mm1 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.
2005-04-26[PATCH] 044 releaseudev/v044greg@kroah.com
2005-04-26[PATCH] 043 releaseudev/v043greg@kroah.com
2005-04-26[PATCH] reduce syslog noise of udevsend if multiple instances try to start udevdkay.sievers@vrfy.org
2005-04-26[PATCH] add i2c-dev to the list of devices without a buskay.sievers@vrfy.org
2005-04-26[PATCH] add cdsymlinks.sh support to gentoo rules file.greg@kroah.com
2005-04-26[PATCH] fix gentoo legacy tty rulegreg@kroah.com
I thought I had fixed this a long time ago...
2005-04-26[PATCH] remove 'sudo' usage from the Makefilegreg@kroah.com
should fix a lot of gentoo bug reports