1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-11-01 09:21:11 +03:00
Commit Graph

2441 Commits

Author SHA1 Message Date
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
Kay Sievers
c986ca557d release 124 2008-06-12 07:24:30 +02:00
Kay Sievers
9bbdf6eb3c cdrom_id: fix recognition of blank media
Thanks to David!
2008-06-12 07:20:14 +02:00
Kay Sievers
2c0644c1c2 release 123 2008-06-12 00:08:43 +02:00
Erik van Konijnenburg
0c6ecdfd9f volume_id: support for oracleasm 2008-06-11 23:54:56 +02:00
Harald Hoyer
1ecb086460 scsi_id: retry open() on -EBUSY 2008-06-11 23:26:18 +02:00
Kay Sievers
ec404619a6 cdrom_id: export ID_CDROM_MEDIA_TRACK_COUNT_AUDIO=, ID_CDROM_MEDIA_TRACK_COUNT_DATA=
Iterate over all tracks, instead of looking only at the first
one for audio. Thanks to David!
2008-06-11 23:24:13 +02:00
Xinwei Hu
0f624f1609 udevd: export .udev/queue/$seqnum before .udev/uevent_seqnum 2008-05-30 09:43:58 +02:00
Karel Zak
2f2f54c514 volume_id: enable GFS probing code, add LABEL support
* enables GFS/GFS2 probing code (it's disabled now!)

 * adds support for LABELs -- it seems that locktable name is usable as
   a LABEL (at least according to libblkid).

 * removes extra check of sb_header.mh_format -- nothing in kernel and
   blkid checks this superblock entry. It seems that check GFS_MAGIC and
   GFS_METATYPE_SB is enough.

Signed-off-by: Karel Zak <kzak@redhat.com>
2008-05-28 20:07:17 +02:00
Michal Soltys
bbf1599bb5 man: add NAME== match entry 2008-05-28 17:20:07 +02:00
Xinwei Hu
b5254b4203 collect: realloc buffer, if needed 2008-05-27 19:35:03 +02:00
Karel Zak
2aae673c96 volume_id: remove unnecessary global variable
Signed-off-by: Karel Zak <kzak@redhat.com>
2008-05-27 01:41:41 +02:00
Kay Sievers
941d40a074 rules: persistent net - handle "locally administered" ibmveth MAC addresses 2008-05-26 17:11:13 +02:00
Kay Sievers
2e6a862a4d rules: tape rules - use bsg device nodes for SG_IO 2008-05-20 15:11:01 +02:00