chiark / gitweb /
elogind.git
15 years agoadded the cdrom.h #defines directly into the cdrom_id.c file
Greg Kroah-Hartman [Fri, 12 Aug 2005 18:37:56 +0000 (11:37 -0700)]
added the cdrom.h #defines directly into the cdrom_id.c file

This solves the problem with building the file against old kernel header
files.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agofix make install, as we don't provide a default rule set anymore
Kay Sievers [Fri, 12 Aug 2005 00:07:50 +0000 (02:07 +0200)]
fix make install, as we don't provide a default rule set anymore

Several people complained about the "default" rules and the "default"
setup. Here we start to remove things where we can't hava a  "default".
The best examples for rules are in the distro folders, just pick the one
that matches your needs and start from there.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
15 years agoupdate SUSE rules
Kay Sievers [Thu, 11 Aug 2005 22:50:48 +0000 (00:50 +0200)]
update SUSE rules

don't use ID_TYPE, so cdroms will be in /dev/disk/

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
15 years ago066 release
Greg KH [Thu, 11 Aug 2005 22:44:08 +0000 (15:44 -0700)]
066 release

15 years agotweak the gentoo rules some more.
Greg KH [Thu, 11 Aug 2005 22:32:14 +0000 (15:32 -0700)]
tweak the gentoo rules some more.
- make the persistant rules smaller
- add usbfs-like device node support

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agochanged location of gentoo helper apps to be /sbin instead of in scripts dir
Greg KH [Thu, 11 Aug 2005 22:10:10 +0000 (15:10 -0700)]
changed location of gentoo helper apps to be /sbin instead of in scripts dir

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoChange the gentoo rules to use cdrom_id instead of cdsymlink.sh
Greg KH [Thu, 11 Aug 2005 22:08:08 +0000 (15:08 -0700)]
Change the gentoo rules to use cdrom_id instead of cdsymlink.sh

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agofix klibc build issue in cdrom_id.c
Greg KH [Thu, 11 Aug 2005 21:38:33 +0000 (14:38 -0700)]
fix klibc build issue in cdrom_id.c

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoadded cdrom_id to the build check
Greg KH [Thu, 11 Aug 2005 21:37:54 +0000 (14:37 -0700)]
added cdrom_id to the build check

15 years agochanged cdrom_id exports to be easier to understand and consistant with other _id...
Greg KH [Thu, 11 Aug 2005 21:04:24 +0000 (14:04 -0700)]
changed cdrom_id exports to be easier to understand and consistant with other _id programs.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoCreated cdrom_id program to make it easier to determine cdrom types
Greg KH [Thu, 11 Aug 2005 20:59:21 +0000 (13:59 -0700)]
Created cdrom_id program to make it easier to determine cdrom types

Based on the framework from ata_id by Kay.
Now we can drop the cdsymlinks.sh and .c files

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoupdate gentoo rule file.
Greg KH [Thu, 11 Aug 2005 20:02:44 +0000 (13:02 -0700)]
update gentoo rule file.
This fixes the issue of cdroms not showing up in the proper group,
and them showing up in /dev/cd/ for the persistant names.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agomove some logging to the info level
Kay Sievers [Thu, 11 Aug 2005 19:01:46 +0000 (21:01 +0200)]
move some logging to the info level

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
15 years agoadd Usage: to udevmonitor and udevcontrol
Kay Sievers [Thu, 11 Aug 2005 18:34:24 +0000 (20:34 +0200)]
add Usage: to udevmonitor and udevcontrol

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
15 years agoallow logging of all output from executed tools
Kay Sievers [Thu, 11 Aug 2005 15:32:59 +0000 (17:32 +0200)]
allow logging of all output from executed tools

If USE_DEBUG=true and udev_log="debug", all output of the forked
programs to stdout and stderr is send to syslog.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
15 years agoupdate SUSE rules
Kay Sievers [Thu, 11 Aug 2005 15:19:05 +0000 (17:19 +0200)]
update SUSE rules

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
15 years agofix udevinfo output
Thierry Vignaud [Wed, 10 Aug 2005 15:06:01 +0000 (17:06 +0200)]
fix udevinfo output

15 years agosplit udev_util in several files
Kay Sievers [Wed, 10 Aug 2005 14:54:14 +0000 (16:54 +0200)]
split udev_util in several files

It too big for the small tools to link against for only the log function.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
15 years agoupdate SUSE rules
Kay Sievers [Wed, 10 Aug 2005 13:27:25 +0000 (15:27 +0200)]
update SUSE rules

Tape naming is harder than expected, go back to block devices only.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
15 years agotrivial text cleanups
Kay Sievers [Tue, 9 Aug 2005 20:11:44 +0000 (22:11 +0200)]
trivial text cleanups

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
15 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>
15 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>
15 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>
15 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.

15 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>
15 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>
15 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>
15 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>
15 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>
15 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>
15 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>
15 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>
15 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>
15 years ago065 release
Greg Kroah-Hartman [Tue, 2 Aug 2005 20:56:41 +0000 (13:56 -0700)]
065 release

15 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

15 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>
15 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>
15 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>
15 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>
15 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>
15 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>
15 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>
15 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

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

15 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>
15 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>

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

15 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

15 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

15 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

15 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>
15 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"

15 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>
15 years ago063 release
Greg KH [Thu, 14 Jul 2005 23:09:21 +0000 (16:09 -0700)]
063 release

15 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>
15 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...

15 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>
15 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

15 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

15 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

15 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>
15 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>
15 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>
15 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>
15 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>
15 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>
15 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>
15 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>
15 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>
15 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>
15 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"

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

15 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>
15 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>
15 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

15 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>
15 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>
15 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>
15 years ago061 release 061
Greg Kroah-Hartman [Wed, 6 Jul 2005 21:24:08 +0000 (14:24 -0700)]
061 release

15 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

15 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>
15 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

15 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

15 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>
15 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>
15 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>
15 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>
15 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>
15 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>
15 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>
15 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>
15 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>
15 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>
15 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

15 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>
15 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>
15 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>
15 years agoFix ChangeLog titles
Greg KH [Sun, 3 Jul 2005 06:55:38 +0000 (23:55 -0700)]
Fix ChangeLog titles

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

15 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