1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-06 08:26:52 +03:00
Commit Graph

3525 Commits

Author SHA1 Message Date
greg@kroah.com
6d88260a8b [PATCH] move the config files to etc/udev to clean up main directory a bit. 2005-04-26 21:13:14 -07:00
greg@kroah.com
9f7fff04ee [PATCH] add Gentoo versions of the rules and permissions files. 2005-04-26 21:13:12 -07:00
greg@kroah.com
fb43c2b2e8 [PATCH] if using glibc, link dynamically, as no one like 500Kb udev binaries... 2005-04-26 21:13:12 -07:00
kay.sievers@vrfy.org
4070d2fea0 [PATCH] mention user callable udev + options in man page
As usual, here is the corresponding man page update and
a small text correction.
2005-04-26 21:13:12 -07:00
rml@ximian.com
5bfabc59c0 [PATCH] udev spec file update
More udev spec file updates.  This one from David Zeuthen.

Attached patch, against udev-011, makes sure we pass USE_DBUS and also
makes sure we install the D-BUS policy file, if the %{dbus} option is
set.
2005-04-26 21:13:12 -07:00
greg@kroah.com
1237229594 [PATCH] minor change to udev_vs_devfs document. 2005-04-26 21:13:12 -07:00
greg@kroah.com
3310f9d0e8 [PATCH] added udev vs devfs supid document to the tree. 2005-04-26 21:13:12 -07:00
christophe.varoqui@free.fr
b02d14d0a6 [PATCH] extras multipath update
incremental to 0.0.12-1,

* check hotplug event refers to a block device; if not exit early
2005-04-26 21:13:12 -07:00
christophe.varoqui@free.fr
9107fb88ba [PATCH] extras multipath update
2003-12-29 multipath-012
        * refresh doc
        * add the uninstall target in Makefile
        * /sbin/multipath, not /root/multipath in hotplug agent
2005-04-26 21:13:12 -07:00
kay.sievers@vrfy.org
f4dc8d11c2 [PATCH] make udev user callable to query the database
Here is a slightly better version that prints the usage if a unknown option is given:
  kay@pim:~/src/udev.kay$ ./udev -x
  ./udev: invalid option -- x
  Usage: [-qrVh]
    -q arg     query database
    -r         print udev root
    -V         print udev version
    -h         print this help text


> Here is a patch that makes it possible to call udev with options on the command line.
> Valid options are for now:
>
> -V for the udev version:
>     kay@pim:~/src/udev.kay$ ./udev -V
>     udev, version 011_bk
>
> -r for the udev root:
>     kay@pim:~/src/udev.kay$ ./udev -r
>     /udev/
>
> -q to query the database with the sysfs path for the name of the node:
>     kay@pim:~/src/udev.kay$ ./udev -q /class/video4linux/video0
>     test/video/webcam0
2005-04-26 21:13:12 -07:00
kay.sievers@vrfy.org
c78cb204bc [PATCH] depend on all .h files
Let the build depend on all header files.
2005-04-26 21:13:12 -07:00
azarah@nosferatu.za.org
3f09184b43 [PATCH] make symlink work properly if there is already a file in its place
If a file that is not a symlink (node, socket, fifo, etc) already
exist where udev need to create a symlink, symlink() fails.  This
patch basically test for an existing file, and unlink it.
2005-04-26 21:13:12 -07:00
kay.sievers@vrfy.org
13148857cb [PATCH] cleanup namedev_parse debug text
I missed a few spaces with my recent change.
2005-04-26 21:13:12 -07:00
greg@kroah.com
3fd52a7694 [PATCH] move the signal handling registration to after we have initialized enough stuff. 2005-04-26 21:13:12 -07:00
mbuesch@freenet.de
d12ecb53cf [PATCH] introduce signal handler
Here's a patch that adds a signal handler to udev to
clean up the environment (close the sysbus and close
the database) on kill-signals.
2005-04-26 21:13:12 -07:00
azarah@nosferatu.za.org
8ed89229bc [PATCH] Fix udev gcc-2.95.4 compat
Two liner to get gcc-2.95.4 to compile udev.
2005-04-26 21:13:12 -07:00
kay.sievers@vrfy.org
f732a97ebe [PATCH] extend exec_program[]
extend exec_program size to 100 chars cause:

  PROGRAM="/home/kay/src/udev.kay/extras/ide-devfs.sh %k %b %n"

