chiark / gitweb /
elogind.git
18 years agoremove example rules and put the dev.d stuff into the run_directory folder
Kay Sievers [Tue, 9 Aug 2005 18:11:26 +0000 (20:11 +0200)]
remove example rules and put the dev.d stuff into the run_directory folder

The distro rules are the best example you can get and the use of
dev.d/ is no longer recommended.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agoupdate README
Kay Sievers [Tue, 9 Aug 2005 17:45:08 +0000 (19:45 +0200)]
update README

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agomore distro rules updates
Kay Sievers [Tue, 9 Aug 2005 17:17:25 +0000 (19:17 +0200)]
more distro rules updates

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agoadd firmware_helper to load firmware
Kay Sievers [Tue, 9 Aug 2005 17:00:37 +0000 (19:00 +0200)]
add firmware_helper to load firmware

From: Bill Nottingham <notting@redhat.com>

Changed reading of firmware blob to mmap and let firmware_helper
follow the setting of the log level with UDEV_LOG.

18 years agoupdate SUSE rules
Kay Sievers [Tue, 9 Aug 2005 13:53:17 +0000 (15:53 +0200)]
update SUSE rules

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agoadd SUSE rules
Kay Sievers [Tue, 9 Aug 2005 10:29:12 +0000 (12:29 +0200)]
add SUSE rules

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agoupdate distro rules files
Kay Sievers [Tue, 9 Aug 2005 09:58:11 +0000 (11:58 +0200)]
update distro rules files

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agoadd flag for reading of precompiled rules
Kay Sievers [Mon, 8 Aug 2005 15:43:42 +0000 (17:43 +0200)]
add flag for reading of precompiled rules

Rules can be precompiled and stored on disk for initramfs, to avoid
parsing the rules with every event again and again. Also the OWNER and
GROUP names are already resolved to numerical values in the compiled
rules. This flag is used for the upcoming move of the rules parsing
into udevd:
  If the real root is mounted udevd is started and parses the rules
  only once. The event processes will inherit the already parsed rules
  from the daemon, so we want to ignore any precompiled rules and
  use the real rules files and watch the filesystem for changes to
  reload the rules automatically.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agoallow clean shutdown of udevd
Kay Sievers [Mon, 8 Aug 2005 03:07:36 +0000 (05:07 +0200)]
allow clean shutdown of udevd

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agoswitch some strlcpy's to memcpy
Kay Sievers [Mon, 8 Aug 2005 00:21:55 +0000 (02:21 +0200)]
switch some strlcpy's to memcpy

strlcpy counts the sourec string lengt and is therefore not suitable
to copy a defined length of characters from one string to another.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agoread sysfs attribute also from parent class device
Kay Sievers [Thu, 4 Aug 2005 23:52:57 +0000 (01:52 +0200)]
read sysfs attribute also from parent class device

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agoupdated gentoo rule file to handle removable ide devices.
Greg KH [Thu, 4 Aug 2005 23:33:53 +0000 (16:33 -0700)]
updated gentoo rule file to handle removable ide devices.

Thanks to Kay for the quick fix.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years agoadd NETLINK define for the lazy distros
Kay Sievers [Thu, 4 Aug 2005 10:24:41 +0000 (12:24 +0200)]
add NETLINK define for the lazy distros

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years ago065 release
Greg Kroah-Hartman [Tue, 2 Aug 2005 20:56:41 +0000 (13:56 -0700)]
065 release

18 years agoMerge gregkh@ehlo.org:/home/kay/public_html/pub/scm/linux/hotplug/udev-kay
Greg Kroah-Hartman [Tue, 2 Aug 2005 20:07:30 +0000 (13:07 -0700)]
Merge gregkh@ehlo.org:/home/kay/public_html/linux/hotplug/udev-kay

18 years agoAdded persistent name rules for block devices to gentoo rule file.
Greg Kroah-Hartman [Tue, 2 Aug 2005 19:28:50 +0000 (12:28 -0700)]
Added persistent name rules for block devices to gentoo rule file.

