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

2765 Commits

Author SHA1 Message Date
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
Kay Sievers
ea97dc3792 rename WAIT_FOR_SYSFS to WAIT_FOR and accept an absolute path
This allows us to watch any file to appear, not only sysfs
attributes. Files without a leading slash will be device sysfs
attributes. The key WAIT_FOR_SYSFS still works for backwards
compat, but is removed from the man page.
2008-05-20 15:02:17 +02:00
Kay Sievers
bc44071db2 edd_id: call it only for sd* and hd* 2008-05-20 08:46:29 +02:00
Erik van Konijnenburg
834dfd5537 Makefile: use udevdir in "make install" 2008-05-19 09:07:20 +02:00
Erik van Konijnenburg
ff94cec3d7 add substitution in MODE= field
Do substitition processing in MODE field, similar to substitution in
OWNER, GROUP etc fields.  Add test case for normal and overflow behaviour.
Document in manpage.
2008-05-19 09:05:20 +02:00
Kay Sievers
4e548559ba release 122 2008-05-17 16:29:07 +02:00
Kay Sievers
7652450a0a Makefile: do not create udevcontrol, udevtrigger symlinks 2008-05-17 16:19:46 +02:00
Kay Sievers
7031a67c95 volume_id: bump version 2008-05-17 16:19:12 +02:00
Kay Sievers
53ba69a0c2 scsi_id: add bsg.h 2008-05-16 12:52:42 +02:00
Matthias Schwarzott
4cd71da560 cdrom_id: fix segfault 2008-05-14 16:03:49 +02:00
Kay Sievers
788096cb59 rules: adapt tape rules to new scsi_id 2008-05-14 15:17:35 +02:00
Kay Sievers
3d2aed9e86 rules: adapt to new scsi_id 2008-05-14 15:14:23 +02:00
Kay Sievers
025570aa3e scsi_id: add --sg-version= option 2008-05-14 15:02:17 +02:00
Kay Sievers
2d05764a77 scsi_id: remove bus_id option 2008-05-14 13:59:25 +02:00
Kay Sievers
138cf75e4e scsi_id: update man page 2008-05-14 13:59:11 +02:00
Hannes Reinecke
78d9ecfd4f scsi_id: add SGv4 support
Fall back to SGv3, if SGv3 returns a failure/is not available.
2008-05-14 13:55:49 +02:00
Hannes Reinecke
753417db2b scsi_id: remove all sysfs dependencies 2008-05-14 13:42:41 +02:00
MUNEDA Takahiro
838436fa32 man: scsi_id 2008-05-14 04:47:33 +02:00
MUNEDA Takahiro
877bded34a man: udevd- fix udev(8) reference 2008-05-14 04:33:34 +02:00
Karel Zak
661a0bea80 volume_id: clean up linux_raid code
extra global and/or non-static variables suck in shared libraries
use "else if" rather than many "return" calls

Signed-off-by: Karel Zak <kzak@redhat.com>
2008-05-13 11:29:17 +02:00
Kay Sievers
8325c84dba release 121 2008-05-09 09:22:23 +02:00
Kay Sievers
f76f82f834 rules: update md rules
Activate the rule for autoassembly later.
The needed options are merged into mdadm git, but not released.
2008-05-09 09:05:42 +02:00
Kay Sievers
0654a21c78 persistent device naming: update tape rules
Thanks to John Huttley <John@mib-infotech.co.nz> for the fixes.
All new bugs are introduced by me. :)
2008-05-09 09:05:15 +02:00
Kay Sievers
4c46d72a93 udevadm: info - do not print ATTR{dev}== 2008-04-28 05:07:47 +02:00
David Woodhouse
8b6e9f287d rules_generator: net rules - add "dev_id" value to generated rules 2008-04-27 20:19:44 +02:00
Kay Sievers
d8a9d01704 udevadm: control - fix --env key to accept --env=<KEY>=<value> 2008-04-22 03:19:21 +02:00
Kay Sievers
7b2aad3343 udevadm: trigger - add --env= option 2008-04-22 03:01:29 +02:00