chiark / gitweb /
elogind.git
15 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.

15 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

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

15 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

15 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>
15 years agorelease 121
Kay Sievers [Fri, 9 May 2008 07:22:23 +0000 (09:22 +0200)]
release 121

15 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.

15 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. :)

15 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}==

16 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

16 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>

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

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

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

16 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

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

16 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

16 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

16 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

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

16 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

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

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

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

16 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>
16 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

16 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

16 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

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

16 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

16 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

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

16 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

16 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>"

16 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

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

16 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

16 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

16 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

16 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

16 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

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

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

16 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

16 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"

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

16 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

16 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

16 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.

16 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"

16 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

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

16 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

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

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

16 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>
16 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=

16 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>
16 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

16 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"

16 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

16 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.

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

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

16 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.

16 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

16 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

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

16 years agovolume_id: md - add metadata minor version
Kay Sievers [Fri, 7 Dec 2007 16:26:15 +0000 (17:26 +0100)]
volume_id: md - add metadata minor version

Thanks to Hannes.

16 years agorules: add AOE rule
Kay Sievers [Fri, 7 Dec 2007 16:20:10 +0000 (17:20 +0100)]
rules: add AOE rule

16 years agodoc: update "writing udev rules"
Daniel Drake [Mon, 3 Dec 2007 18:04:32 +0000 (19:04 +0100)]
doc: update "writing udev rules"

16 years agolibvolume_id: squashfs - add endianess support for LZMA compression
Kay Sievers [Mon, 26 Nov 2007 00:09:03 +0000 (01:09 +0100)]
libvolume_id: squashfs - add endianess support for LZMA compression

16 years agolibvolume_id: squashfs+LZMA compression detection
Michael Prokop [Mon, 26 Nov 2007 00:03:08 +0000 (01:03 +0100)]
libvolume_id: squashfs+LZMA compression detection

16 years agoman: udevadm settle - mention 180 seconds default timeout
Kay Sievers [Thu, 22 Nov 2007 22:49:30 +0000 (23:49 +0100)]
man: udevadm settle - mention 180 seconds default timeout

Based on a patch from Jonas Meurer. Thanks!

16 years agorules_generator: do not create rules with insufficient matches
Kay Sievers [Tue, 20 Nov 2007 17:18:03 +0000 (18:18 +0100)]
rules_generator: do not create rules with insufficient matches

Thanks to Alexander E. Patrakov for pointing out that we create
invalid rules.

We still need a proper fix for devices we skip creating rules
(locally administered MAC), but want to swap names with interface
names we created rules for.

16 years agoremove udevstart
Kay Sievers [Tue, 13 Nov 2007 22:44:12 +0000 (23:44 +0100)]
remove udevstart

16 years agorelease 117
Kay Sievers [Tue, 13 Nov 2007 19:47:34 +0000 (20:47 +0100)]
release 117

16 years agorules: Gentoo update
Matthias Schwarzott [Sat, 10 Nov 2007 15:17:47 +0000 (16:17 +0100)]
rules: Gentoo update

16 years agoudevadm: control - allow command to be passed as option
Kay Sievers [Fri, 9 Nov 2007 18:30:12 +0000 (19:30 +0100)]
udevadm: control - allow command to be passed as option

16 years agoman: udevd.8 - remove udevcontrol section
Kay Sievers [Fri, 9 Nov 2007 16:55:45 +0000 (17:55 +0100)]
man: udevd.8 - remove udevcontrol section

16 years agoudevadm: also return major==0 results for --device-id-of-file
Kay Sievers [Fri, 9 Nov 2007 16:05:34 +0000 (17:05 +0100)]
udevadm: also return major==0 results for --device-id-of-file

16 years agoMakefile: fix bogus version number than got committed
Kay Sievers [Fri, 9 Nov 2007 14:13:25 +0000 (15:13 +0100)]
Makefile: fix bogus version number than got committed