is too long :)
2005-04-26 21:13:12 -07:00
kay.sievers@vrfy.org
bbc1c767b2 [PATCH] ide-devfs.sh update
Attached is a patch for ide-devfs.sh,
The script is merged with the one from Martin Schlemmer, and cleaned up
by him, to create both types of symlinks with one single rule:

  CALLOUT, BUS="ide", PROGRAM="/etc/udev/ide-devfs.sh %k %b %n", ID="hd*", NAME="%1c", SYMLINK="%2c %3c"


/udev/
|-- cdroms
|   `-- cdrom0 -> ../hdc
|-- discs
|   |-- disc0
|   |   |-- disc -> ../../hda
|   |   |-- part1 -> ../../hda1
|   |   |-- part2 -> ../../hda2
|   |   `-- part4 -> ../../hda4
|   |-- disc1
|   |   |-- disc -> ../../hdb
|   |   `-- part1 -> ../../hdb1
|   `-- disc2
|       |-- disc -> ../../hde
|       `-- part1 -> ../../hde1
|-- hda
|-- hda1
|-- hda2
|-- hda4
|-- hdb
|-- hdb1
|-- hdc
|-- hde
|-- hde1
`-- ide
    |-- host0
    |   |-- bus0
    |   |   |-- target0
    |   |   |   `-- lun0
    |   |   |       |-- disc -> ../../../../../hda
    |   |   |       |-- part1 -> ../../../../../hda1
    |   |   |       |-- part2 -> ../../../../../hda2
    |   |   |       `-- part4 -> ../../../../../hda4
    |   |   `-- target1
    |   |       `-- lun0
    |   |           |-- disc -> ../../../../../hdb
    |   |           `-- part1 -> ../../../../../hdb1
    |   `-- bus1
    |       `-- target0
    |           `-- lun0
    |               `-- cd -> ../../../../../hdc
    `-- host2
        `-- bus0
            `-- target0
                `-- lun0
                    |-- disc -> ../../../../../hde
                    `-- part1 -> ../../../../../hde1
2005-04-26 21:13:12 -07:00
kay.sievers@vrfy.org
647c8fc43e [PATCH] fix for apply_format()
fix possible NULL pointer in '%c' callout substitution
and cleanup '%D' debug text
2005-04-26 21:13:12 -07:00
kay.sievers@vrfy.org
0529e2ed2e [PATCH] check for empty symlink string
Attached is a patch for udev-add.c to ignore empty symlink string parts.
Issue was brought up by ide-devfs.sh with only one symlink returned, while two are expected.
2005-04-26 21:13:12 -07:00
kay.sievers@vrfy.org
2441c20743 [PATCH] 'ide' missing in bus_files[]
my syslog want's to contact you :)

  Dec 25 20:37:48 pim udev[2274]: wait_for_device_to_initialize: Did not find bus type 'ide' on list of bus_id_files, contact greg@kroah.com

