Commit graph

1060 commits

Author SHA1 Message Date
kay.sievers@vrfy.org 027263f005 [PATCH] update klibc to 0.194 2005-04-26 23:13:48 -07:00
kay.sievers@vrfy.org bc0410fdb6 [PATCH] export DEVNAME regardless of the state of udev_dev_d 2005-04-26 23:13:48 -07:00
azarah@nosferatu.za.org 9af175553d [PATCH] remove leftover from udevinfo's -d option 2005-04-26 23:13:48 -07:00
kay.sievers@vrfy.org 4be25ce1d0 [PATCH] add class specific files for class/spi_transport and class/spi_host 2005-04-26 23:13:48 -07:00
kay.sievers@vrfy.org 98446db553 [PATCH] udevd-test.pl: remove wrong date calculation
A hour wrap during the test run does not work :) Just remove
all the useless date conversions as we are only interested in the
seconds it takes to process.

[root@pim udevd-test]# ./udevd-test.pl 9
   ...
   device: /class/tty/console, action: remove 
   forking udev time:     Sat Dec 11 18:59:57 2004
   the delay time is:     3 s 

   device: /class/tty/ptmx, action: remove 
   forking udev time:     Sat Dec 11 19:00:07 2004
   the delay time is:     4013 s 

   the delay time is: 4013 
   udevd doesn't act properly.
2005-04-26 23:13:48 -07:00
kay.sievers@vrfy.org 7e0bd58475 [PATCH] check earlier if we should run as udevstart 2005-04-26 23:13:48 -07:00
kay.sievers@vrfy.org 8544c9ad4f [PATCH] remove double initialization 2005-04-26 23:13:48 -07:00
kay.sievers@vrfy.org d7190b0513 [PATCH] include missing header to udevtest.c 2005-04-26 23:13:47 -07:00
kay.sievers@vrfy.org 51737eb8b8 [PATCH] add -V option to udev to print the version number
On Sat, 2004-12-11 at 18:44 +0200, Martin Schlemmer [c] wrote:
> 
> Any suggestions to determining the version of the installed udev?
> This is now during startup, to see if we can make use of using
> udevsend as hotplug agent.  If the system was up, udevinfo could
> be used, but that is in /usr/bin that might be on a seperate /usr.
> I know we might move udevinfo to /bin, but that might be an issue
> for some, and adding a -V switch to /sbin/udev might be a better
> choice.
2005-04-26 23:13:47 -07:00
kay.sievers@vrfy.org 5ce120d366 [PATCH] prevent udev node creatinon for "class" registration
I've found a /dev/video4linux node and just realized, that libsysfs
searches all subdirs for an attribute name.
So it found /class/video4linux/video0/dev for the videodev class
creation event /class/video4linux and created a node.

Just ignore the SUBSYSTEM="class" events now.
2005-04-26 23:13:47 -07:00
kay.sievers@vrfy.org 79721e0a77 [PATCH] udevd: serialization of the event sequence of a chain of devices
Currently udevd delays only events for the same DEVPATH.

Example of an "add" event sequence:
  /block/sda
  /block/sda/sda1

With this change, we make sure, that the udev process handling
/block/sda has finished its work (waited for all attributes,
created the node) before we fork the udev event for /block/sda/sda1.
This way the event for sda1 can be sure, that the node for the
main device is already created (may be useful for disk labels).

It will not affect any parallel device handling, only the sequence
of the devices directory chain is serialized. The 10.000 disks
plugged in will still run as parallel events. :)

The main motivation to do this is the program execution of the
dev.d/ and hotplug.d/ directory. If we don't wait for the parent
event to exit, we can't be sure that the executed scripts are
run in the right order.

On Thu, Dec 09, 2004 at 09:18:28AM +0100, Kay Sievers wrote:
> On Wed, 2004-12-08 at 19:07 -0800, David Brownell wrote:
> > Could that argument apply to the underlying hardware, too?

