chiark / gitweb /
elogind.git
16 years agoaccept relative path for TEST
Kay Sievers [Thu, 16 Aug 2007 10:45:31 +0000 (12:45 +0200)]
accept relative path for TEST

16 years agoedd_id: move persistent rules to its own file
Kay Sievers [Tue, 14 Aug 2007 09:06:39 +0000 (11:06 +0200)]
edd_id: move persistent rules to its own file

16 years agorules: update Fedora rules
Kay Sievers [Sat, 11 Aug 2007 12:06:03 +0000 (14:06 +0200)]
rules: update Fedora rules

16 years agorules: run vol_id only for partitions
Kay Sievers [Sat, 11 Aug 2007 12:01:54 +0000 (14:01 +0200)]
rules: run vol_id only for partitions

Until we add support to the kernel to report media changes with a
"change" event, do not read the device content, because it will not
get updated when the media is removed or replaced.

16 years agorules: move md-raid rules to packages dir
Kay Sievers [Fri, 10 Aug 2007 13:23:34 +0000 (15:23 +0200)]
rules: move md-raid rules to packages dir

16 years agorules: fix typo in 80-drivers.rules
Harald Hoyer [Fri, 10 Aug 2007 12:53:31 +0000 (14:53 +0200)]
rules: fix typo in 80-drivers.rules

16 years agorules: add ia64 rules
Kay Sievers [Fri, 10 Aug 2007 11:30:35 +0000 (13:30 +0200)]
rules: add ia64 rules

16 years agorules: add packages rules
Kay Sievers [Fri, 10 Aug 2007 10:40:17 +0000 (12:40 +0200)]
rules: add packages rules

16 years agoruls: update SUSE rules
Kay Sievers [Fri, 10 Aug 2007 10:37:34 +0000 (12:37 +0200)]
ruls: update SUSE rules

16 years agorules: add default rules
Kay Sievers [Fri, 10 Aug 2007 10:36:59 +0000 (12:36 +0200)]
rules: add default rules

16 years agorules: Debian update
Marco d'Itri [Tue, 7 Aug 2007 08:41:42 +0000 (10:41 +0200)]
rules: Debian update

16 years agorules_generator: fix write_cd_rules when similar names exist in the root directory
Marco d'Itri [Tue, 7 Aug 2007 08:39:07 +0000 (10:39 +0200)]
rules_generator: fix write_cd_rules when similar names exist in the root directory

The argument to find_all_rules must be quoted or it will be subject to
shell expansion, which will happen if in the root directory there are
mount points with the same base name.
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=407738 for details.

16 years agorules_generator: remove policy from write_cd_rules
Marco d'Itri [Tue, 7 Aug 2007 08:37:58 +0000 (10:37 +0200)]
rules_generator: remove policy from write_cd_rules

The decision about when to create by-id or by-path persistent rules should
be made in the generator rules file where it's obvious and easy to modify
locally, not in the script.

16 years agorelease 114
Kay Sievers [Sun, 5 Aug 2007 12:08:47 +0000 (14:08 +0200)]
release 114

16 years agorules: Gentoo update
Matthias Schwarzott [Thu, 2 Aug 2007 22:06:00 +0000 (00:06 +0200)]
rules: Gentoo update

16 years agowrite changed network interface names to the kernel log
Kay Sievers [Thu, 2 Aug 2007 21:54:10 +0000 (23:54 +0200)]
write changed network interface names to the kernel log

16 years agorules_generator: skip random MAC addresses
Kay Sievers [Thu, 2 Aug 2007 19:19:41 +0000 (21:19 +0200)]
rules_generator: skip random MAC addresses

16 years agorules: Fedora update
Kay Sievers [Tue, 31 Jul 2007 11:15:17 +0000 (13:15 +0200)]
rules: Fedora update

16 years agorules: add "do not edit" comment
Kay Sievers [Tue, 31 Jul 2007 11:14:04 +0000 (13:14 +0200)]
rules: add "do not edit" comment

Default udev rules are not system configuration for users to edit,
we need to be able to replace them with a package update. Custom rules
have to go into their own files.

16 years agorules: Fedora update
Kay Sievers [Fri, 27 Jul 2007 23:07:49 +0000 (01:07 +0200)]
rules: Fedora update

16 years agorules: update SUSE
Kay Sievers [Fri, 27 Jul 2007 01:39:43 +0000 (03:39 +0200)]
rules: update SUSE

16 years agoudevtrigger: trigger "driver" events
Kay Sievers [Fri, 27 Jul 2007 01:34:31 +0000 (03:34 +0200)]
udevtrigger: trigger "driver" events

16 years agofix inotify to work not only once
Matthias Schwarzott [Thu, 26 Jul 2007 11:04:13 +0000 (13:04 +0200)]
fix inotify to work not only once

