chiark / gitweb /
elogind.git
13 years agoudevtest: add --subsystem option
Kay Sievers [Sat, 2 Jun 2007 08:14:50 +0000 (10:14 +0200)]
udevtest: add --subsystem option

13 years agoevents for "bus" and "class" registration must be matched as "subsystem"
Kay Sievers [Sat, 2 Jun 2007 08:02:32 +0000 (10:02 +0200)]
events for "bus" and "class" registration must be matched as "subsystem"

13 years agosysfs: add device lookup by $SUBSYSYTEM:$KERNEL
Kay Sievers [Sat, 2 Jun 2007 07:43:57 +0000 (09:43 +0200)]
sysfs: add device lookup by $SUBSYSYTEM:$KERNEL

13 years agofix "do not access parent" warning for ATTR{}
Kay Sievers [Fri, 1 Jun 2007 14:37:43 +0000 (16:37 +0200)]
fix "do not access parent" warning for ATTR{}

13 years agoscsi_id: fix typo in help text
Kay Sievers [Tue, 29 May 2007 19:26:01 +0000 (21:26 +0200)]
scsi_id: fix typo in help text

13 years agorules: SUSE update
Kay Sievers [Tue, 29 May 2007 19:25:21 +0000 (21:25 +0200)]
rules: SUSE update

13 years agorules: fix cciss rule
Kay Sievers [Tue, 29 May 2007 19:24:27 +0000 (21:24 +0200)]
rules: fix cciss rule

13 years agopath_id: skip subsystem directory
Kay Sievers [Tue, 29 May 2007 19:23:20 +0000 (21:23 +0200)]
path_id: skip subsystem directory

13 years agorules: use long options for scsi_id
Kay Sievers [Fri, 25 May 2007 15:40:04 +0000 (17:40 +0200)]
rules: use long options for scsi_id

13 years agoscsi_id: add long options
Kay Sievers [Fri, 25 May 2007 15:37:47 +0000 (17:37 +0200)]
scsi_id: add long options

13 years agocciss device support
Hannes Reinecke [Fri, 25 May 2007 12:48:08 +0000 (14:48 +0200)]
cciss device support

13 years agovolume_id: support for long-filename based labels
Ryan Lortie [Fri, 25 May 2007 01:36:59 +0000 (03:36 +0200)]
volume_id: support for long-filename based labels

13 years agovolume_id: terminate overlong label strings
Kay Sievers [Fri, 25 May 2007 01:35:18 +0000 (03:35 +0200)]
volume_id: terminate overlong label strings

13 years agorules: SUSE update
Kay Sievers [Mon, 21 May 2007 06:01:19 +0000 (08:01 +0200)]
rules: SUSE update

13 years agoscsi_id: do not install symlink in /sbin
Kay Sievers [Mon, 21 May 2007 06:00:45 +0000 (08:00 +0200)]
scsi_id: do not install symlink in /sbin

13 years agoIMPORT: do not mangle whitespace
Kay Sievers [Mon, 21 May 2007 06:00:09 +0000 (08:00 +0200)]
IMPORT: do not mangle whitespace

13 years agoreplace_chars: replace % character
Kay Sievers [Mon, 21 May 2007 05:59:40 +0000 (07:59 +0200)]
replace_chars: replace % character

13 years agovolume_id: escape % character
Kay Sievers [Mon, 21 May 2007 05:17:09 +0000 (07:17 +0200)]
volume_id: escape % character

13 years agoudevtest: print message before log output
Kay Sievers [Mon, 21 May 2007 05:02:04 +0000 (07:02 +0200)]
udevtest: print message before log output

13 years agorules: use encoded strings instead of skipping characters
Kay Sievers [Thu, 17 May 2007 18:19:25 +0000 (20:19 +0200)]
rules: use encoded strings instead of skipping characters

This is needed for mount(8) and LABEL=* to find symlinks of label
strings with special character in it.

13 years agovol_id: export encoded strings
Kay Sievers [Thu, 17 May 2007 18:10:09 +0000 (20:10 +0200)]
vol_id: export encoded strings

13 years agovolume_id: add and export string encoding function
Kay Sievers [Thu, 17 May 2007 18:09:24 +0000 (20:09 +0200)]
volume_id: add and export string encoding function