Copied from Kay's rules from the SuSE package.

Let the fun begin...

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years agoupdate release notes for next version
Kay Sievers [Tue, 2 Aug 2005 02:32:19 +0000 (04:32 +0200)]
update release notes for next version

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agoAdded horrible (but fun) path_id script to extras.
Greg Kroah-Hartman [Mon, 1 Aug 2005 23:37:41 +0000 (16:37 -0700)]
Added horrible (but fun) path_id script to extras.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years agoUpdate gentoo rules file.
Greg Kroah-Hartman [Mon, 1 Aug 2005 22:44:02 +0000 (15:44 -0700)]
Update gentoo rules file.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years agoadd udevmonitor, to debug netlink+udev events at the same time
Kay Sievers [Mon, 1 Aug 2005 18:22:46 +0000 (20:22 +0200)]
add udevmonitor, to debug netlink+udev events at the same time

This rule:
  RUN+="socket:/org/kernel/udev/monitor"

send the event to the running monitor. Running udevstart give a nice
monitor output. Also the delay between the kernel uevent and the udev
udev event can be investigated:

  pim:/home/kay/src/udev-kay # ./udevmonitor
  UEVENT[1122920113] add@/devices/pci0000:00/0000:00:1d.1/usb2/2-1
  UEVENT[1122920113] add@/devices/pci0000:00/0000:00:1d.1/usb2/2-1/2-1:1.0
  UEVENT[1122920113] add@/class/scsi_host/host12
  UEVENT[1122920113] add@/class/usb_device/usbdev2.99
  UEVENT[1122920113] add@/devices/pci0000:00/0000:00:1d.1/usb2/2-1/2-1:1.0/host12/target12:0:0/12:0:0:0
  UDEV  [1122920113] add@/devices/pci0000:00/0000:00:1d.1/usb2/2-1
  UEVENT[1122920113] add@/block/sda
  UEVENT[1122920113] add@/class/scsi_generic/sg0
  UEVENT[1122920113] add@/class/scsi_device/12:0:0:0
  UDEV  [1122920113] add@/devices/pci0000:00/0000:00:1d.1/usb2/2-1/2-1:1.0
  UDEV  [1122920113] add@/class/scsi_host/host12
  UDEV  [1122920113] add@/class/usb_device/usbdev2.99
  UDEV  [1122920113] add@/devices/pci0000:00/0000:00:1d.1/usb2/2-1/2-1:1.0/host12/target12:0:0/12:0:0:0
  UDEV  [1122920113] add@/block/sda
  UDEV  [1122920113] add@/class/scsi_generic/sg0
  UDEV  [1122920113] add@/class/scsi_device/12:0:0:0
  UEVENT[1122920115] add@/block/sda/sda1
  UDEV  [1122920115] add@/block/sda/sda1

  pim:/home/kay/src/udev-kay # ./udevmonitor --env
  UDEV  [1122920185] add@/block/sda/sda1
  ACTION=add
  DEVPATH=/block/sda/sda1
  SUBSYSTEM=block
  SEQNUM=2159
  MINOR=1
  MAJOR=8
  PHYSDEVPATH=/devices/pci0000:00/0000:00:1d.1/usb2/2-1/2-1:1.0/host13/target13:0:0/13:0:0:0
  PHYSDEVBUS=scsi
  PHYSDEVDRIVER=sd
  UDEVD_EVENT=1
  UDEV_LOG=3
  ID_VENDOR=IBM
  ID_MODEL=Memory_Key
  ID_REVISION=3.04
  ID_SERIAL=IBM_Memory_Key_0218B301030027E8
  ID_TYPE=disk
  ID_BUS=usb
  ID_PATH=usb-0218B301030027E8:0:0:0
  ID_FS_USAGE=filesystem
  ID_FS_TYPE=vfat
  ID_FS_VERSION=FAT16
  ID_FS_UUID=42D8-9E02
  ID_FS_LABEL_SAFE=s_p_c
  DEVNAME=/dev/sda1

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agoallow RUN to send the environment to a local socket
Kay Sievers [Mon, 1 Aug 2005 03:07:19 +0000 (05:07 +0200)]
allow RUN to send the environment to a local socket