16 years agorules_generator: remove "installation" function
Kay Sievers [Wed, 25 Jul 2007 16:16:11 +0000 (18:16 +0200)]
rules_generator: remove "installation" function

This should be called by triggering events not by looping with
the script itself. It also keeps a second blacklist outside of
the rules which we do not want to maintain.

16 years agorules_generator: add S/390 persistent network support
Hannes Reinecke [Wed, 25 Jul 2007 13:42:39 +0000 (15:42 +0200)]
rules_generator: add S/390 persistent network support

16 years agorestore behavior of NAME==
Kay Sievers [Wed, 25 Jul 2007 13:29:14 +0000 (15:29 +0200)]
restore behavior of NAME==

16 years agoadd $driver subtitution
Hannes Reinecke [Wed, 25 Jul 2007 13:24:58 +0000 (15:24 +0200)]
add $driver subtitution

16 years agoMakefile: add --as-needed flag to ld
Kay Sievers [Wed, 25 Jul 2007 13:19:32 +0000 (15:19 +0200)]
Makefile: add --as-needed flag to ld

16 years agorules: Gentoo update
Matthias Schwarzott [Tue, 24 Jul 2007 16:22:02 +0000 (18:22 +0200)]
rules: Gentoo update

16 years agocollect: extra to synchronize actions across events
Hannes Reinecke [Tue, 24 Jul 2007 11:28:18 +0000 (13:28 +0200)]
collect: extra to synchronize actions across events

16 years agolibvolume_id: use /usr/$libdir in pc file
Kay Sievers [Sun, 22 Jul 2007 17:58:04 +0000 (19:58 +0200)]
libvolume_id: use /usr/$libdir in pc file

16 years agoMakefile: add "make dist" for nightly snapshots
Richard Hughes [Sat, 21 Jul 2007 22:09:19 +0000 (00:09 +0200)]
Makefile: add "make dist" for nightly snapshots

16 years agoallow SYMLINK== match
Kay Sievers [Mon, 16 Jul 2007 11:29:28 +0000 (13:29 +0200)]
allow SYMLINK== match

16 years agohandle dynamic rules created in /dev/.udev/rules.d/
Kay Sievers [Sun, 15 Jul 2007 17:10:06 +0000 (19:10 +0200)]
handle dynamic rules created in /dev/.udev/rules.d/

16 years agoname_list: rename loop_name -> name_loop
Kay Sievers [Sun, 15 Jul 2007 17:01:01 +0000 (19:01 +0200)]
name_list: rename loop_name -> name_loop

16 years agorules: SUSE update
Kay Sievers [Sat, 14 Jul 2007 19:01:51 +0000 (21:01 +0200)]
rules: SUSE update

16 years agomove udev_utils_run.c into udev_rules.c
Kay Sievers [Sat, 14 Jul 2007 18:59:03 +0000 (20:59 +0200)]
move udev_utils_run.c into udev_rules.c

16 years agoadd udev_rules_run() to handle RUN list
Kay Sievers [Sat, 14 Jul 2007 18:44:19 +0000 (20:44 +0200)]
add udev_rules_run() to handle RUN list

16 years agouse global udev_log variable instead of parameter in run_program
Kay Sievers [Sat, 14 Jul 2007 18:43:43 +0000 (20:43 +0200)]
use global udev_log variable instead of parameter in run_program

16 years agoadd option to RUN key to ignore the return value of the program
Kay Sievers [Sat, 14 Jul 2007 18:43:01 +0000 (20:43 +0200)]
add option to RUN key to ignore the return value of the program

16 years agoudevtrigger: allow to specify action string
Kay Sievers [Mon, 9 Jul 2007 01:59:08 +0000 (03:59 +0200)]
udevtrigger: allow to specify action string

16 years agovolume_id: ext4 detection
Kay Sievers [Sun, 8 Jul 2007 15:25:55 +0000 (17:25 +0200)]
volume_id: ext4 detection

16 years agorules: SUSE update
Kay Sievers [Thu, 5 Jul 2007 20:48:36 +0000 (22:48 +0200)]
rules: SUSE update

16 years agoalways unlink temporary file before creating new one
Kay Sievers [Mon, 25 Jun 2007 14:03:11 +0000 (16:03 +0200)]
always unlink temporary file before creating new one

16 years agorules_generator: remove executable flag from include file
Kay Sievers [Mon, 25 Jun 2007 14:02:38 +0000 (16:02 +0200)]
rules_generator: remove executable flag from include file

16 years agorelease 113
Kay Sievers [Sat, 23 Jun 2007 15:44:48 +0000 (17:44 +0200)]
release 113

