chiark / gitweb /
elogind.git
11 years agodocs: update some docs and delete outdated stuff
Kay Sievers [Thu, 26 Jun 2008 16:12:50 +0000 (18:12 +0200)]
docs: update some docs and delete outdated stuff

11 years agorules: add v4l persistent links
Kay Sievers [Thu, 26 Jun 2008 15:28:13 +0000 (17:28 +0200)]
rules: add v4l persistent links

Maybe we will have this working, finally. Thanks to Kees and Brandon.

11 years agopath_id: suppress trailing '-' like 'ID_PATH=pci-0000:05:01.0-'
Kay Sievers [Thu, 26 Jun 2008 11:25:31 +0000 (13:25 +0200)]
path_id: suppress trailing '-' like 'ID_PATH=pci-0000:05:01.0-'

11 years agocollect: fix size_t printf
Kay Sievers [Wed, 18 Jun 2008 08:12:14 +0000 (10:12 +0200)]
collect: fix size_t printf

11 years agocollect: check realloc return value
Tobias Klauser [Tue, 17 Jun 2008 22:47:33 +0000 (00:47 +0200)]
collect: check realloc return value

11 years agorelease 124
Kay Sievers [Thu, 12 Jun 2008 05:24:30 +0000 (07:24 +0200)]
release 124

11 years agocdrom_id: fix recognition of blank media
Kay Sievers [Thu, 12 Jun 2008 05:20:14 +0000 (07:20 +0200)]
cdrom_id: fix recognition of blank media

Thanks to David!

11 years agorelease 123
Kay Sievers [Wed, 11 Jun 2008 22:08:43 +0000 (00:08 +0200)]
release 123

11 years agovolume_id: support for oracleasm
Erik van Konijnenburg [Wed, 11 Jun 2008 19:36:57 +0000 (21:36 +0200)]
volume_id: support for oracleasm

11 years agoscsi_id: retry open() on -EBUSY
Harald Hoyer [Wed, 11 Jun 2008 21:26:18 +0000 (23:26 +0200)]
scsi_id: retry open() on -EBUSY

11 years agocdrom_id: export ID_CDROM_MEDIA_TRACK_COUNT_AUDIO=, ID_CDROM_MEDIA_TRACK_COUNT_DATA=
Kay Sievers [Wed, 11 Jun 2008 21:24:13 +0000 (23:24 +0200)]
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!

11 years agoudevd: export .udev/queue/$seqnum before .udev/uevent_seqnum
Xinwei Hu [Fri, 30 May 2008 07:43:58 +0000 (09:43 +0200)]
udevd: export .udev/queue/$seqnum before .udev/uevent_seqnum

11 years agovolume_id: enable GFS probing code, add LABEL support
Karel Zak [Wed, 28 May 2008 10:25:09 +0000 (12:25 +0200)]
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>
11 years agoman: add NAME== match entry
Michal Soltys [Wed, 28 May 2008 15:20:07 +0000 (17:20 +0200)]
man: add NAME== match entry

11 years agocollect: realloc buffer, if needed
Xinwei Hu [Tue, 27 May 2008 17:35:03 +0000 (19:35 +0200)]
collect: realloc buffer, if needed

11 years agovolume_id: remove unnecessary global variable
Karel Zak [Mon, 26 May 2008 22:51:17 +0000 (00:51 +0200)]
volume_id: remove unnecessary global variable

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agorules: persistent net - handle "locally administered" ibmveth MAC addresses
Kay Sievers [Mon, 26 May 2008 15:11:13 +0000 (17:11 +0200)]
rules: persistent net - handle "locally administered" ibmveth MAC addresses

11 years agorules: tape rules - use bsg device nodes for SG_IO
Kay Sievers [Tue, 20 May 2008 13:11:01 +0000 (15:11 +0200)]
rules: tape rules - use bsg device nodes for SG_IO

11 years agorename WAIT_FOR_SYSFS to WAIT_FOR and accept an absolute path
Kay Sievers [Tue, 20 May 2008 13:02:17 +0000 (15:02 +0200)]
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.