We need to put 'ide' to the bus_files array,
don't know which file to use...
2005-04-26 21:13:11 -07:00
greg@kroah.com
3c90f15174 [PATCH] udev.permissions.debian - forgot the dm nodes. 2005-04-26 21:13:11 -07:00
greg@kroah.com
41e559861b [PATCH] update the udev.permissions.debian file with new entries.
Thanks to Mathieu Segaud <matt@minas-morgul.org> for the information
2005-04-26 21:13:11 -07:00
greg@kroah.com
5e22c4df53 [PATCH] added udev.init script for the Linux From Scratch project.
Thanks to Michael Buesch <mbuesch@freenet.de> for providing it.
2005-04-26 21:13:11 -07:00
kay.sievers@vrfy.org
e15b5ed5de [PATCH] small trivial cleanup of latest changes
here is a patch for a typo in the man page, a whitespace cleanup
and a replace for the magic hex ASCII in char operations.
2005-04-26 21:13:11 -07:00
greg@kroah.com
1f99bc3254 [PATCH] 011_bk tag 2005-04-26 21:13:11 -07:00
greg@kroah.com
d7577c8b90 [PATCH] v011 release 2005-04-26 21:13:11 -07:00
greg@kroah.com
2b8b644177 [PATCH] add documentation about the BUS key being optional for the LABEL rule. 2005-04-26 21:13:11 -07:00
greg@kroah.com
64682333bb [PATCH] add tests for LABEL rule with a device that has no bus. 2005-04-26 21:13:11 -07:00
greg@kroah.com
2ae1a0c6f3 [PATCH] Don't require the BUS value for the LABEL rule. 2005-04-26 21:13:11 -07:00
greg@kroah.com
a7402175da [PATCH] If a LABEL rule has a BUS id, then we must check to see if the device is on a bus. 2005-04-26 21:13:11 -07:00
greg@kroah.com
a38401d3e8 [PATCH] add documentation about the BUS key being optional for the CALLOUT rule. 2005-04-26 21:13:11 -07:00
greg@kroah.com
1d936fbca0 [PATCH] If a CALLOUT rule has a BUS id, then we must check to see if the device is on a bus.
Thanks to Martin Schlemmer <azarah@nosferatu.za.org> for pointing this out.
2005-04-26 21:13:11 -07:00
greg@kroah.com
47b3f983da [PATCH] Don't require the BUS value for the CALLOUT rule. 2005-04-26 21:13:11 -07:00
greg@kroah.com
8ff8bbbadd [PATCH] add test for callout rule with a device that has no bus. 2005-04-26 21:13:11 -07:00
greg@kroah.com
fe0a916c31 [PATCH] 010_bk stamp 2005-04-26 21:13:11 -07:00
greg@kroah.com
0c6758962b [PATCH] added different build options to the rpm udev.spec file. 2005-04-26 21:13:11 -07:00
svetljo@gmx.de
335e433720 [PATCH] fix udev sed Makefile usage 2005-04-26 21:13:11 -07:00
mbuesch@freenet.de
df496acbee [PATCH] proper cleanup on udevdb_init() failure
Seems like we need the following patch to do
proper sysbus cleanup, if udevdb_init() fails.
2005-04-26 21:13:11 -07:00
mh@nadir.org
ee15698133 [PATCH] patch udev 009-010 rpm spec file
the following problem was introduced with udev 009:

[root@claw packages]# rpm -Uvh ~mh/rpm/RPMS/ppc/udev-010-1.ppc.rpm
Preparing...########################################### [100%]
   1:udev   ########################################### [100%]
error: unpacking of archive failed on file /usr/share/doc/udev-010/COPYING;3fe8a8e3: cpio: open failed - Permission denied

it's because the mode of the directory /usr/share/doc/udev-010/ is
0644. This is with yellodog-3.0.

the following patch fixes it:
2005-04-26 21:13:10 -07:00
greg@kroah.com
480763324d [PATCH] add pci to the bus_files list. 2005-04-26 21:13:10 -07:00
greg@kroah.com
bc64a25fd2 [PATCH] check for empty line a bit better in the parser.
Thanks to Mitch <mitch@0bits.com> for pointing this out.
2005-04-26 21:13:10 -07:00
greg@kroah.com
18c783a7e6 [PATCH] more init script cleanups, the stop target now calls udev to cleanup instead of just removing the whole /udev directory. 2005-04-26 21:13:10 -07:00
greg@kroah.com
5779dd31f4 [PATCH] make udev init script run udev in the background to let startup go much faster 2005-04-26 21:13:10 -07:00
greg@kroah.com
07562d6ecf [PATCH] fix long delay for all devices in namedev
Now we only sleep if we can't find the device file, and we have
a hack to sleep for 1 second if we are on a partition.  This will be
removed when the libsysfs change gets made...
2005-04-26 21:13:10 -07:00
greg@kroah.com
1e5b0d2fc9 [PATCH] v010 release 2005-04-26 21:13:10 -07:00
kay.sievers@vrfy.org
5cac7def78 [PATCH] fix udev-test.pl
Here is a small fix for udev-test.pl, to print the METHOD also
for the "whitespace config" tests.

  TEST: Handle comment lines in config file (and replace kernel name)
  method '' for 'class/tty/ttyUSB0' expecting node 'visor'
  add: ok    remove: ok
2005-04-26 21:13:10 -07:00
kay.sievers@vrfy.org
808423c90c [PATCH] small cleanup udev-remove.c
Here is a small cleanup. It replaces the malloc in udev-remove.c
with a struct, like we do in udev-add.c
2005-04-26 21:13:10 -07:00
greg@kroah.com
ca593541e6 [PATCH] fix complier warning in namedev.c 2005-04-26 21:13:10 -07:00
greg@kroah.com
170ae44e7d [PATCH] add documentation for the new '%k' modifier (kernel name replacement) 2005-04-26 21:13:10 -07:00