RUN="socket:<name>" will send the environment in the kernel uevent
format to the named destination. Using the socket instead of the program
to pass the hotplug events to the HAL daemon, cuts down the running
time of udevstart from 0.8 to 0.4 seconds on my box.

  env -i ACTION=add DEVPATH=/block/hda/hda1 strace -s10000 ./udev block
  sendto(3, "add@/block/hda/hda1\0
    ACTION=add\0DEVPATH=/block/hda/hda1\0UDEV_LOG=3\0
    ID_TYPE=disk\0ID_MODEL=HTS726060M9AT00\0ID_SERIAL=MRH401M4G6UM9B\0
    ID_REVISION=MH4OA6BA\0ID_BUS=ata\0ID_PATH=pci-0000:00:1f.1-ide-0:0\0
    ID_FS_USAGE=other\0ID_FS_TYPE=swap\0ID_FS_VERSION=2\0
    ID_FS_UUID=9352cfef-7687-47bc-a2a3-34cf136f72e1\0
    ID_FS_LABEL=ThisIsSwap\0ID_FS_LABEL_SAFE=ThisIsSwap\0
    DEVNAME=/dev/hda1\0"

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agofix GGC signed pointer warnings and switch volume_id to stdint
Kay Sievers [Sun, 31 Jul 2005 23:33:36 +0000 (01:33 +0200)]
fix GGC signed pointer warnings and switch volume_id to stdint

Solaris uses volume_id now and they fiddled around with configure scripts
to map the linux kernel int types. Adding the types locally to volume_id
breaks the klibc build, so just switch to these ugly types and forget it. :)

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agoOops, 064 release, not 063 064
Greg Kroah-Hartman [Sat, 23 Jul 2005 16:27:02 +0000 (12:27 -0400)]
Oops, 064 release, not 063

18 years ago063 release
Greg Kroah-Hartman [Sat, 23 Jul 2005 16:26:28 +0000 (12:26 -0400)]
063 release

18 years agomove code to its own files
Kay Sievers [Fri, 22 Jul 2005 16:35:58 +0000 (12:35 -0400)]
move code to its own files

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agomake SYSFS{} usable for all devices
Kay Sievers [Wed, 20 Jul 2005 16:12:56 +0000 (12:12 -0400)]
make SYSFS{} usable for all devices

Patch from:
  Hannes Reinecke <hare@suse.de>

18 years agousb_id: fix typo
Hannes Reinecke [Tue, 19 Jul 2005 18:36:34 +0000 (14:36 -0400)]
usb_id: fix typo

18 years agoadd ID_BUS to *_id programs
Hannes Reinecke [Tue, 19 Jul 2005 15:18:19 +0000 (11:18 -0400)]
add ID_BUS to *_id programs

18 years agocreate_floppy_devices: add tool to create floppy nodes based on sysfs info
Hannes Reinecke [Tue, 19 Jul 2005 15:14:12 +0000 (11:14 -0400)]
create_floppy_devices: add tool to create floppy nodes based on sysfs info

18 years agovolume_id: add OCFS (Oracle Cluster File System) support
Andre Masella [Sun, 17 Jul 2005 13:54:40 +0000 (09:54 -0400)]
volume_id: add OCFS (Oracle Cluster File System) support

18 years agoadd padding to rules structure
Kay Sievers [Sun, 17 Jul 2005 13:40:29 +0000 (09:40 -0400)]
add padding to rules structure

Some architectures really want well alingned structures.
Thanks to Jim Gifford <maillist@jg555.com> for help finding it.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agoallow rules to have labels and skip to next label
Kay Sievers [Sat, 16 Jul 2005 05:46:31 +0000 (07:46 +0200)]
allow rules to have labels and skip to next label

