1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-30 23:21:08 +03:00
Commit Graph

979 Commits

Author SHA1 Message Date
kay.sievers@vrfy.org
6818c51d7a [PATCH] support SUBSYSTEM as a rule key
This should make it easier to catch e.g all block or net devices with
a single rule.
2005-04-26 22:25:38 -07:00
kay.sievers@vrfy.org
02fa9ae589 [PATCH] rename udevdb* to udev_db* 2005-04-26 22:25:14 -07:00
kay.sievers@vrfy.org
8673dcb842 [PATCH] Make dev.d/ handling a separate processing stage
Move the logic when and how to call the dev.d/ scripts into the
main processing path.
2005-04-26 22:25:09 -07:00
kay.sievers@vrfy.org
af4b05d491 [PATCH] make the udev object available to more processing stages
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 22:24:38 -07:00
kay.sievers@vrfy.org
13f24d596c [PATCH] remove udev_lib dependency from udevsend, which makes it smaller 2005-04-26 22:24:30 -07:00
kay.sievers@vrfy.org
c6478ec1e1 [PATCH] add ACTION to udev object to expose it to the whole process 2005-04-26 22:24:10 -07:00
kay.sievers@vrfy.org
31fd340352 [PATCH] make udevinfo's -r option also workimg for symlink queries
[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 22:21:20 -07:00
kay.sievers@vrfy.org
38753167e4 [PATCH] let udev act as udevstart if argv[1] == "udevstart"
"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 22:21:20 -07:00
kay.sievers@vrfy.org
3bdef3939d [PATCH] improve udevinfo sysfs info walk 2005-04-26 22:21:20 -07:00
kay.sievers@vrfy.org
f156b6d203 [PATCH] add sysfs info walk to udevinfo
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 22:21:19 -07:00
kay.sievers@vrfy.org
4a231017ff [PATCH] pass the whole event environment to udevd
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 22:18:32 -07:00
greg@kroah.com
04b49aab9a [PATCH] make spotless for releases. 2005-04-26 22:18:23 -07:00
kay.sievers@vrfy.org
2b41e68a08 [PATCH] replace tdb database by simple lockless file database
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 22:16:40 -07:00
greg@kroah.com
482b0ecd8f [PATCH] 045 release 2005-04-26 22:12:45 -07:00
azarah@nosferatu.za.org
9dfe20eff7 [PATCH] Some updates for Gentoo's udev rules
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 22:12:41 -07:00
greg@kroah.com
0bac7bab72 [PATCH] 044 release 2005-04-26 22:12:34 -07:00
greg@kroah.com
5ca6ff6457 [PATCH] 043 release 2005-04-26 22:12:10 -07:00
kay.sievers@vrfy.org
c072fd0112 [PATCH] reduce syslog noise of udevsend if multiple instances try to start udevd 2005-04-26 22:09:26 -07:00
kay.sievers@vrfy.org
a258d159f4 [PATCH] add i2c-dev to the list of devices without a bus 2005-04-26 22:09:26 -07:00
greg@kroah.com
97a0e3c06e [PATCH] add cdsymlinks.sh support to gentoo rules file. 2005-04-26 22:09:26 -07:00
greg@kroah.com
3874126807 [PATCH] fix gentoo legacy tty rule
I thought I had fixed this a long time ago...
2005-04-26 22:09:26 -07:00
greg@kroah.com
e9f653894e [PATCH] remove 'sudo' usage from the Makefile
should fix a lot of gentoo bug reports
2005-04-26 22:09:26 -07:00
greg@kroah.com
800ab95bd5 [PATCH] make udev-test.pl test for root permissions before running
Should prevent false error reports from happening.
2005-04-26 22:09:26 -07:00
kay.sievers@vrfy.org
52a6ef66f2 [PATCH] Shut up wait_for_sysfs class/net failure messages, as it's not possible 2005-04-26 22:09:26 -07:00
kay.sievers@vrfy.org
e920fed349 [PATCH] wait() for specific pid to return from fork(). 2005-04-26 22:09:26 -07:00
kay.sievers@vrfy.org
5a73b25fd6 [PATCH] Don't use any syslog() in signal handler, cause it may deadlock. 2005-04-26 22:09:26 -07:00
kay.sievers@vrfy.org
a5d00f9d37 [PATCH] Add support for highpoint ataraid to volume_id to suppress 2005-04-26 22:09:26 -07:00
kay.sievers@vrfy.org
56b979e00d [PATCH] Add a bunch of devices without "device" symlinks. 2005-04-26 22:09:26 -07:00
kay.sievers@vrfy.org
e5e2ea95a4 [PATCH] Exit, if udevtest cannot open the device (segfault). 2005-04-26 22:09:26 -07:00
kay.sievers@vrfy.org
a9ce604122 [PATCH] Patches from Harald Hoyer <harald@redhat.com>. 2005-04-26 22:09:26 -07:00
kay.sievers@vrfy.org
091215a597 [PATCH] Apply the default permissions even if we found a entry in 2005-04-26 22:08:27 -07:00
kay.sievers@vrfy.org
2b0f835ccc [PATCH] add test for format chars in multiple symlinks to replace 2005-04-26 22:08:27 -07:00
kay.sievers@vrfy.org
6628a2ea38 [PATCH] Add net/vmnet and class/zaptel to the list of devices without physical device 2005-04-26 22:08:27 -07:00
greg@kroah.com
bd842ba41a [PATCH] add test target to makefile
Will help distros that have a test phase of their build.
2005-04-26 22:08:27 -07:00
greg@kroah.com
948736dde7 [PATCH] add dumb script to show all sysfs devices in the system. 2005-04-26 22:08:27 -07:00
greg@kroah.com
1a04bce13a [PATCH] 042 release
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 22:08:27 -07:00
greg@kroah.com
069410dbb4 [PATCH] add inotify to the rules for gentoo 2005-04-26 22:08:27 -07:00
kay.sievers@vrfy.org
f4949c53e6 [PATCH] Remove the last klibc specific line from the main udev code 2005-04-26 22:08:27 -07:00
kay.sievers@vrfy.org
993a633ab8 [PATCH] update to libsysfs 1.2.0 and add some stuff klib_fixup 2005-04-26 22:06:44 -07:00
kay.sievers@vrfy.org
f8c1ccde6a [PATCH] improve klibc fixup integration 2005-04-26 22:06:44 -07:00
kay.sievers@vrfy.org
5cab7caa2a [PATCH] cleanup udevd/udevstart
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 22:06:44 -07:00
kay.sievers@vrfy.org
ab51035617 [PATCH] skip waiting for device if we get a bad event for class creation 2005-04-26 22:06:44 -07:00
kay.sievers@vrfy.org
21d2888a0a [PATCH] add net/pan and net/bnep handling 2005-04-26 22:06:44 -07:00
kay.sievers@vrfy.org
1ad9a8c1b8 [PATCH] switch wait for bus_file to stat() instead of open() 2005-04-26 22:06:44 -07:00
kay.sievers@vrfy.org
f071348004 [PATCH] expose sysfs functions for sharing it
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 22:06:44 -07:00
greg@kroah.com
796ed8851b [PATCH] 040 release 2005-04-26 22:06:44 -07:00
greg@kroah.com
1ceba9360b [PATCH] sparse cleanups on the tree 2005-04-26 22:06:44 -07:00
kay.sievers@vrfy.org
ff694eca17 [PATCH] fix debug in volume id / fix clashing global var name
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 22:06:44 -07:00
jk@blackdown.de
3b2382de51 [PATCH] wait_for_sysfs update for dm devices
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 22:06:44 -07:00
greg@kroah.com
4a760b3334 [PATCH] fix stupid cut-and-paste error for msr devices on gentoo boxes. 2005-04-26 22:06:44 -07:00