> We now make sure that the sequence of events for a device
> is serialized for every device chain and the class/block
> devices which have a "device" link to a physical device are
> handled after the physical device is fully populated and
> notified to userspace. It will only work this way on kernels
> later than 2.6.10-rc1 cause it depends on the PHYSDEVPATH
> value in the hotplug environment.
2005-04-26 23:13:47 -07:00
kay.sievers@vrfy.org 0dfbe9451b [PATCH] add a class/fc_host file to the list of what to wait for 2005-04-26 23:13:47 -07:00
kay.sievers@vrfy.org c2fe814e30 [PATCH] udev_volume_id: links sysfs.a instead of all objects
cuts down the size from:
  dynamically linked: 48.030 -> 45.187
  statically linked:  149.177 ->  142.362
2005-04-26 23:13:47 -07:00
greg@kroah.com 7d92b28f39 [PATCH] 048 release 2005-04-26 23:13:47 -07:00
greg@kroah.com c93053663f [PATCH] fix udev_volume_id so it will now build properly. 2005-04-26 23:13:47 -07:00
greg@kroah.com 09f2756071 [PATCH] fix scsi_id build errors due to changes in the main udev makefile
also fixed up the QUIET issue when it was disabled for the extras programs
2005-04-26 23:13:47 -07:00
greg@kroah.com 6fbecf3547 [PATCH] 047 release 2005-04-26 23:13:47 -07:00
greg@kroah.com 06ed11be3e [PATCH] add more debian rules files. 2005-04-26 23:10:31 -07:00
greg@kroah.com f01a9ca1a2 [PATCH] move distro specific config files into their own directories 2005-04-26 23:10:24 -07:00
Greg KH 5e7d9f4060 more merge fixups 2005-04-26 23:10:15 -07:00
greg@kroah.com e0a17b749f [PATCH] update debian rules files. 2005-04-26 23:06:10 -07:00
greg@kroah.com 55b0508969 [PATCH] added asterix rules to the gentoo file. 2005-04-26 23:06:10 -07:00
greg@kroah.com de5d2ee0a7 [PATCH] fix gentoo scsi cdrom rule
http://bugs.gentoo.org/show_bug.cgi?id=73208
2005-04-26 23:06:10 -07:00
greg@kroah.com 3efc93cc40 [PATCH] Fix the multithreaded build again... 2005-04-26 23:06:10 -07:00
greg@kroah.com d18c91df7f [PATCH] use udevstart for udev.init.* files.
Thanks to Kay for pointing it out.
2005-04-26 23:06:10 -07:00
greg@kroah.com 69bef84191 [PATCH] delete a bunch of files no longer needed.
Thanks to Kay for pointing it out.
2005-04-26 23:06:10 -07:00
klauser@access.unizh.ch 5bc597feca [PATCH] Various typos and other litte errors in udev.8.in
Thanks-To: Tobias Klauser <tklauser@access.unizh.ch>