This will allow us to have whole blocks of rules to skip
conditionally. The following section creates the node "yes":
  GOTO="TEST"
  NAME="no"
  NAME="no2", LABEL="NO"
  NAME="yes", LABEL="TEST"
  NAME="no3"

18 years agothread unknown ENV{key} match as empty value
Kay Sievers [Sat, 16 Jul 2005 03:50:34 +0000 (05:50 +0200)]
thread unknown ENV{key} match as empty value

This way we can run a rule if a certain key is not set by:
  ENV{key}="" or ENV{key}!="?*"

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years ago063 release
Greg KH [Thu, 14 Jul 2005 23:09:21 +0000 (16:09 -0700)]
063 release

18 years agoadd 'make tests' as I'm always typing that one wrong...
Greg KH [Thu, 14 Jul 2005 22:27:30 +0000 (15:27 -0700)]
add 'make tests' as I'm always typing that one wrong...

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years agoReally commit the udev_run_devd changes...
Greg KH [Thu, 14 Jul 2005 22:24:59 +0000 (15:24 -0700)]
Really commit the udev_run_devd changes...

18 years agoFixed udev_run_devd to run the /etc/dev.d/DEVNAME/ files too
Greg KH [Thu, 14 Jul 2005 22:19:37 +0000 (15:19 -0700)]
Fixed udev_run_devd to run the /etc/dev.d/DEVNAME/ files too

Note, this assumes that you are putting your device nodes in /dev/, the
better thing to do is use the RUN= rule and not rely on this program at all.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years agoMerge gregkh@ehlo.org:/home/kay/public_html/pub/scm/linux/hotplug/udev-kay
Greg KH [Thu, 14 Jul 2005 21:13:34 +0000 (14:13 -0700)]
Merge gregkh@ehlo.org:/home/kay/public_html/linux/hotplug/udev-kay

18 years agocorrect default mode documentation in udev
Ville Skyttä [Thu, 14 Jul 2005 09:43:05 +0000 (11:43 +0200)]
correct default mode documentation in udev

18 years agofix typo in GROUP value application
Anton Farygin [Thu, 14 Jul 2005 09:39:55 +0000 (11:39 +0200)]
fix typo in GROUP value application

18 years agovolume_id: remove s390 dasd handling, it is dasd_id now
Kay Sievers [Wed, 13 Jul 2005 10:01:53 +0000 (12:01 +0200)]
volume_id: remove s390 dasd handling, it is dasd_id now

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agodasd_id: add s390 disk-label prober
Hannes Reinecke [Wed, 13 Jul 2005 09:35:51 +0000 (11:35 +0200)]
dasd_id: add s390 disk-label prober

Signed-off-by: Hannes Reinecke <hare@suse.de>
18 years agotrivial fixes for *_id programs
Kay Sievers [Wed, 13 Jul 2005 09:23:21 +0000 (11:23 +0200)]
trivial fixes for *_id programs

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agofix position of raw rules in gentoo config file
Greg KH [Tue, 12 Jul 2005 22:46:54 +0000 (15:46 -0700)]
fix position of raw rules in gentoo config file
this solve issue of raw1394 device nodes showing up in the proper place.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years agoIMPORT: add {parent} to import the persistent data of the parent device
Kay Sievers [Tue, 12 Jul 2005 12:46:36 +0000 (14:46 +0200)]
IMPORT: add {parent} to import the persistent data of the parent device

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agoallow multiple values to be matched with KEY=="value1|value2"
Kay Sievers [Tue, 12 Jul 2005 10:52:56 +0000 (12:52 +0200)]
allow multiple values to be matched with KEY=="value1|value2"

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agoudevd: set incoming socket buffer SO_RCVBUF to maximum
Kay Sievers [Tue, 12 Jul 2005 09:44:51 +0000 (11:44 +0200)]
udevd: set incoming socket buffer SO_RCVBUF to maximum

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agoremember mapped rules state
Kay Sievers [Tue, 12 Jul 2005 09:42:39 +0000 (11:42 +0200)]
remember mapped rules state

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agoata_id: check for empty serial number
Kay Sievers [Tue, 12 Jul 2005 09:41:09 +0000 (11:41 +0200)]
ata_id: check for empty serial number

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agocompile dasd only on s390
Kay Sievers [Tue, 12 Jul 2005 09:39:56 +0000 (11:39 +0200)]
compile dasd only on s390

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agofix usb_id and let scsi_id ignore "illegal request"
Hannes Reinecke [Fri, 8 Jul 2005 01:29:19 +0000 (03:29 +0200)]
fix usb_id and let scsi_id ignore "illegal request"