11 years agoedd_id: call it only for sd* and hd*
Kay Sievers [Tue, 20 May 2008 06:46:29 +0000 (08:46 +0200)]
edd_id: call it only for sd* and hd*

11 years agoMakefile: use udevdir in "make install"
Erik van Konijnenburg [Mon, 19 May 2008 07:07:20 +0000 (09:07 +0200)]
Makefile: use udevdir in "make install"

11 years agoadd substitution in MODE= field
Erik van Konijnenburg [Mon, 19 May 2008 07:05:20 +0000 (09:05 +0200)]
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.

11 years agorelease 122
Kay Sievers [Sat, 17 May 2008 14:29:07 +0000 (16:29 +0200)]
release 122

11 years agoMakefile: do not create udevcontrol, udevtrigger symlinks
Kay Sievers [Sat, 17 May 2008 14:19:46 +0000 (16:19 +0200)]
Makefile: do not create udevcontrol, udevtrigger symlinks

11 years agovolume_id: bump version
Kay Sievers [Sat, 17 May 2008 14:19:12 +0000 (16:19 +0200)]
volume_id: bump version

11 years agoscsi_id: add bsg.h
Kay Sievers [Fri, 16 May 2008 10:52:42 +0000 (12:52 +0200)]
scsi_id: add bsg.h

11 years agocdrom_id: fix segfault
Matthias Schwarzott [Wed, 14 May 2008 14:03:49 +0000 (16:03 +0200)]
cdrom_id: fix segfault

11 years agorules: adapt tape rules to new scsi_id
Kay Sievers [Wed, 14 May 2008 13:17:35 +0000 (15:17 +0200)]
rules: adapt tape rules to new scsi_id

11 years agorules: adapt to new scsi_id
Kay Sievers [Wed, 14 May 2008 13:14:23 +0000 (15:14 +0200)]
rules: adapt to new scsi_id

11 years agoscsi_id: add --sg-version= option
Kay Sievers [Wed, 14 May 2008 13:02:17 +0000 (15:02 +0200)]
scsi_id: add --sg-version= option

11 years agoscsi_id: remove bus_id option
Kay Sievers [Wed, 14 May 2008 11:59:25 +0000 (13:59 +0200)]
scsi_id: remove bus_id option

11 years agoscsi_id: update man page
Kay Sievers [Wed, 14 May 2008 11:59:11 +0000 (13:59 +0200)]
scsi_id:  update man page

11 years agoscsi_id: add SGv4 support
Hannes Reinecke [Wed, 14 May 2008 11:55:49 +0000 (13:55 +0200)]
scsi_id: add SGv4 support

Fall back to SGv3, if SGv3 returns a failure/is not available.

11 years agoscsi_id: remove all sysfs dependencies
Hannes Reinecke [Wed, 14 May 2008 11:42:41 +0000 (13:42 +0200)]
scsi_id: remove all sysfs dependencies

11 years agoman: scsi_id
MUNEDA Takahiro [Wed, 14 May 2008 02:47:33 +0000 (04:47 +0200)]
man: scsi_id

11 years agoman: udevd- fix udev(8) reference
MUNEDA Takahiro [Wed, 14 May 2008 02:33:34 +0000 (04:33 +0200)]
man: udevd- fix udev(8) reference

11 years agovolume_id: clean up linux_raid code
Karel Zak [Mon, 12 May 2008 22:55:53 +0000 (00:55 +0200)]
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>
11 years agorelease 121
Kay Sievers [Fri, 9 May 2008 07:22:23 +0000 (09:22 +0200)]
release 121

11 years agorules: update md rules
Kay Sievers [Fri, 9 May 2008 07:05:42 +0000 (09:05 +0200)]
rules: update md rules

Activate the rule for autoassembly later.
The needed options are merged into mdadm git, but not released.

11 years agopersistent device naming: update tape rules
Kay Sievers [Fri, 9 May 2008 07:05:15 +0000 (09:05 +0200)]
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. :)

11 years agoudevadm: info - do not print ATTR{dev}==
Kay Sievers [Mon, 28 Apr 2008 03:07:47 +0000 (05:07 +0200)]
udevadm: info - do not print ATTR{dev}==