16 years agoudevd: do not use syslog if --verbose (debugging) is used
Kay Sievers [Sat, 23 Jun 2007 15:35:37 +0000 (17:35 +0200)]
udevd: do not use syslog if --verbose (debugging) is used

16 years agono newline in log messages
Kay Sievers [Sat, 23 Jun 2007 14:21:47 +0000 (16:21 +0200)]
no newline in log messages

16 years agoallow to disable the replacement of unusual characters
Kay Sievers [Thu, 21 Jun 2007 23:27:02 +0000 (01:27 +0200)]
allow to disable the replacement of unusual characters

16 years agoMakefile: check for missing ChangeLog or RELEASE-NOTES at release
Kay Sievers [Thu, 21 Jun 2007 09:41:41 +0000 (11:41 +0200)]
Makefile: check for missing ChangeLog or RELEASE-NOTES at release

16 years agorules: SUSE update
Kay Sievers [Thu, 21 Jun 2007 09:40:23 +0000 (11:40 +0200)]
rules: SUSE update

16 years agoinfo() for ignore_remove
Kay Sievers [Thu, 21 Jun 2007 09:40:07 +0000 (11:40 +0200)]
info() for ignore_remove

16 years agodo not try to create existing file
Kay Sievers [Thu, 21 Jun 2007 07:00:35 +0000 (09:00 +0200)]
do not try to create existing file

16 years agoatomically replace existing nodes and symlinks
Kay Sievers [Thu, 21 Jun 2007 00:28:09 +0000 (02:28 +0200)]
atomically replace existing nodes and symlinks

Based on a patch from Scott James Remnant <scott@ubuntu.com>.

16 years agorules: SUSE update
Kay Sievers [Thu, 21 Jun 2007 00:15:45 +0000 (02:15 +0200)]
rules: SUSE update

16 years agorules: recognize partitions and disk devices properly
Kay Sievers [Thu, 21 Jun 2007 00:15:17 +0000 (02:15 +0200)]
rules: recognize partitions and disk devices properly

16 years agomake ATTR{[$SUBSYSTEM/$KERNEL]<attr>}="<value>" working
Kay Sievers [Sun, 10 Jun 2007 21:53:40 +0000 (23:53 +0200)]
make ATTR{[$SUBSYSTEM/$KERNEL]<attr>}="<value>" working

16 years agofix typo in udev_utils_run.c
Tobias Klauser [Sat, 9 Jun 2007 17:18:46 +0000 (19:18 +0200)]
fix typo in udev_utils_run.c

16 years agovol_id: do not fail if unable to drop privileges
David Zeuthen [Wed, 6 Jun 2007 22:56:20 +0000 (00:56 +0200)]
vol_id: do not fail if unable to drop privileges

16 years agoadd missing ChangeLog
Kay Sievers [Mon, 4 Jun 2007 13:48:24 +0000 (15:48 +0200)]
add missing ChangeLog

16 years agorelease 112
Kay Sievers [Mon, 4 Jun 2007 13:05:23 +0000 (15:05 +0200)]
release 112

16 years agorules: SUSE update
Kay Sievers [Mon, 4 Jun 2007 13:05:12 +0000 (15:05 +0200)]
rules: SUSE update

16 years agosysfs: skip unknown sysfs directories
Kay Sievers [Mon, 4 Jun 2007 09:20:18 +0000 (11:20 +0200)]
sysfs: skip unknown sysfs directories

16 years agosysfs: handle bus/class top-level directories
Kay Sievers [Mon, 4 Jun 2007 08:50:05 +0000 (10:50 +0200)]
sysfs: handle bus/class top-level directories

16 years agoadd "[$SUBSYSTEM/$KERNEL]<attribute>" lookup
Kay Sievers [Sun, 3 Jun 2007 10:29:46 +0000 (12:29 +0200)]
add "[$SUBSYSTEM/$KERNEL]<attribute>" lookup

16 years agoadd TEST=="<file>" key
Kay Sievers [Sat, 2 Jun 2007 22:01:46 +0000 (00:01 +0200)]
add TEST=="<file>" key

16 years agoadd $sys substitution
Kay Sievers [Sat, 2 Jun 2007 20:06:01 +0000 (22:06 +0200)]
add $sys substitution

16 years agosysfs: change order of subsystem lookup
Kay Sievers [Sat, 2 Jun 2007 20:00:10 +0000 (22:00 +0200)]
sysfs: change order of subsystem lookup

16 years agoudevtest: add --subsystem option
Kay Sievers [Sat, 2 Jun 2007 08:14:50 +0000 (10:14 +0200)]
udevtest: add --subsystem option

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

16 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

16 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{}

16 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

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

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

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

16 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

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

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

16 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

16 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

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

16 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

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

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

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

16 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

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

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

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

16 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

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

16 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

16 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

16 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

16 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

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

16 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

16 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

16 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