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

2373 Commits

Author SHA1 Message Date
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
Kay Sievers
ca0ac81f36 write "event_timeout" to db 2008-04-21 20:22:56 +02:00
Kay Sievers
bf50425b58 add OPTIONS+="event_timeout=<seconds>" 2008-04-21 19:00:54 +02:00
Kay Sievers
6b795c99e0 fstab_import: add program to IMPORT matching fstab entry
DEVPATH=/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda6
  SUBSYSTEM=block
  ...
  ID_FS_USAGE=filesystem
  ID_FS_TYPE=ext3
  ID_FS_VERSION=1.0
  ...
  FSTAB_NAME=/dev/disk/by-id/scsi-SATA_ST910021AS_3MH0Y3KF-part6
  FSTAB_DIR=/home/kay/work
  FSTAB_TYPE=ext3
  FSTAB_OPTS=defaults
  FSTAB_FREQ=1
  FSTAB_PASSNO=1
2008-04-21 18:07:05 +02:00
Kay Sievers
927e994219 add $links substitution 2008-04-21 17:43:12 +02:00
Kay Sievers
953080abd9 cdrom_id: add more help text 2008-04-21 17:41:39 +02:00
Damjan Georgievski
be9c76b434 libvolume_id: recognize swap partitions with a tuxonice hibernate image 2008-04-21 12:44:25 +02:00
Kay Sievers
41677cf51f persistent device naming: also read unpartitioned media 2008-04-20 21:15:00 +02:00
Kay Sievers
803ac7a6d8 scsi_id: initialize serial strings 2008-04-20 21:08:45 +02:00
Kay Sievers
c70560feef logging: add trailing newline to all strings 2008-04-20 21:07:06 +02:00
Kay Sievers
1d918b50cd path_id: remove subsystem whitelist 2008-04-18 21:08:07 +02:00
Kay Sievers
cf100ca71b allow setting of MODE="0000" 2008-04-18 21:07:29 +02:00
Kay Sievers
4278ab015d selinux: fix missing includes 2008-04-17 23:31:09 +02:00
Harald Hoyer
6056d9b340 selinux: more context settings
Signed-off-by: Harald Hoyer <harald@redhat.com>
2008-04-17 19:07:24 +02:00
Kay Sievers
e6d70ed63a rules_generator: net rules - always add KERNEL== match to generated rules 2008-04-15 00:21:51 +02:00
Kay Sievers
798d7ab60c udevd: at startup write message including version number to kernel log 2008-04-10 21:35:40 +02:00
Kay Sievers
fd7a285e62 cdrom_id: replace with version which also exports media properties
This is a 12 track audio CD with additional data session:
  $ extras/cdrom_id/cdrom_id /dev/dvd
  ID_CDROM=1
  ID_CDROM_CD_R=1
  ID_CDROM_CD_RW=1
  ID_CDROM_DVD=1
  ID_CDROM_DVD_R=1
  ID_CDROM_DVD_RW=1
  ID_CDROM_DVD_RAM=1
  ID_CDROM_DVD_PLUS_R=1
  ID_CDROM_DVD_PLUS_RW=1
  ID_CDROM_DVD_PLUS_R_DL=1
  ID_CDROM_MEDIA_CD=1
  ID_CDROM_MEDIA_STATE=complete
  ID_CDROM_MEDIA_HAS_AUDIO=1
  ID_CDROM_MEDIA_SESSION_COUNT=2
  ID_CDROM_MEDIA_TRACK_COUNT=13
  ID_CDROM_MEDIA_SESSION_LAST_OFFSET=444508160
2008-04-09 23:17:39 +02:00
Kay Sievers
8b5238670d vol_id: add --offset option 2008-04-09 12:35:03 +02:00
Kay Sievers
573bdd7e75 udevinfo: do not replace chars when printing ATTR== matches 2008-04-07 01:57:31 +02:00
Daniel Drake
8c1711dcd0 writing udev rules: fix rule typos 2008-04-06 07:12:20 +02:00
Kay Sievers
cb0b4b70dd release 120 2008-04-03 21:12:53 +02:00
Kay Sievers
1ed38f4174 persistent device naming: cleanup storage rules 2008-04-03 21:05:19 +02:00
Kay Sievers
c7969cdbcb also accept real socket files for RUN+="socket:<path>" 2008-04-02 04:43:25 +02:00
Michael Kralka
c3b145a381 udevd: serialize events if they refer to the same major:minor number 2008-04-02 04:32:17 +02:00
Kay Sievers
bdfcd07587 udevadm: trigger - fix --socket== + --verbose 2008-03-29 17:20:34 +01:00
Kay Sievers
52434fb98b udevadm: trigger - fix broken socket option check 2008-03-29 17:16:41 +01:00
Kay Sievers
e18bd73b72 udevadm: remove old man page links and compat links for debugging tools 2008-03-29 16:29:36 +01:00
Kay Sievers
e7e194a088 udevadm: info - resolve devpath if symlink is given 2008-03-29 16:12:41 +01:00
Kay Sievers
ab815cae7f udevadm: trigger - option to synthesize events and pass them to a socket 2008-03-27 00:58:20 +01:00
Kay Sievers
ddf9cacf61 rules: remove last WAIT_FOR_SYSFS, load ppdev, switch scsi_device 2008-03-25 13:32:22 +01:00
Kay Sievers
15015a5c9c test: remove duplicated EXTRA entry 2008-03-21 04:03:24 +01:00
Kay Sievers
65e9e8c5e8 release 119 2008-03-15 00:05:02 +01:00
Roy Marples
064360cde8 Makefile: do not require GNU install 2008-03-15 00:02:39 +01:00
Kay Sievers
0ea5e96edb extend hack to allow TEST=="*/start" 2008-03-14 23:40:06 +01:00
Kay Sievers
544c2923db sysfs: depend on "subsystem" link 2008-03-14 23:32:45 +01:00
Kay Sievers
caea9fcf56 test: add "subsystem" links to all devices 2008-03-14 23:19:12 +01:00
Kay Sievers
58cfbcaea1 persistent device naming: also run on "change" event 2008-03-14 23:18:19 +01:00
Kay Sievers
9138bcba99 rules_generator: add KERNEL=="<netifname>*" to generated rules
Some boxes, like the PS3, have multiple independent hardware
interfaces, all sharing the same MAC address. If they have
different interface names base names, we can distinguish them
that way.
2008-03-13 16:31:14 +01:00
Kay Sievers
5ee7ecfb0f hack to allow ATTR{block/*/uevent}="change" 2008-03-13 16:00:25 +01:00
Harald Hoyer
025d3cc960 rules: do not set GROUP="disk" for scanners 2008-03-13 15:59:02 +01:00
Harald Hoyer
0d57399d92 rules: Fedora update 2008-03-13 15:57:33 +01:00
Kay Sievers
35ea39e277 selinux: set context for real file name not the temp name 2008-03-13 15:54:21 +01:00
Matthias Schwarzott
44d01dced1 volume_id: respect LDFLAGS 2008-02-21 12:28:45 +01:00