18 years ago062 release 062
Greg Kroah-Hartman [Thu, 7 Jul 2005 22:00:50 +0000 (15:00 -0700)]
062 release

18 years agofix symlink values separated by multiple spaces
Kay Sievers [Thu, 7 Jul 2005 21:43:13 +0000 (23:43 +0200)]
fix symlink values separated by multiple spaces

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agoupdate RELEASE-NOTES
Kay Sievers [Thu, 7 Jul 2005 21:01:04 +0000 (23:01 +0200)]
update RELEASE-NOTES

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agofix typo in group assignment
Kay Sievers [Thu, 7 Jul 2005 20:40:09 +0000 (22:40 +0200)]
fix typo in group assignment

Thanks to: Georgi Georgiev

18 years agofix default-name handling and NAME="" rules
Kay Sievers [Thu, 7 Jul 2005 20:32:48 +0000 (22:32 +0200)]
fix default-name handling and NAME="" rules

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agoadd WAIT_FOR_SYSFS key to loop until a file in sysfs arrives
Kay Sievers [Thu, 7 Jul 2005 18:05:51 +0000 (20:05 +0200)]
add WAIT_FOR_SYSFS key to loop until a file in sysfs arrives

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agofix unquoted strings in udevinitsend
Kay Sievers [Thu, 7 Jul 2005 14:02:03 +0000 (16:02 +0200)]
fix unquoted strings in udevinitsend

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years ago061 release 061
Greg Kroah-Hartman [Wed, 6 Jul 2005 21:24:08 +0000 (14:24 -0700)]
061 release

18 years agoMerge gregkh@ehlo.org:/home/kay/public_html/pub/scm/linux/hotplug/udev-kay
Greg KH [Wed, 6 Jul 2005 20:52:14 +0000 (13:52 -0700)]
Merge gregkh@ehlo.org:/home/kay/public_html/linux/hotplug/udev-kay

18 years agoupdate RELEASE-NOTES
Kay Sievers [Wed, 6 Jul 2005 20:17:06 +0000 (22:17 +0200)]
update RELEASE-NOTES

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agofix cdrom symlink problem in gentoo rules
Greg Kroah-Hartman [Wed, 6 Jul 2005 20:15:23 +0000 (13:15 -0700)]
fix cdrom symlink problem in gentoo rules

18 years agoSync up the Debian rules files
Greg KH [Wed, 6 Jul 2005 20:09:05 +0000 (13:09 -0700)]
Sync up the Debian rules files

18 years agowe want to provide OPTFLAGS
Kay Sievers [Wed, 6 Jul 2005 19:36:21 +0000 (21:36 +0200)]
we want to provide OPTFLAGS

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agorename ALARM_TIMEOUT to UDEV_ALARM_TIMEOUT
Kay Sievers [Wed, 6 Jul 2005 12:42:26 +0000 (14:42 +0200)]
rename ALARM_TIMEOUT to UDEV_ALARM_TIMEOUT

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agoudevd: optimize env-key parsing
Kay Sievers [Wed, 6 Jul 2005 00:02:05 +0000 (02:02 +0200)]
udevd: optimize env-key parsing

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agodon't resolve OWNER, GROUP on precompile if string contains %, $
Kay Sievers [Wed, 6 Jul 2005 00:01:16 +0000 (02:01 +0200)]
don't resolve OWNER, GROUP on precompile if string contains %, $

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agoset default device node to /dev
Kay Sievers [Tue, 5 Jul 2005 23:44:34 +0000 (01:44 +0200)]
set default device node to /dev