While crawling through the udev manpage I noticed some typos and other
grammatical errors. English is not my native language, so I'm not sure
if I fixed everything right. I would be glad if any English-speaking
person could check this patch before applying.
2005-04-26 23:06:10 -07:00
kay.sievers@vrfy.org e4b5f339c7 [PATCH] update Fedora dev.d/ example and remove unused conf.d/ directory 2005-04-26 23:06:10 -07:00
kay.sievers@vrfy.org c64081980e [PATCH] don't install distribution specific init script on "make install"
Leave that part up to the one who itegrates udev into a system as
there is much more to care of than to call a init stript for a
dynamic dev.
2005-04-26 23:06:10 -07:00
kay.sievers@vrfy.org 0ba5bb106b [PATCH] restore OWNER/GROUP assignment in rule coming from RESULT 2005-04-26 23:06:10 -07:00
kay.sievers@vrfy.org e608ba5d45 [PATCH] make gcov compile scripts working with recent gcc 2005-04-26 23:06:10 -07:00
kay.sievers@vrfy.org 8e2bf855bd [PATCH] fix udev-test/udev-test.pl to work with again 2005-04-26 23:06:10 -07:00
kay.sievers@vrfy.org e1b7e62a26 [PATCH] add net/atml and class/ppdev to the wait_for_sysfs exception list 2005-04-26 23:06:10 -07:00
kay.sievers@vrfy.org f2503c9792 [PATCH] add net/nlv* devices to the exception list 2005-04-26 23:05:03 -07:00
kay.sievers@vrfy.org d2fe701e9c [PATCH] add "pcmcia" and "fc_transport" to the wait_for_sysfs lists 2005-04-26 23:00:29 -07:00
kay.sievers@vrfy.org 3fd7a9bfc0 [PATCH] remove unused timestamp field 2005-04-26 23:00:29 -07:00
kay.sievers@vrfy.org 5f72c470ad [PATCH] simplify permission handling
Initialize the defaults in udev_config.c instead of namedev.c.
Replace macro by expanded code. Switch to mode_t instead
of string value. Add and clarify some comments.
2005-04-26 23:00:29 -07:00
kay.sievers@vrfy.org 927bda3792 [PATCH] handle /etc/hotplug.d/ only if the event comes from udevd 2005-04-26 23:00:29 -07:00
kay.sievers@vrfy.org 2af003feb2 [PATCH] trivial cleanups and change some comments 2005-04-26 23:00:29 -07:00
kay.sievers@vrfy.org 45a7b668ec [PATCH] remove unused variables
Remove udev.bus, cause it's currently unused and newer kernels will pass
it in the hotplug environment as PHYSDEVBUS.

Remove udev.action, cause it's unused.

Rename udev_set_values() to udev_init_device().
2005-04-26 23:00:29 -07:00
kay.sievers@vrfy.org 4497fcbf71 [PATCH] udevsend/udevd handle events without a subsystem
Accept event without a subsystem and pass it through udevd.
Pass empty environment while starting udevd.
2005-04-26 23:00:29 -07:00
kay.sievers@vrfy.org 9a50eb497f [PATCH] use blacklist on device "remove" and remove dev.d/ call code duplication 2005-04-26 23:00:29 -07:00
kay.sievers@vrfy.org a0294b7625 [PATCH] update the man pages and correct Usage: hints
Add UDEV_LOG to the man udev man page. Remove mention of specific
variables from the udevd/udevsend man page as we changed to pass
the whole environment.

Correct printed Usage: of udevtest and udevinfo.

Init the config in udevtest earlier to accept input with and without
the sysfs mount point.
2005-04-26 23:00:29 -07:00
kay.sievers@vrfy.org 16ac31aaee [PATCH] don't call the hotplug scripts with a test run 2005-04-26 23:00:29 -07:00
Greg KH 97adaace4f more fixups 2005-04-26 22:54:32 -07:00
Greg KH b1e95455d2 fixups to get back to proper patch order
Damm, it's hard to merge a multi-line tree into one flat line at times...
2005-04-26 22:52:57 -07:00
kay.sievers@vrfy.org 7757db1f85 [PATCH] don't call dev.d/ scripts twice, if directory = subsystem
The /etc/dev.d/input/input.dev was called twice for /dev/input/mouse.
Skip the execution if we get a directory named after the subsystem.
Move UDEV_NO_DEVD where it belongs.
2005-04-26 22:47:02 -07:00
kay.sievers@vrfy.org 9aa0485c97 [PATCH] remove archive file if we changed something 2005-04-26 22:44:26 -07:00
kay.sievers@vrfy.org 7c2aae11ff [PATCH] link archive insted of objects
This cuts the size of the binaries, as only objects that
are actually used are linked into the binary:

 45592 -> 43608 udev
  4380 ->  4380 udevsend
 10380 ->  4652 udevd
 34732 -> 33100 udevinfo
 45432 -> 37208 udevtest
2005-04-26 22:44:08 -07:00
kay.sievers@vrfy.org 9af5bb2f8f [PATCH] rename udev_lib to udev_utils and dev_d to udev_multiplex 2005-04-26 22:44:02 -07:00