Needed for mount(8) to lookup LABEL=* in /dev/disk/by-label/*. Characters
not suited for a filename will be escaped and the encoded LABEL=* string
is able to find the corresponding symlink.

13 years agoreplace_chars: replace spaces in node name
Kay Sievers [Thu, 17 May 2007 18:01:54 +0000 (20:01 +0200)]
replace_chars: replace spaces in node name

13 years agoudevsettle: use long options
Kay Sievers [Thu, 17 May 2007 00:17:13 +0000 (02:17 +0200)]
udevsettle: use long options

13 years agorules: ignore partitons that span the entire disk
Fabio Massimo Di Nitto [Wed, 16 May 2007 18:15:21 +0000 (20:15 +0200)]
rules: ignore partitons that span the entire disk

13 years agorun_program: log "info" not "error" if program is missing
Scott James Remnant [Wed, 16 May 2007 18:06:39 +0000 (20:06 +0200)]
run_program: log "info" not "error" if program is missing

13 years agoreplace_untrusted_chars: replace all whitespace with space
Scott James Remnant [Wed, 16 May 2007 18:00:29 +0000 (20:00 +0200)]
replace_untrusted_chars: replace all whitespace with space

13 years agoudev_db: escape path names with \x00 instead of %00
Kay Sievers [Wed, 16 May 2007 17:51:13 +0000 (19:51 +0200)]
udev_db: escape path names with \x00 instead of %00

13 years agovolume_id: add function documentation
Kay Sievers [Mon, 14 May 2007 23:11:48 +0000 (01:11 +0200)]
volume_id: add function documentation

13 years agocreate_floppy_devices: remove dead "unlink" code
Kay Sievers [Mon, 14 May 2007 23:08:48 +0000 (01:08 +0200)]
create_floppy_devices: remove dead "unlink" code

13 years agopath_id: remove on make uninstall
Miklos Vajna [Sat, 12 May 2007 22:06:26 +0000 (00:06 +0200)]
path_id: remove on make uninstall

13 years agocreate_floppy_devices: add man page
Miklos Vajna [Sat, 12 May 2007 22:02:20 +0000 (00:02 +0200)]
create_floppy_devices: add man page

13 years agoudevd: close /proc/meminfo after reading
Kay Sievers [Fri, 11 May 2007 14:53:56 +0000 (16:53 +0200)]
udevd: close /proc/meminfo after reading

13 years agorelease 111
Kay Sievers [Thu, 10 May 2007 10:42:56 +0000 (12:42 +0200)]
release 111

13 years agovolume_id: vol_id depends on libvolume_id
Kay Sievers [Thu, 10 May 2007 10:40:18 +0000 (12:40 +0200)]
volume_id: vol_id depends on libvolume_id

13 years agorules: SUSE update
Kay Sievers [Wed, 9 May 2007 14:26:00 +0000 (16:26 +0200)]
rules: SUSE update

13 years agovolume_id: add remaining names for prober lookup by type
Kay Sievers [Wed, 9 May 2007 14:06:15 +0000 (16:06 +0200)]
volume_id: add remaining names for prober lookup by type

13 years agorules: Gentoo update
Matthias Schwarzott [Wed, 9 May 2007 06:25:51 +0000 (08:25 +0200)]
rules: Gentoo update

13 years agovol_id: use libvolume_id prober list for --probe-all
Kay Sievers [Tue, 8 May 2007 18:00:02 +0000 (20:00 +0200)]
vol_id: use libvolume_id prober list for --probe-all

13 years agovolume_id: give access to list of all available probers
Kay Sievers [Tue, 8 May 2007 17:59:23 +0000 (19:59 +0200)]
volume_id: give access to list of all available probers

13 years agorules: SUSE update
Kay Sievers [Mon, 7 May 2007 13:35:10 +0000 (15:35 +0200)]
rules: SUSE update

13 years agorules: use ID_FS_UUID_SAFE
Kay Sievers [Mon, 7 May 2007 13:34:49 +0000 (15:34 +0200)]
rules: use ID_FS_UUID_SAFE

13 years agovol_id: add ID_FS_UUID_SAFE
Kay Sievers [Sun, 6 May 2007 00:24:21 +0000 (02:24 +0200)]
vol_id: add ID_FS_UUID_SAFE

13 years agovolume_id: rename UUID_64BIT_LE/BE
Kay Sievers [Sun, 6 May 2007 00:23:48 +0000 (02:23 +0200)]
volume_id: rename UUID_64BIT_LE/BE

13 years agovol_id: README update
Kay Sievers [Fri, 4 May 2007 15:16:08 +0000 (17:16 +0200)]
vol_id: README update

13 years agovolume_id: add DDF support
Kay Sievers [Fri, 4 May 2007 14:54:46 +0000 (16:54 +0200)]
volume_id: add DDF support

13 years agovolume_id: add internal UUID_STRING
Kay Sievers [Fri, 4 May 2007 14:53:19 +0000 (16:53 +0200)]
volume_id: add internal UUID_STRING

13 years agovolume_id: fix Makefile for parallel make
Matthias Schwarzott [Thu, 3 May 2007 21:24:17 +0000 (23:24 +0200)]
volume_id: fix Makefile for parallel make

13 years agoudevd: use fgets() to read /proc files
Kay Sievers [Thu, 3 May 2007 21:21:11 +0000 (23:21 +0200)]
udevd: use fgets() to read /proc files

Based on a patch by:
  George Beshers <gbeshers@sgi.com>

13 years agovol_id: use volume_id_get_*
Kay Sievers [Thu, 3 May 2007 12:24:56 +0000 (14:24 +0200)]
vol_id: use volume_id_get_*

13 years agovolume_id: add volume_id_get_* functions
Kay Sievers [Thu, 3 May 2007 12:22:39 +0000 (14:22 +0200)]
volume_id: add volume_id_get_* functions

In a future version of libvolume_id, struct volume_id will be
an opaque data type, which can't be accessed directly.

No interface has changed for now, until all known users are
converted not to access the structure directly.

13 years agovol_id: use long options
Kay Sievers [Thu, 3 May 2007 09:00:02 +0000 (11:00 +0200)]
vol_id: use long options

13 years agovolume_id: use md native uuid format
Kay Sievers [Thu, 3 May 2007 07:24:16 +0000 (09:24 +0200)]
volume_id: use md native uuid format

13 years agorules: Fedora update
Kay Sievers [Thu, 3 May 2007 00:12:18 +0000 (02:12 +0200)]
rules: Fedora update

13 years agorules: SUSE update
Kay Sievers [Thu, 3 May 2007 00:04:19 +0000 (02:04 +0200)]
rules: SUSE update

13 years agorelease 110
Kay Sievers [Tue, 1 May 2007 12:33:39 +0000 (14:33 +0200)]
release 110

13 years agorules: SUSE update
Kay Sievers [Tue, 1 May 2007 12:21:04 +0000 (14:21 +0200)]
rules: SUSE update

13 years agoata_id: use getopt_long()
Kay Sievers [Tue, 1 May 2007 12:19:31 +0000 (14:19 +0200)]
ata_id: use getopt_long()

13 years agousb_id: add <devpath> to help text
Kay Sievers [Tue, 1 May 2007 12:18:36 +0000 (14:18 +0200)]
usb_id: add <devpath> to help text

13 years agodon't create $tempnode for devices without major
Kay Sievers [Mon, 30 Apr 2007 19:48:30 +0000 (21:48 +0200)]
don't create $tempnode for devices without major

13 years agoata_id: don't log error for libata devices on older kernels
Matthias Schwarzott [Sat, 28 Apr 2007 22:08:30 +0000 (00:08 +0200)]
ata_id: don't log error for libata devices on older kernels

13 years agovolume_id: minix version 3 support
Kay Sievers [Sat, 28 Apr 2007 21:45:49 +0000 (23:45 +0200)]
volume_id: minix version 3 support

13 years agovolume_id: old md metadata has only 32 bit for the uuid
Kay Sievers [Sat, 28 Apr 2007 21:06:20 +0000 (23:06 +0200)]
volume_id: old md metadata has only 32 bit for the uuid

13 years agorules: Fedora update
Kay Sievers [Sat, 28 Apr 2007 11:29:24 +0000 (13:29 +0200)]
rules: Fedora update

13 years agorules: Gentoo update
Matthias Schwarzott [Fri, 27 Apr 2007 09:42:34 +0000 (11:42 +0200)]
rules: Gentoo update

13 years agoudevcontrol: allow to set global variables in udevd
Harald Hoyer [Thu, 26 Apr 2007 20:52:20 +0000 (22:52 +0200)]
udevcontrol: allow to set global variables in udevd

The initial patch is from Harald, possible new bugs are from me.

13 years agovolume_id: ext - fix endianess in version number
Kay Sievers [Thu, 26 Apr 2007 20:46:27 +0000 (22:46 +0200)]
volume_id: ext - fix endianess in version number

13 years agoMakefile: respect CFLAGS/LDFLAGS
Matthias Schwarzott [Wed, 25 Apr 2007 21:22:25 +0000 (23:22 +0200)]
Makefile: respect CFLAGS/LDFLAGS

13 years agodelete copies of default rules in SUSE rules
Kay Sievers [Wed, 25 Apr 2007 10:56:50 +0000 (12:56 +0200)]
delete copies of default rules in SUSE rules

13 years agounset variable with ENV{VAR}=""
Kay Sievers [Tue, 24 Apr 2007 23:52:00 +0000 (01:52 +0200)]
unset variable with ENV{VAR}=""

13 years agovolume_id: add md metadata 1.0, 1.1, 1.2 support
Kay Sievers [Tue, 24 Apr 2007 16:35:24 +0000 (18:35 +0200)]
volume_id: add md metadata 1.0, 1.1, 1.2 support

13 years agoupdate SUSE rules
Kay Sievers [Mon, 23 Apr 2007 23:50:16 +0000 (01:50 +0200)]
update SUSE rules

13 years agoremove eventrecorder.sh
Kay Sievers [Mon, 23 Apr 2007 23:49:43 +0000 (01:49 +0200)]
remove eventrecorder.sh

13 years agorelease 109
Kay Sievers [Mon, 23 Apr 2007 16:22:43 +0000 (18:22 +0200)]
release 109

13 years agoupdate SUSE rules
Kay Sievers [Mon, 23 Apr 2007 16:22:08 +0000 (18:22 +0200)]
update SUSE rules

13 years agolibvolume_id: do not install static library
Kay Sievers [Mon, 23 Apr 2007 15:44:19 +0000 (17:44 +0200)]
libvolume_id: do not install static library

13 years agopath_id: remove broken example
Kay Sievers [Sun, 22 Apr 2007 12:19:14 +0000 (14:19 +0200)]
path_id: remove broken example

13 years agopath_id: add man page
VMiklos [Sun, 22 Apr 2007 12:10:18 +0000 (14:10 +0200)]
path_id: add man page

13 years agoudevd: fix serialization of events
Kay Sievers [Thu, 19 Apr 2007 20:21:05 +0000 (22:21 +0200)]
udevd: fix serialization of events

We see sequences like:
  UEVENT[1176966403.907336] add@/block/dasda
  UDEV  [1176966403.920359] add@/block/dasda
  UEVENT[1176966403.964379] add@/block/dasda/dasda1
  UEVENT[1176966403.964438] add@/block/dasda/dasda2
  UEVENT[1176966403.964483] online@/block/dasda
  UEVENT[1176966403.964519] online@/block/dasda/dasda1
  UEVENT[1176966403.964555] online@/block/dasda/dasda2
  UDEV  [1176966403.967413] add@/block/dasda/dasda1
  UDEV  [1176966403.968719] add@/block/dasda/dasda2
  UDEV  [1176966403.974750] online@/block/dasda/dasda1
  UDEV  [1176966403.982241] online@/block/dasda/dasda2
  UDEV  [1176966403.999847] online@/block/dasda

where the event for the disk (last event) should come before the
events for the partitons. We skipped events for dependency reasons,
but the dependency check for later events did not see the skipped
events.

14 years agocreate_path: don't fail if something else created the directory
Kay Sievers [Thu, 12 Apr 2007 16:55:59 +0000 (18:55 +0200)]
create_path: don't fail if something else created the directory

Thanks to Jeremy for the patch.

14 years agopersistent device naming: add joystick links
Matthias Schwarzott [Thu, 12 Apr 2007 12:38:46 +0000 (14:38 +0200)]
persistent device naming: add joystick links

14 years agoupdate Gentoo rules
Matthias Schwarzott [Thu, 12 Apr 2007 08:15:40 +0000 (10:15 +0200)]
update Gentoo rules

14 years agocreate_floppy_devices: create nodes with correct selinux context
Harald Hoyer [Wed, 11 Apr 2007 23:10:08 +0000 (01:10 +0200)]
create_floppy_devices: create nodes with correct selinux context

14 years agodefault rules: add libata compat links
Kay Sievers [Fri, 6 Apr 2007 17:53:20 +0000 (19:53 +0200)]
default rules: add libata compat links

14 years agoudevinfo: export all information stored in database
Kay Sievers [Fri, 6 Apr 2007 17:50:19 +0000 (19:50 +0200)]
udevinfo: export all information stored in database

14 years agoudevtest: import uevent variables if possible
Kay Sievers [Fri, 6 Apr 2007 17:18:33 +0000 (19:18 +0200)]
udevtest: import uevent variables if possible

14 years agomake ACTION!="add|change" working
Kay Sievers [Sat, 31 Mar 2007 00:46:32 +0000 (02:46 +0200)]
make ACTION!="add|change" working

Thanks to Scott for the suggestion.

14 years agoupdate SUSE rules
Kay Sievers [Sat, 31 Mar 2007 00:42:32 +0000 (02:42 +0200)]
update SUSE rules

14 years agoudevtest: export ACTION string if given as option
Kay Sievers [Sat, 31 Mar 2007 00:42:14 +0000 (02:42 +0200)]
udevtest: export ACTION string if given as option

14 years agorelease 108
Kay Sievers [Wed, 28 Mar 2007 18:47:26 +0000 (20:47 +0200)]
release 108

14 years agofinally remove the directory event-multiplexer crap
Kay Sievers [Wed, 28 Mar 2007 18:35:05 +0000 (20:35 +0200)]
finally remove the directory event-multiplexer crap

14 years agoupdate Gentoo rules
Matthias Schwarzott [Wed, 28 Mar 2007 18:31:19 +0000 (20:31 +0200)]
update Gentoo rules

14 years agoudevsettle: read udev not kernel seqnum first
Pozsar Balazs [Fri, 23 Mar 2007 16:21:46 +0000 (17:21 +0100)]
udevsettle: read udev not kernel seqnum first

14 years agodon't write to sysfs files during test run
Kay Sievers [Fri, 23 Mar 2007 16:18:03 +0000 (17:18 +0100)]
don't write to sysfs files during test run

14 years agoudevinfo: relax check for the correct device if looked up by name
Kay Sievers [Fri, 23 Mar 2007 16:17:18 +0000 (17:17 +0100)]
udevinfo: relax check for the correct device if looked up by name

14 years agowrite_cd_rules: set default link type to "by-id" for usb and ieee1394 devices
Matthias Schwarzott [Thu, 22 Mar 2007 20:05:56 +0000 (21:05 +0100)]
write_cd_rules: set default link type to "by-id" for usb and ieee1394 devices

14 years agorelease 107
Kay Sievers [Wed, 21 Mar 2007 19:17:01 +0000 (20:17 +0100)]
release 107

14 years agoupdate Debian rules
Marco d'Itri [Wed, 21 Mar 2007 19:05:08 +0000 (20:05 +0100)]
update Debian rules

14 years agorun_directory: add final warning before removal
Kay Sievers [Wed, 21 Mar 2007 13:22:50 +0000 (14:22 +0100)]
run_directory: add final warning before removal

14 years agousb_id: append target:lun to storage device serial
Kay Sievers [Wed, 21 Mar 2007 12:55:48 +0000 (13:55 +0100)]
usb_id: append target:lun to storage device serial

Some broken usb-storage devices implement multiple
luns with all the same SCSI identifiers. Append the
target:lun to get unique names in /dev/disk/by-id/.