11 years agorules_generator: net rules - add "dev_id" value to generated rules
David Woodhouse [Sun, 27 Apr 2008 18:19:44 +0000 (20:19 +0200)]
rules_generator: net rules - add "dev_id" value to generated rules

11 years agoudevadm: control - fix --env key to accept --env=<KEY>=<value>
Kay Sievers [Tue, 22 Apr 2008 01:19:21 +0000 (03:19 +0200)]
udevadm: control - fix --env key to accept --env=<KEY>=<value>

11 years agoudevadm: trigger - add --env= option
Kay Sievers [Tue, 22 Apr 2008 01:01:29 +0000 (03:01 +0200)]
udevadm: trigger - add --env= option

11 years agowrite "event_timeout" to db
Kay Sievers [Mon, 21 Apr 2008 18:22:56 +0000 (20:22 +0200)]
write "event_timeout" to db

11 years agoadd OPTIONS+="event_timeout=<seconds>"
Kay Sievers [Mon, 21 Apr 2008 17:00:54 +0000 (19:00 +0200)]
add OPTIONS+="event_timeout=<seconds>"

11 years agofstab_import: add program to IMPORT matching fstab entry
Kay Sievers [Mon, 21 Apr 2008 16:07:05 +0000 (18:07 +0200)]
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

11 years agoadd $links substitution
Kay Sievers [Mon, 21 Apr 2008 15:43:12 +0000 (17:43 +0200)]
add $links substitution

11 years agocdrom_id: add more help text
Kay Sievers [Mon, 21 Apr 2008 15:41:39 +0000 (17:41 +0200)]
cdrom_id: add more help text

11 years agolibvolume_id: recognize swap partitions with a tuxonice hibernate image
Damjan Georgievski [Mon, 21 Apr 2008 10:44:25 +0000 (12:44 +0200)]
libvolume_id: recognize swap partitions with a tuxonice hibernate image

11 years agopersistent device naming: also read unpartitioned media
Kay Sievers [Sun, 20 Apr 2008 19:15:00 +0000 (21:15 +0200)]
persistent device naming: also read unpartitioned media

11 years agoscsi_id: initialize serial strings
Kay Sievers [Sun, 20 Apr 2008 19:08:45 +0000 (21:08 +0200)]
scsi_id: initialize serial strings

11 years agologging: add trailing newline to all strings
Kay Sievers [Sun, 20 Apr 2008 19:07:06 +0000 (21:07 +0200)]
logging: add trailing newline to all strings

11 years agopath_id: remove subsystem whitelist
Kay Sievers [Fri, 18 Apr 2008 19:08:07 +0000 (21:08 +0200)]
path_id: remove subsystem whitelist

11 years agoallow setting of MODE="0000"
Kay Sievers [Fri, 18 Apr 2008 19:07:29 +0000 (21:07 +0200)]
allow setting of MODE="0000"

11 years agoselinux: fix missing includes
Kay Sievers [Thu, 17 Apr 2008 21:31:09 +0000 (23:31 +0200)]
selinux: fix missing includes

11 years agoselinux: more context settings
Harald Hoyer [Thu, 17 Apr 2008 14:03:03 +0000 (16:03 +0200)]
selinux: more context settings

Signed-off-by: Harald Hoyer <harald@redhat.com>
11 years agorules_generator: net rules - always add KERNEL== match to generated rules
Kay Sievers [Mon, 14 Apr 2008 22:21:51 +0000 (00:21 +0200)]
rules_generator: net rules - always add KERNEL== match to generated rules

11 years agoudevd: at startup write message including version number to kernel log
Kay Sievers [Thu, 10 Apr 2008 19:35:40 +0000 (21:35 +0200)]
udevd: at startup write message including version number to kernel log

11 years agocdrom_id: replace with version which also exports media properties
Kay Sievers [Wed, 9 Apr 2008 21:17:39 +0000 (23:17 +0200)]
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

11 years agovol_id: add --offset option
Kay Sievers [Wed, 9 Apr 2008 10:35:03 +0000 (12:35 +0200)]
vol_id: add --offset option

