Commit Graph
1082 Commits
Author SHA1 Message Date
kay.sievers@vrfy.org 9f8dfa19cf [PATCH] allow multiline rules by backslash at the end of the line
On Sun, 2004-12-19 at 18:31 +0100, Marco d'Itri wrote:
> > On Dec 19, Kay Sievers <kay.sievers@vrfy.org> wrote:
> 
> > (Feature request: would it be possible to extend the rules files parser
> > to support continuation lines? I'd like it to consider lines starting
> > with white space as part of the previous line.)
> 
> How about the usual backslash at the end of the line. Here is a simple
> patch.
2005-04-26 23:19:09 -07:00
kay.sievers@vrfy.org a07dc29e60 [PATCH] add OnStream tape drive rules
On Sun, 2004-12-19 at 17:36 +0000, Willem Riede wrote:
Would you mind adding OnStream tape drives?
> 
> KERNEL="osst*",         NAME="%k", GROUP="tape", MODE="0660"
> KERNEL="nosst*",        NAME="%k", GROUP="tape", MODE="0660"
2005-04-26 23:19:09 -07:00
kay.sievers@vrfy.org 4ae6d03f39 [PATCH] simplify rules file by setting default mode to 0660
On Sun, 2004-12-19 at 18:31 +0100, Marco d'Itri wrote:
> It may be better to use default_mode="0660", I do not think that there
> are any mode 600 devices. This would allow setting only the group for
> most of them.
2005-04-26 23:19:09 -07:00
kay.sievers@vrfy.org 65ab133412 [PATCH] simplify permission application
We have only one source of permissions now, so apply the default
permissions at udev init.
2005-04-26 23:19:09 -07:00
kay.sievers@vrfy.org 2a270316e4 [PATCH] I broke the extras/ again. Add simple build test script now. 2005-04-26 23:19:08 -07:00
kay.sievers@vrfy.org 2c97d705dc [PATCH] initial merge of fedora udev.permissions into udev.rules 2005-04-26 23:19:08 -07:00
kay.sievers@vrfy.org a866c0a305 [PATCH] remove permissions file mentioning from the udev man page 2005-04-26 23:17:47 -07:00
kay.sievers@vrfy.org 90726e43c9 [PATCH] fix some typos in gentoo's udev.rules introduced by the merge 2005-04-26 23:17:47 -07:00
kay.sievers@vrfy.org 878f3218e1 [PATCH] initial merge of gentoo udev.permissions into udev.rules 2005-04-26 23:17:47 -07:00
kay.sievers@vrfy.org 09a9ba58c6 [PATCH] update Fedora config files 2005-04-26 23:17:47 -07:00
kay.sievers@vrfy.org 1e473f4c45 [PATCH] update Fedora config files 2005-04-26 23:17:47 -07:00
kay.sievers@vrfy.org 8b36cc0f17 [PATCH] complete removal of explicit udev permissions config file 2005-04-26 23:17:47 -07:00
tklauser@access.unizh.ch 3ac0326962 [PATCH] I made some more changes to the manpage of udev including:
Patch-From: Tobias Klauser <tklauser@access.unizh.ch>

- Move the description of the environment variables to a new section
  called  "ENVIRONMENT" (as stated in man(7))
- Pointer to the "official" udev homepage
- Fixes for various typos and whitespace damages
2005-04-26 23:17:47 -07:00
greg@kroah.com ce5c75b8e1 [PATCH] fix udev_volume_id build error.
bah, when will I remember to check the extras _before_ I do a release...
2005-04-26 23:17:47 -07:00
greg@kroah.com 35413b2b88 [PATCH] 050 release 2005-04-26 23:17:47 -07:00
harald@redhat.com b817644b5b [PATCH] selinux patch
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=142713

/sbin/udevstart segfaults on an ATIIXP chipset which is not supported
well by the kernel yet. There, /proc/ide/hda/media can not be read
(EIO error) and udevstart seems to give a null-pointer to an SELinux
function checking the media-type.
2005-04-26 23:17:47 -07:00
kay.sievers@vrfy.org 83c35223ed [PATCH] update libsysfs to CVS version and fix segfaulting attribute reading 2005-04-26 23:17:47 -07:00
kay.sievers@vrfy.org 82ca88904d [PATCH] klibc supports LOG_PID now, so remove our own implementation 2005-04-26 23:17:47 -07:00
Greg KH 18ebc43050 bleah, more merge fixes... 2005-04-26 23:15:56 -07:00
kay.sievers@vrfy.org 0d9057a1ce [PATCH] avoid building klibc test programs and pass SUBDIRS= to klibc clean 2005-04-26 23:13:48 -07:00
greg@kroah.com e3686a8858 [PATCH] 049 release 2005-04-26 23:13:48 -07:00
greg@kroah.com c39f31e51d [PATCH] fix 'make clean' error in klibc 2005-04-26 23:13:48 -07:00
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