Using prefix seems pretty useless and the empty /udev
with every "make install" is annoying.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agocreate udevdb files only if somehting interesting happened
Kay Sievers [Tue, 5 Jul 2005 20:40:42 +0000 (22:40 +0200)]
create udevdb files only if somehting interesting happened

Device nodes created with the default rule, without any symlink or option
are no longer saved to the udevdb. This saves us ~3 MB RAM for pretty much
useless files on tmpfs.
Note: HAL needs a fix to handle this correctly. It's already available on
the list.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agopack parsed rules list
Kay Sievers [Tue, 5 Jul 2005 13:24:41 +0000 (15:24 +0200)]
pack parsed rules list

This cuts down our 600 rules file to 98 kb instead of 1.9 Mb memory
or file-size with precompiled rules.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agoreplace useless defines by inline text
Kay Sievers [Mon, 4 Jul 2005 18:42:04 +0000 (20:42 +0200)]
replace useless defines by inline text

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agomove rule matches to function
Kay Sievers [Mon, 4 Jul 2005 17:44:25 +0000 (19:44 +0200)]
move rule matches to function

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agoadd usb_id program to generate usb-storage device identifiers
Kay Sievers [Mon, 4 Jul 2005 15:02:25 +0000 (17:02 +0200)]
add usb_id program to generate usb-storage device identifiers

Signed-off-by: Hannes Reinecke <hare@suse.de>
18 years agoadd IEEE1394 rules to the gentoo rule file
Kay Sievers [Sun, 3 Jul 2005 14:11:17 +0000 (16:11 +0200)]
add IEEE1394 rules to the gentoo rule file

18 years agofake also kernel-name if we renamed a netif
Kay Sievers [Sun, 3 Jul 2005 12:32:22 +0000 (14:32 +0200)]
fake also kernel-name if we renamed a netif

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agoallow OPTIONS to be recognized for /sys/modules /sys/devices events
Kay Sievers [Sun, 3 Jul 2005 12:31:17 +0000 (14:31 +0200)]
allow OPTIONS to be recognized for /sys/modules /sys/devices events

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agoswitch gentoo rules to new operators
Kay Sievers [Sun, 3 Jul 2005 12:01:48 +0000 (14:01 +0200)]
switch gentoo rules to new operators

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agoFix ChangeLog titles
Greg KH [Sun, 3 Jul 2005 06:55:38 +0000 (23:55 -0700)]
Fix ChangeLog titles

18 years ago060 release 060
Greg KH [Sun, 3 Jul 2005 06:55:08 +0000 (23:55 -0700)]
060 release

18 years ago[PATCH] Keep udevstart from skipping devices without a 'dev' file
Kay Sievers [Sat, 2 Jul 2005 20:29:46 +0000 (22:29 +0200)]
[PATCH] Keep udevstart from skipping devices without a 'dev' file

18 years agoFix the gentoo udev rules to allow the box to boot properly
Greg KH [Sun, 3 Jul 2005 06:47:43 +0000 (23:47 -0700)]
Fix the gentoo udev rules to allow the box to boot properly

18 years ago[PATCH] Udev doesn't properly build with $CROSS
Gustavo Zacarias [Mon, 27 Jun 2005 15:46:53 +0000 (12:46 -0300)]
[PATCH] Udev doesn't properly build with $CROSS

Patch attached - basically you're always invoking klcc for the udev
build itself, but klibc builds $(CROSS)klcc.
Thus static cross builds don't work.

18 years ago[PATCH] #define NETLINK_KOBJECT_UEVENT
Marco d'Itri [Wed, 22 Jun 2005 22:28:54 +0000 (00:28 +0200)]
[PATCH] #define NETLINK_KOBJECT_UEVENT

On many systems the system kernel headers are not recent enough to
compile udev.

18 years ago059 release 059
Greg Kroah-Hartman [Thu, 30 Jun 2005 23:27:52 +0000 (16:27 -0700)]
059 release