11 years agoudevinfo: do not replace chars when printing ATTR== matches
Kay Sievers [Sun, 6 Apr 2008 23:57:31 +0000 (01:57 +0200)]
udevinfo: do not replace chars when printing ATTR== matches

11 years agowriting udev rules: fix rule typos
Daniel Drake [Sun, 6 Apr 2008 05:12:20 +0000 (07:12 +0200)]
writing udev rules: fix rule typos

11 years agorelease 120
Kay Sievers [Thu, 3 Apr 2008 19:12:53 +0000 (21:12 +0200)]
release 120

11 years agopersistent device naming: cleanup storage rules
Kay Sievers [Thu, 3 Apr 2008 19:05:19 +0000 (21:05 +0200)]
persistent device naming: cleanup storage rules

11 years agoalso accept real socket files for RUN+="socket:<path>"
Kay Sievers [Wed, 2 Apr 2008 02:43:25 +0000 (04:43 +0200)]
also accept real socket files for RUN+="socket:<path>"

11 years agoudevd: serialize events if they refer to the same major:minor number
Michael Kralka [Wed, 2 Apr 2008 02:32:17 +0000 (04:32 +0200)]
udevd: serialize events if they refer to the same major:minor number

11 years agoudevadm: trigger - fix --socket== + --verbose
Kay Sievers [Sat, 29 Mar 2008 16:20:34 +0000 (17:20 +0100)]
udevadm: trigger - fix --socket== + --verbose

11 years agoudevadm: trigger - fix broken socket option check
Kay Sievers [Sat, 29 Mar 2008 16:16:41 +0000 (17:16 +0100)]
udevadm: trigger - fix broken socket option check

11 years agoudevadm: remove old man page links and compat links for debugging tools
Kay Sievers [Sat, 29 Mar 2008 15:29:36 +0000 (16:29 +0100)]
udevadm: remove old man page links and compat links for debugging tools

11 years agoudevadm: info - resolve devpath if symlink is given
Kay Sievers [Sat, 29 Mar 2008 15:12:41 +0000 (16:12 +0100)]
udevadm: info - resolve devpath if symlink is given

11 years agoudevadm: trigger - option to synthesize events and pass them to a socket
Kay Sievers [Wed, 26 Mar 2008 23:58:20 +0000 (00:58 +0100)]
udevadm: trigger - option to synthesize events and pass them to a socket

11 years agorules: remove last WAIT_FOR_SYSFS, load ppdev, switch scsi_device
Kay Sievers [Tue, 25 Mar 2008 12:32:22 +0000 (13:32 +0100)]
rules: remove last WAIT_FOR_SYSFS, load ppdev, switch scsi_device

11 years agotest: remove duplicated EXTRA entry
Kay Sievers [Fri, 21 Mar 2008 03:03:24 +0000 (04:03 +0100)]
test: remove duplicated EXTRA entry

11 years agorelease 119
Kay Sievers [Fri, 14 Mar 2008 23:05:02 +0000 (00:05 +0100)]
release 119

11 years agoMakefile: do not require GNU install
Roy Marples [Fri, 14 Mar 2008 23:02:39 +0000 (00:02 +0100)]
Makefile: do not require GNU install

11 years agoextend hack to allow TEST=="*/start"
Kay Sievers [Fri, 14 Mar 2008 22:40:06 +0000 (23:40 +0100)]
extend hack to allow TEST=="*/start"

11 years agosysfs: depend on "subsystem" link
Kay Sievers [Fri, 14 Mar 2008 22:32:45 +0000 (23:32 +0100)]
sysfs: depend on "subsystem" link

11 years agotest: add "subsystem" links to all devices
Kay Sievers [Fri, 14 Mar 2008 22:19:12 +0000 (23:19 +0100)]
test: add "subsystem" links to all devices

11 years agopersistent device naming: also run on "change" event
Kay Sievers [Fri, 14 Mar 2008 22:18:19 +0000 (23:18 +0100)]
persistent device naming: also run on "change" event

11 years agorules_generator: add KERNEL=="<netifname>*" to generated rules
Kay Sievers [Thu, 13 Mar 2008 15:31:14 +0000 (16:31 +0100)]
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.