16 years agoudevadm: add info option --device-id-of-file=<file>
Kay Sievers [Fri, 9 Nov 2007 09:22:30 +0000 (10:22 +0100)]
udevadm: add info option --device-id-of-file=<file>

Now, that udevinfo is no longer in /usr, we can add this:

  $ udevadm info --device-id-of-file=/
  8 5

to create a dynamic rule to provide /dev/root.

16 years agoman: fix udevadm.8 typo
MUNEDA Takahiro [Fri, 9 Nov 2007 07:24:42 +0000 (16:24 +0900)]
man: fix udevadm.8 typo

Signed-off-by: MUNEDA Takahiro <muneda.takahiro@jp.fujitsu.com>
16 years agoudevadm: accept command as option, like --help, --version
Kay Sievers [Thu, 8 Nov 2007 23:49:50 +0000 (00:49 +0100)]
udevadm: accept command as option, like --help, --version

16 years agoudevadm: merge all udev tools into a single binary
Kay Sievers [Thu, 8 Nov 2007 16:51:59 +0000 (17:51 +0100)]
udevadm: merge all udev tools into a single binary

16 years agovolume_id: create relative symlink when $(libdir) = $(usrlibdir)
Dan Nicholson [Wed, 7 Nov 2007 23:14:39 +0000 (00:14 +0100)]
volume_id: create relative symlink when $(libdir) = $(usrlibdir)

16 years agoextras: ignore built and generated files
Dan Nicholson [Wed, 7 Nov 2007 23:13:40 +0000 (00:13 +0100)]
extras: ignore built and generated files

16 years agoudevinfo: exclude "uevent" file from --attribute-walk
Kay Sievers [Wed, 24 Oct 2007 14:51:33 +0000 (16:51 +0200)]
udevinfo: exclude "uevent" file from --attribute-walk

16 years agovolume_id: bump version
Kay Sievers [Wed, 24 Oct 2007 14:51:03 +0000 (16:51 +0200)]
volume_id: bump version

16 years agovolume_id: ntfs - rely on valid master file table
Kay Sievers [Tue, 23 Oct 2007 00:38:23 +0000 (02:38 +0200)]
volume_id: ntfs - rely on valid master file table

16 years agovolume_id: LUKS - export version
Kay Sievers [Wed, 17 Oct 2007 16:13:49 +0000 (18:13 +0200)]
volume_id: LUKS - export version

16 years agovolume_id: vfat - allow all possible sector sizes
Kay Sievers [Wed, 17 Oct 2007 15:59:27 +0000 (17:59 +0200)]
volume_id: vfat - allow all possible sector sizes

  https://bugs.launchpad.net/bugs/147807

16 years agofirmware: do not print error if logger is missing
Kay Sievers [Mon, 15 Oct 2007 22:54:14 +0000 (00:54 +0200)]
firmware: do not print error if logger is missing

16 years agofirmware: remove hardcoded path to logger
Matthias Schwarzott [Mon, 15 Oct 2007 22:50:48 +0000 (00:50 +0200)]
firmware: remove hardcoded path to logger

16 years agorules: Frugalware update
VMiklos [Mon, 15 Oct 2007 21:56:12 +0000 (23:56 +0200)]
rules: Frugalware update

16 years agorules: SUSE update
Kay Sievers [Mon, 15 Oct 2007 21:53:48 +0000 (23:53 +0200)]
rules: SUSE update

Thanks to Bryan Kadzban and Matthias Schwarzott for checking the rules.

16 years agousb_id: fail if vendor/product can not be retrieved
Kay Sievers [Mon, 15 Oct 2007 18:38:20 +0000 (20:38 +0200)]
usb_id: fail if vendor/product can not be retrieved

Thanks to Daniel Drake for identifying the bug.

16 years agorelease 116
Kay Sievers [Sun, 14 Oct 2007 13:17:32 +0000 (15:17 +0200)]
release 116

16 years agorules: fix typos
Bryan Kadzban [Sun, 14 Oct 2007 12:48:14 +0000 (14:48 +0200)]
rules: fix typos