summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2005-04-26[PATCH] make udev-test.pl test for root permissions before runninggreg@kroah.com
Should prevent false error reports from happening.
2005-04-26[PATCH] Shut up wait_for_sysfs class/net failure messages, as it's not possiblekay.sievers@vrfy.org
2005-04-26[PATCH] wait() for specific pid to return from fork().kay.sievers@vrfy.org
2005-04-26[PATCH] Don't use any syslog() in signal handler, cause it may deadlock.kay.sievers@vrfy.org
2005-04-26[PATCH] Add support for highpoint ataraid to volume_id to suppresskay.sievers@vrfy.org
2005-04-26[PATCH] Add a bunch of devices without "device" symlinks.kay.sievers@vrfy.org
2005-04-26[PATCH] Exit, if udevtest cannot open the device (segfault).kay.sievers@vrfy.org
2005-04-26[PATCH] Patches from Harald Hoyer <harald@redhat.com>.kay.sievers@vrfy.org
2005-04-26[PATCH] Apply the default permissions even if we found a entry inkay.sievers@vrfy.org
2005-04-26[PATCH] add test for format chars in multiple symlinks to replacekay.sievers@vrfy.org
2005-04-26[PATCH] Add net/vmnet and class/zaptel to the list of devices without ↵kay.sievers@vrfy.org
physical device
2005-04-26[PATCH] add test target to makefilegreg@kroah.com
Will help distros that have a test phase of their build.
2005-04-26[PATCH] add dumb script to show all sysfs devices in the system.greg@kroah.com
2005-04-26[PATCH] 042 releaseudev/v042greg@kroah.com
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...
2005-04-26[PATCH] add inotify to the rules for gentoogreg@kroah.com
2005-04-26[PATCH] Remove the last klibc specific line from the main udev codekay.sievers@vrfy.org
2005-04-26[PATCH] update to libsysfs 1.2.0 and add some stuff klib_fixupkay.sievers@vrfy.org
2005-04-26[PATCH] improve klibc fixup integrationkay.sievers@vrfy.org
2005-04-26[PATCH] cleanup udevd/udevstartkay.sievers@vrfy.org
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.
2005-04-26[PATCH] skip waiting for device if we get a bad event for class creationkay.sievers@vrfy.org
2005-04-26[PATCH] add net/pan and net/bnep handlingkay.sievers@vrfy.org
2005-04-26[PATCH] switch wait for bus_file to stat() instead of open()kay.sievers@vrfy.org
2005-04-26[PATCH] expose sysfs functions for sharing itkay.sievers@vrfy.org
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.
2005-04-26[PATCH] 040 releaseudev/v040greg@kroah.com
2005-04-26[PATCH] sparse cleanups on the treegreg@kroah.com
2005-04-26[PATCH] fix debug in volume id / fix clashing global var namekay.sievers@vrfy.org
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.
2005-04-26[PATCH] wait_for_sysfs update for dm devicesjk@blackdown.de
Hi, 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 <linux-hotplug-devel@lists.sourceforge.net> | 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 <linux-hotplug-devel@lists.sourceforge.net> | 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 <linux-hotplug-devel@lists.sourceforge.net> | [...] `----
2005-04-26[PATCH] fix stupid cut-and-paste error for msr devices on gentoo boxes.greg@kroah.com
2005-04-26[PATCH] volume_id fixkay.sievers@vrfy.org
I've been told that open() should not pass O_NONBLOCK.
2005-04-26[PATCH] $local userkay.sievers@vrfy.org
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/ script. Here is the patch if nobody objects :)
2005-04-26[PATCH] delete udevruler.c as per Kay's request.greg@kroah.com