11 years agohack to allow ATTR{block/*/uevent}="change"
Kay Sievers [Thu, 13 Mar 2008 15:00:25 +0000 (16:00 +0100)]
hack to allow ATTR{block/*/uevent}="change"

11 years agorules: do not set GROUP="disk" for scanners
Harald Hoyer [Thu, 13 Mar 2008 14:59:02 +0000 (15:59 +0100)]
rules: do not set GROUP="disk" for scanners

11 years agorules: Fedora update
Harald Hoyer [Thu, 13 Mar 2008 14:57:33 +0000 (15:57 +0100)]
rules: Fedora update

11 years agoselinux: set context for real file name not the temp name
Kay Sievers [Thu, 13 Mar 2008 14:54:21 +0000 (15:54 +0100)]
selinux: set context for real file name not the temp name

11 years agovolume_id: respect LDFLAGS
Matthias Schwarzott [Thu, 21 Feb 2008 11:28:45 +0000 (12:28 +0100)]
volume_id: respect LDFLAGS

11 years agovolume_id: update ext detection
Kay Sievers [Sat, 9 Feb 2008 11:17:32 +0000 (12:17 +0100)]
volume_id: update ext detection

11 years agovolume_id: fix typo in function documentation
Karel Zak [Wed, 23 Jan 2008 11:31:10 +0000 (12:31 +0100)]
volume_id: fix typo in function documentation

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agovolume_id: add prefix=, exec_prefix=
Neil Williams [Wed, 9 Jan 2008 21:36:36 +0000 (22:36 +0100)]
volume_id: add prefix=, exec_prefix=

11 years agovolume_id: fix UUID raw buffer usage
Karel Zak [Wed, 9 Jan 2008 14:13:38 +0000 (15:13 +0100)]
volume_id: fix UUID raw buffer usage

Signed-off-by: Karel Zak <kzak@redhat.com>
11 years agorules_generator: add missing write_net_rules unlock
Jiri Slaby [Mon, 31 Dec 2007 13:24:55 +0000 (14:24 +0100)]
rules_generator: add missing write_net_rules unlock

11 years agorules: remove tty rule which can never run because of an earlier "last_rule"
Kay Sievers [Sat, 29 Dec 2007 16:23:31 +0000 (17:23 +0100)]
rules: remove tty rule which can never run because of an earlier "last_rule"

11 years agodo not skip RUN execution if device node removal fails
Anthony L. Awtrey [Sat, 29 Dec 2007 16:19:06 +0000 (17:19 +0100)]
do not skip RUN execution if device node removal fails

11 years agoswitch mailing lists to linux-hotplug@vger.kernel.org
Kay Sievers [Thu, 27 Dec 2007 03:17:46 +0000 (04:17 +0100)]
switch mailing lists to linux-hotplug@vger.

11 years agorelease 118
Kay Sievers [Tue, 18 Dec 2007 23:50:56 +0000 (00:50 +0100)]
release 118

11 years agorules: Gentoo update
Matthias Schwarzott [Mon, 17 Dec 2007 16:58:21 +0000 (17:58 +0100)]
rules: Gentoo update

11 years agovolume_id: also add readable check to probe_all()
Kay Sievers [Mon, 17 Dec 2007 14:32:41 +0000 (15:32 +0100)]
volume_id: also add readable check to probe_all()

Otherwise probe_all will run two times into a timout, one
for the raid, and one for the filesystem probe. Thanks to
Tore Anderson for the debugging.

11 years agocreate_floppy_devices: fix logic for more than one floppy device
Kay Sievers [Mon, 17 Dec 2007 02:41:30 +0000 (03:41 +0100)]
create_floppy_devices: fix logic for more than one floppy device

11 years agovolume_id: run only once into a timeout for unreadable devices
Kay Sievers [Sun, 16 Dec 2007 18:56:04 +0000 (19:56 +0100)]
volume_id: run only once into a timeout for unreadable devices

11 years agovolume_id: LVM - add uuid
Hannes Reinecke [Sun, 16 Dec 2007 18:22:32 +0000 (19:22 +0100)]
volume_id: LVM - add uuid