18 years agoUpdate the gentoo rule file
Greg Kroah-Hartman [Thu, 30 Jun 2005 23:26:43 +0000 (16:26 -0700)]
Update the gentoo rule file

18 years agoprepare RELEASE-NOTES
Kay Sievers [Thu, 30 Jun 2005 19:50:22 +0000 (21:50 +0200)]
prepare RELEASE-NOTES

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agoadd ID_TYPE to the id probers
Kay Sievers [Mon, 27 Jun 2005 15:04:56 +0000 (17:04 +0200)]
add ID_TYPE to the id probers

Export the type of device from ata_id and scsi_id, also strip
leading and trailing whitespace and substitute consecutive
whitespace with a single underline char.

From: Hannes Reinecke <hare@suse.de>
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agoadd -x to scsi_id to export the queried values in env format
Kay Sievers [Mon, 27 Jun 2005 00:51:49 +0000 (02:51 +0200)]
add -x to scsi_id to export the queried values in env format

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agostore the imported device information in the udevdb
Kay Sievers [Sun, 26 Jun 2005 16:55:24 +0000 (18:55 +0200)]
store the imported device information in the udevdb

Any program can query with udevinfo for persistent device
attributes evaluated on device discovery now.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agorename udev_volume_id to vol_id and add --export option
Kay Sievers [Sat, 25 Jun 2005 23:54:47 +0000 (01:54 +0200)]
rename udev_volume_id to vol_id and add --export option

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agoadd ata_id to read serial numbers from ATA drives
Kay Sievers [Sat, 25 Jun 2005 21:54:28 +0000 (23:54 +0200)]
add ata_id to read serial numbers from ATA drives

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agoIMPORT allow to import program returned keys into the env
Kay Sievers [Sat, 25 Jun 2005 16:58:49 +0000 (18:58 +0200)]
IMPORT allow to import program returned keys into the env

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agounify execute_command() and execute_program()
Kay Sievers [Sat, 25 Jun 2005 13:35:14 +0000 (15:35 +0200)]
unify execute_command() and execute_program()

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agoIMPORT=<file> allow to import a shell-var style config-file
Kay Sievers [Sat, 25 Jun 2005 11:10:16 +0000 (13:10 +0200)]
IMPORT=<file> allow to import a shell-var style config-file

This allows to source-in a file into the udev environment to have
the defined keys available for later processing by udev itself or
the forked helper programs.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agoallow rules to be compiled to one binary file
Kay Sievers [Fri, 24 Jun 2005 16:05:32 +0000 (18:05 +0200)]
allow rules to be compiled to one binary file

All the rule files can be compiled into a single file,
which can be mapped into the udev process to avoid parsing
the rules with every event.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agofix the fix and change the file to wait for to the "bus" link
Kay Sievers [Wed, 22 Jun 2005 00:11:59 +0000 (02:11 +0200)]
fix the fix and change the file to wait for to the "bus" link

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agoMerge gregkh@ehlo.org:/home/kay/public_html/pub/scm/linux/hotplug/udev-kay
Greg KH [Tue, 21 Jun 2005 23:36:29 +0000 (16:36 -0700)]
Merge gregkh@ehlo.org:/home/kay/public_html/linux/hotplug/udev-kay

18 years agofix udevstart and let all events trvel trough udev
Kay Sievers [Tue, 21 Jun 2005 23:31:24 +0000 (01:31 +0200)]
fix udevstart and let all events trvel trough udev

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agoprepare for module loading rules and add MODALIAS key
Kay Sievers [Sun, 19 Jun 2005 22:29:38 +0000 (00:29 +0200)]
prepare for module loading rules and add MODALIAS key

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
18 years agoremove device node, when type block/char has changed
Kay Sievers [Sat, 18 Jun 2005 08:57:10 +0000 (10:57 +0200)]
remove device node, when type block/char has changed

Signed-off-by: Kay Sievers <kay.sievers@suse.de>