Commit graph

2454 commits

Author SHA1 Message Date
Karel Zak a3b55b1c47 build-sys: don't duplicate file names
Almost all filenames in udev/Makefile.am are duplicated in
{udevd,udevadm,test_udev}_SOURCE lists.

Signed-off-by: Karel Zak <kzak@redhat.com>
2008-08-13 11:12:53 +02:00
Kay Sievers e231a5db51 add some warnings 2008-08-12 11:19:32 +02:00
Kay Sievers b7ec267e17 add missing includes 2008-08-12 11:18:39 +02:00
Kay Sievers 21a6e5940d rules: Gentoo update 2008-08-11 16:55:38 +02:00
Kay Sievers 88591d5543 rules: add isdn rules 2008-08-11 10:34:36 +02:00
Kay Sievers 3870186374 rules: add nvram 2008-08-11 10:34:18 +02:00
Kay Sievers 6c84234d26 rules: delete all distro rules which do not use default rules 2008-08-09 22:06:59 +02:00
Kay Sievers 88db390557 fix .gitignore 2008-08-09 14:05:54 +02:00
Kay Sievers 8ef5af2db8 ignore duplicated rules file names 2008-08-09 14:05:01 +02:00
Kay Sievers 661c67953d udevadm: trigger - add missing attr filter to synthesized "subsystem" register events 2008-08-08 22:39:32 +02:00
Kay Sievers 72a157b9ad build: remove autopoint check 2008-08-08 22:38:46 +02:00
Kay Sievers 6b8c150e12 add inotify dummy definitions if inotify is not available 2008-08-08 22:36:58 +02:00
Kay Sievers 58a6308887 release 126 2008-08-02 10:51:23 +02:00
Kay Sievers f755fd5657 rules: run vol_id on opticals only if media is found
Opening an optical drive device node without O_NONBLOCK autocloses the
tray, we run vol_id on every media change by kernel emitted "change"
events, which can make it hard to change the media when the tray closes
immediatey again.:) We check for cdrom_id to indicate an existing track,
if no media is found, we will not open the device with vol_id.

Thanks to Christian Krause and DavidZ for debugging and testing.
2008-08-02 10:26:48 +02:00
Marco d'Itri e8e9cd5d73 rules: Debian update 2008-07-31 10:29:39 +02:00
Kay Sievers 4337f8fcf1 volume_id: create relative links 2008-07-30 15:50:12 +02:00
Kay Sievers 4cf46e2c02 volume_id: move static lib to $prefix 2008-07-30 14:45:43 +02:00
Kay Sievers 47b0c35095 INSTALL: --enable-selinux not --with-selinux 2008-07-30 13:57:51 +02:00
Kay Sievers e1b802a7db update ChangeLog 2008-07-30 13:38:53 +02:00
Kay Sievers 75d7bb02bf rules: update Fedora rules 2008-07-30 13:21:20 +02:00
Kay Sievers f63dc3b74f rules: mode 0660 for group "disk" 2008-07-30 13:20:31 +02:00
Kay Sievers 01618658fd use autotools 2008-07-30 01:45:23 +02:00
Kay Sievers 726687ad48 delete all Makefiles and move udev source to udev/ 2008-07-30 00:39:15 +02:00
Thomas Koeller aa5e29a581 use proper directory lib/lib64 for libvolume_id 2008-07-22 15:57:40 +02:00
Kay Sievers 05b9640022 release 125 2008-07-18 16:26:55 +02:00
Marco d'Itri 655a8acf92 ignore rule with GOTO to a non-existent label 2008-07-18 16:22:26 +02:00
Kay Sievers 282988c4f8 move default rules from /etc/udev/rules.d/ to /lib/udev/rules.d/
None of these rules is supposed to be changed by users, so move
them out of /etc. Custom rules, and automatically generated rules
stay in /etc. All rules are still processed in lexical order,
regardless which directory they live in.
2008-07-18 15:56:03 +02:00
Marco d'Itri 41dd741442 rules: Debian update 2008-07-15 11:56:42 +02:00
Kay Sievers d1acfc3e0a udevadm: info - add --export format to --device-id-of-file=
$ udevadm info --export --export-prefix="ROOT_" --device-id-of-file=/
  ROOT_MAJOR=8
  ROOT_MINOR=5
2008-07-15 11:54:18 +02:00
Marco d'Itri ad1be3e7ad rules: Debian update 2008-07-11 10:27:55 +02:00
Kay Sievers 98d8d24bcc rules: tape rules - add nst to by-path/ links 2008-07-11 09:53:33 +02:00
John Huttley 676229f136 rules: tape rules - add nst to usb and 1394 links 2008-07-11 09:26:04 +02:00
Marco d'Itri 5dabec2a74 udevadm: settle - add verbose output when running into timeout 2008-07-11 00:52:22 +02:00
Kay Sievers 0cd9f451ab do not touch node ownership and permissions, if already correct
In some cases "change" events reapplied node permissions which
changed applied ACL's. So, preserve permissions if already correct.
2008-07-10 23:54:28 +02:00
Kay Sievers a2e657ff26 man: rebuild from xml 2008-07-10 23:53:54 +02:00
Kay Sievers 05364975af scsi_id: the fallback fix broke error handling 2008-07-10 22:22:10 +02:00
Marco d'Itri 52b375bc3b scsi_id: man page fix
minus signs need to be escaped and the program is not in the $PATH anymore
2008-07-10 00:17:24 +02:00
Marco d'Itri ca1ac34daa man: add link_priority default value 2008-07-10 00:11:05 +02:00
Thomas Koeller 629e57e0d4 scsi_id: include sys/stat.h
I could not build scsi_id because of a missing #include
for sys/stat.h, so I had to add that.

Signed-off-by: Thomas Koeller <thomas@koeller.dyndns.org>
2008-07-10 00:08:32 +02:00
Kay Sievers 3c35425071 rules: use consistently OPTIONS+=
Thanks to Marco for the pointer.
2008-07-09 23:50:46 +02:00
Marco d'Itri 03effd3bc9 rules_generator: net rules - do not print error if file is missing and ignore commented rules
Fix an error message displayed by write_net_rules when the rules file
does not exist yet. (See Debian bugs #442796 and #475699.)

Ignore commented rules, at least for the easy case.
For clarity, use extended instead of standard regular expressions.
2008-07-07 14:32:33 +02:00
Kay Sievers 9d2a06d7c6 udev.conf: udevcontrol -> udevadm control
Thanks to Marco for pointing that out.
2008-07-07 11:20:46 +02:00
Kay Sievers 66e056f5e7 rules: fix cciss rules for partition numbers > 9 2008-07-07 11:20:02 +02:00
Kay Sievers 24dabba541 scsi_id: fix fallback to sg v3 for sg nodes 2008-07-07 11:18:49 +02:00
Karl O. Pinc 01e8dd08ef man: clarify $attr{} parent searching 2008-07-02 10:20:58 +02:00
Kay Sievers 8bf875ff28 docs: update some docs and delete outdated stuff 2008-06-26 18:12:50 +02:00
Kay Sievers ec9611ddb5 rules: add v4l persistent links
Maybe we will have this working, finally. Thanks to Kees and Brandon.
2008-06-26 17:28:13 +02:00
Kay Sievers dad1f0924b path_id: suppress trailing '-' like 'ID_PATH=pci-0000:05:01.0-' 2008-06-26 13:25:31 +02:00
Kay Sievers 7c389ce8a0 collect: fix size_t printf 2008-06-18 10:12:14 +02:00
Tobias Klauser 322fc7a636 collect: check realloc return value 2008-06-18 10:10:29 +02:00