chiark / gitweb /
elogind.git
16 years agovolume_id: add remaining names for prober lookup by type
Kay Sievers [Wed, 9 May 2007 14:06:15 +0000 (16:06 +0200)]
volume_id: add remaining names for prober lookup by type

16 years agorules: Gentoo update
Matthias Schwarzott [Wed, 9 May 2007 06:25:51 +0000 (08:25 +0200)]
rules: Gentoo update

16 years agovol_id: use libvolume_id prober list for --probe-all
Kay Sievers [Tue, 8 May 2007 18:00:02 +0000 (20:00 +0200)]
vol_id: use libvolume_id prober list for --probe-all

16 years agovolume_id: give access to list of all available probers
Kay Sievers [Tue, 8 May 2007 17:59:23 +0000 (19:59 +0200)]
volume_id: give access to list of all available probers

16 years agorules: SUSE update
Kay Sievers [Mon, 7 May 2007 13:35:10 +0000 (15:35 +0200)]
rules: SUSE update

16 years agorules: use ID_FS_UUID_SAFE
Kay Sievers [Mon, 7 May 2007 13:34:49 +0000 (15:34 +0200)]
rules: use ID_FS_UUID_SAFE

16 years agovol_id: add ID_FS_UUID_SAFE
Kay Sievers [Sun, 6 May 2007 00:24:21 +0000 (02:24 +0200)]
vol_id: add ID_FS_UUID_SAFE

16 years agovolume_id: rename UUID_64BIT_LE/BE
Kay Sievers [Sun, 6 May 2007 00:23:48 +0000 (02:23 +0200)]
volume_id: rename UUID_64BIT_LE/BE

16 years agovol_id: README update
Kay Sievers [Fri, 4 May 2007 15:16:08 +0000 (17:16 +0200)]
vol_id: README update

16 years agovolume_id: add DDF support
Kay Sievers [Fri, 4 May 2007 14:54:46 +0000 (16:54 +0200)]
volume_id: add DDF support

16 years agovolume_id: add internal UUID_STRING
Kay Sievers [Fri, 4 May 2007 14:53:19 +0000 (16:53 +0200)]
volume_id: add internal UUID_STRING

16 years agovolume_id: fix Makefile for parallel make
Matthias Schwarzott [Thu, 3 May 2007 21:24:17 +0000 (23:24 +0200)]
volume_id: fix Makefile for parallel make

16 years agoudevd: use fgets() to read /proc files
Kay Sievers [Thu, 3 May 2007 21:21:11 +0000 (23:21 +0200)]
udevd: use fgets() to read /proc files

Based on a patch by:
  George Beshers <gbeshers@sgi.com>

16 years agovol_id: use volume_id_get_*
Kay Sievers [Thu, 3 May 2007 12:24:56 +0000 (14:24 +0200)]
vol_id: use volume_id_get_*

16 years agovolume_id: add volume_id_get_* functions
Kay Sievers [Thu, 3 May 2007 12:22:39 +0000 (14:22 +0200)]
volume_id: add volume_id_get_* functions

In a future version of libvolume_id, struct volume_id will be
an opaque data type, which can't be accessed directly.

No interface has changed for now, until all known users are
converted not to access the structure directly.

16 years agovol_id: use long options
Kay Sievers [Thu, 3 May 2007 09:00:02 +0000 (11:00 +0200)]
vol_id: use long options

16 years agovolume_id: use md native uuid format
Kay Sievers [Thu, 3 May 2007 07:24:16 +0000 (09:24 +0200)]
volume_id: use md native uuid format

16 years agorules: Fedora update
Kay Sievers [Thu, 3 May 2007 00:12:18 +0000 (02:12 +0200)]
rules: Fedora update

16 years agorules: SUSE update
Kay Sievers [Thu, 3 May 2007 00:04:19 +0000 (02:04 +0200)]
rules: SUSE update

16 years agorelease 110
Kay Sievers [Tue, 1 May 2007 12:33:39 +0000 (14:33 +0200)]
release 110

16 years agorules: SUSE update
Kay Sievers [Tue, 1 May 2007 12:21:04 +0000 (14:21 +0200)]
rules: SUSE update

16 years agoata_id: use getopt_long()
Kay Sievers [Tue, 1 May 2007 12:19:31 +0000 (14:19 +0200)]
ata_id: use getopt_long()

16 years agousb_id: add <devpath> to help text
Kay Sievers [Tue, 1 May 2007 12:18:36 +0000 (14:18 +0200)]
usb_id: add <devpath> to help text

16 years agodon't create $tempnode for devices without major
Kay Sievers [Mon, 30 Apr 2007 19:48:30 +0000 (21:48 +0200)]
don't create $tempnode for devices without major

16 years agoata_id: don't log error for libata devices on older kernels
Matthias Schwarzott [Sat, 28 Apr 2007 22:08:30 +0000 (00:08 +0200)]
ata_id: don't log error for libata devices on older kernels

16 years agovolume_id: minix version 3 support
Kay Sievers [Sat, 28 Apr 2007 21:45:49 +0000 (23:45 +0200)]
volume_id: minix version 3 support

16 years agovolume_id: old md metadata has only 32 bit for the uuid
Kay Sievers [Sat, 28 Apr 2007 21:06:20 +0000 (23:06 +0200)]
volume_id: old md metadata has only 32 bit for the uuid

16 years agorules: Fedora update
Kay Sievers [Sat, 28 Apr 2007 11:29:24 +0000 (13:29 +0200)]
rules: Fedora update

16 years agorules: Gentoo update
Matthias Schwarzott [Fri, 27 Apr 2007 09:42:34 +0000 (11:42 +0200)]
rules: Gentoo update

16 years agoudevcontrol: allow to set global variables in udevd
Harald Hoyer [Thu, 26 Apr 2007 20:52:20 +0000 (22:52 +0200)]
udevcontrol: allow to set global variables in udevd

The initial patch is from Harald, possible new bugs are from me.

16 years agovolume_id: ext - fix endianess in version number
Kay Sievers [Thu, 26 Apr 2007 20:46:27 +0000 (22:46 +0200)]
volume_id: ext - fix endianess in version number

16 years agoMakefile: respect CFLAGS/LDFLAGS
Matthias Schwarzott [Wed, 25 Apr 2007 21:22:25 +0000 (23:22 +0200)]
Makefile: respect CFLAGS/LDFLAGS

16 years agodelete copies of default rules in SUSE rules
Kay Sievers [Wed, 25 Apr 2007 10:56:50 +0000 (12:56 +0200)]
delete copies of default rules in SUSE rules

16 years agounset variable with ENV{VAR}=""
Kay Sievers [Tue, 24 Apr 2007 23:52:00 +0000 (01:52 +0200)]
unset variable with ENV{VAR}=""

16 years agovolume_id: add md metadata 1.0, 1.1, 1.2 support
Kay Sievers [Tue, 24 Apr 2007 16:35:24 +0000 (18:35 +0200)]
volume_id: add md metadata 1.0, 1.1, 1.2 support

16 years agoupdate SUSE rules
Kay Sievers [Mon, 23 Apr 2007 23:50:16 +0000 (01:50 +0200)]
update SUSE rules

16 years agoremove eventrecorder.sh
Kay Sievers [Mon, 23 Apr 2007 23:49:43 +0000 (01:49 +0200)]
remove eventrecorder.sh

16 years agorelease 109
Kay Sievers [Mon, 23 Apr 2007 16:22:43 +0000 (18:22 +0200)]
release 109

16 years agoupdate SUSE rules
Kay Sievers [Mon, 23 Apr 2007 16:22:08 +0000 (18:22 +0200)]
update SUSE rules

16 years agolibvolume_id: do not install static library
Kay Sievers [Mon, 23 Apr 2007 15:44:19 +0000 (17:44 +0200)]
libvolume_id: do not install static library

16 years agopath_id: remove broken example
Kay Sievers [Sun, 22 Apr 2007 12:19:14 +0000 (14:19 +0200)]
path_id: remove broken example

16 years agopath_id: add man page
VMiklos [Sun, 22 Apr 2007 12:10:18 +0000 (14:10 +0200)]
path_id: add man page

17 years agoudevd: fix serialization of events
Kay Sievers [Thu, 19 Apr 2007 20:21:05 +0000 (22:21 +0200)]
udevd: fix serialization of events

We see sequences like:
  UEVENT[1176966403.907336] add@/block/dasda
  UDEV  [1176966403.920359] add@/block/dasda
  UEVENT[1176966403.964379] add@/block/dasda/dasda1
  UEVENT[1176966403.964438] add@/block/dasda/dasda2
  UEVENT[1176966403.964483] online@/block/dasda
  UEVENT[1176966403.964519] online@/block/dasda/dasda1
  UEVENT[1176966403.964555] online@/block/dasda/dasda2
  UDEV  [1176966403.967413] add@/block/dasda/dasda1
  UDEV  [1176966403.968719] add@/block/dasda/dasda2
  UDEV  [1176966403.974750] online@/block/dasda/dasda1
  UDEV  [1176966403.982241] online@/block/dasda/dasda2
  UDEV  [1176966403.999847] online@/block/dasda

where the event for the disk (last event) should come before the
events for the partitons. We skipped events for dependency reasons,
but the dependency check for later events did not see the skipped
events.

17 years agocreate_path: don't fail if something else created the directory
Kay Sievers [Thu, 12 Apr 2007 16:55:59 +0000 (18:55 +0200)]
create_path: don't fail if something else created the directory

Thanks to Jeremy for the patch.

17 years agopersistent device naming: add joystick links
Matthias Schwarzott [Thu, 12 Apr 2007 12:38:46 +0000 (14:38 +0200)]
persistent device naming: add joystick links

17 years agoupdate Gentoo rules
Matthias Schwarzott [Thu, 12 Apr 2007 08:15:40 +0000 (10:15 +0200)]
update Gentoo rules

17 years agocreate_floppy_devices: create nodes with correct selinux context
Harald Hoyer [Wed, 11 Apr 2007 23:10:08 +0000 (01:10 +0200)]
create_floppy_devices: create nodes with correct selinux context

17 years agodefault rules: add libata compat links
Kay Sievers [Fri, 6 Apr 2007 17:53:20 +0000 (19:53 +0200)]
default rules: add libata compat links

17 years agoudevinfo: export all information stored in database
Kay Sievers [Fri, 6 Apr 2007 17:50:19 +0000 (19:50 +0200)]
udevinfo: export all information stored in database

17 years agoudevtest: import uevent variables if possible
Kay Sievers [Fri, 6 Apr 2007 17:18:33 +0000 (19:18 +0200)]
udevtest: import uevent variables if possible

17 years agomake ACTION!="add|change" working
Kay Sievers [Sat, 31 Mar 2007 00:46:32 +0000 (02:46 +0200)]
make ACTION!="add|change" working

Thanks to Scott for the suggestion.

17 years agoupdate SUSE rules
Kay Sievers [Sat, 31 Mar 2007 00:42:32 +0000 (02:42 +0200)]
update SUSE rules

17 years agoudevtest: export ACTION string if given as option
Kay Sievers [Sat, 31 Mar 2007 00:42:14 +0000 (02:42 +0200)]
udevtest: export ACTION string if given as option

17 years agorelease 108
Kay Sievers [Wed, 28 Mar 2007 18:47:26 +0000 (20:47 +0200)]
release 108

17 years agofinally remove the directory event-multiplexer crap
Kay Sievers [Wed, 28 Mar 2007 18:35:05 +0000 (20:35 +0200)]
finally remove the directory event-multiplexer crap

17 years agoupdate Gentoo rules
Matthias Schwarzott [Wed, 28 Mar 2007 18:31:19 +0000 (20:31 +0200)]
update Gentoo rules

17 years agoudevsettle: read udev not kernel seqnum first
Pozsar Balazs [Fri, 23 Mar 2007 16:21:46 +0000 (17:21 +0100)]
udevsettle: read udev not kernel seqnum first

17 years agodon't write to sysfs files during test run
Kay Sievers [Fri, 23 Mar 2007 16:18:03 +0000 (17:18 +0100)]
don't write to sysfs files during test run

17 years agoudevinfo: relax check for the correct device if looked up by name
Kay Sievers [Fri, 23 Mar 2007 16:17:18 +0000 (17:17 +0100)]
udevinfo: relax check for the correct device if looked up by name

17 years agowrite_cd_rules: set default link type to "by-id" for usb and ieee1394 devices
Matthias Schwarzott [Thu, 22 Mar 2007 20:05:56 +0000 (21:05 +0100)]
write_cd_rules: set default link type to "by-id" for usb and ieee1394 devices

17 years agorelease 107
Kay Sievers [Wed, 21 Mar 2007 19:17:01 +0000 (20:17 +0100)]
release 107

17 years agoupdate Debian rules
Marco d'Itri [Wed, 21 Mar 2007 19:05:08 +0000 (20:05 +0100)]
update Debian rules

17 years agorun_directory: add final warning before removal
Kay Sievers [Wed, 21 Mar 2007 13:22:50 +0000 (14:22 +0100)]
run_directory: add final warning before removal

17 years agousb_id: append target:lun to storage device serial
Kay Sievers [Wed, 21 Mar 2007 12:55:48 +0000 (13:55 +0100)]
usb_id: append target:lun to storage device serial

Some broken usb-storage devices implement multiple
luns with all the same SCSI identifiers. Append the
target:lun to get unique names in /dev/disk/by-id/.

17 years agoudevinfo: print link priority
Kay Sievers [Wed, 21 Mar 2007 11:13:28 +0000 (12:13 +0100)]
udevinfo: print link priority

17 years agoudevtest: add --force mode
Kay Sievers [Wed, 21 Mar 2007 10:55:26 +0000 (11:55 +0100)]
udevtest: add --force mode

17 years agoupdate SUSE rules
Kay Sievers [Wed, 21 Mar 2007 00:58:24 +0000 (01:58 +0100)]
update SUSE rules

17 years agoman: add "link_priority" option
Kay Sievers [Mon, 19 Mar 2007 14:41:06 +0000 (15:41 +0100)]
man: add "link_priority" option

17 years agoupdate TODO
Kay Sievers [Mon, 19 Mar 2007 11:50:44 +0000 (12:50 +0100)]
update TODO

17 years agoif a node goes away, possibly restore a waiting symlink
Kay Sievers [Mon, 19 Mar 2007 10:57:54 +0000 (11:57 +0100)]
if a node goes away, possibly restore a waiting symlink

17 years agoupdate %n on netif name change
Kay Sievers [Mon, 19 Mar 2007 08:56:53 +0000 (09:56 +0100)]
update %n on netif name change

17 years agoudevinfo: remove -d option
Kay Sievers [Sun, 18 Mar 2007 14:08:53 +0000 (15:08 +0100)]
udevinfo: remove -d option

17 years agovolume_id: get rid of compiler warning
Kay Sievers [Sun, 18 Mar 2007 11:55:21 +0000 (12:55 +0100)]
volume_id: get rid of compiler warning

17 years agopriority based symlink handling
Kay Sievers [Sun, 18 Mar 2007 11:51:57 +0000 (12:51 +0100)]
priority based symlink handling

Symlinks can have priorities now, the priority is assigned to the device
and specified with OPTIONS="link_priority=100". Devices with higher
priorities overwrite the symlinks of devices with lower priorities.
If the device, that currently owns the link goes away, the symlink
will be removed, and recreated, pointing to the next device with the
highest actual priority.

This should solve the issue, that inserting an USB-stick may overwrite the
/dev/disk/by-id/-link of another disk, and removes the entire link after the
USB-stick is disconnected. If no priorities are specified, the new link will
overwrite the current one, and if the device goes away, it will restore
the old link. It should be possible to assign lower priorities to removable
devices, if needed.

In multipath setups, we see several devices, which all connect to the same
volume, and therefore all try to create the same metadata-links. The
different path-devices are combined into one device-mapper device, which also
contains the same metadata. It should be possible, to assign multipath-table
device-mapper devices a higher priority, so path-devices that appear and
disappear, will not overwrite or delete the device-mapper device links.

17 years agoread list of devices from index, make index private to database
Kay Sievers [Sat, 17 Mar 2007 09:08:25 +0000 (10:08 +0100)]
read list of devices from index, make index private to database

17 years agoremove old error message
Kay Sievers [Fri, 16 Mar 2007 20:15:54 +0000 (21:15 +0100)]
remove old error message

17 years agoselinux: move selinux_exit() to the main programs
Kay Sievers [Fri, 16 Mar 2007 20:13:07 +0000 (21:13 +0100)]
selinux: move selinux_exit() to the main programs

17 years agocleanup already existing db-entries and db-index on device update
Kay Sievers [Fri, 16 Mar 2007 16:24:39 +0000 (17:24 +0100)]
cleanup already existing db-entries and db-index on device update

17 years agopick actual valid device in udev_db_lookup_name
Kay Sievers [Fri, 16 Mar 2007 15:02:22 +0000 (16:02 +0100)]
pick actual valid device in udev_db_lookup_name

17 years agoadd link_priority to rule options, and store it in database
Kay Sievers [Fri, 16 Mar 2007 14:16:08 +0000 (15:16 +0100)]
add link_priority to rule options, and store it in database

17 years agostore devpath with the usual leading slash
Kay Sievers [Fri, 16 Mar 2007 02:09:02 +0000 (03:09 +0100)]
store devpath with the usual leading slash

17 years agoudevtest: export UDEV_LOG if we changed it
Jean Tourrilhes [Fri, 16 Mar 2007 00:09:47 +0000 (01:09 +0100)]
udevtest: export UDEV_LOG if we changed it

17 years agoudevmonitor: fix swapped event switch descriptions
Matthias Schwarzott [Thu, 15 Mar 2007 15:30:08 +0000 (16:30 +0100)]
udevmonitor: fix swapped event switch descriptions

17 years agorestore overwritten symlinks when the device goes away
Kay Sievers [Thu, 15 Mar 2007 02:54:12 +0000 (03:54 +0100)]
restore overwritten symlinks when the device goes away

17 years agomaintain index over device-names to devpath relation
Kay Sievers [Thu, 15 Mar 2007 01:09:39 +0000 (02:09 +0100)]
maintain index over device-names to devpath relation

17 years agoincrease /proc/stat buffer
Kay Sievers [Wed, 14 Mar 2007 23:10:59 +0000 (00:10 +0100)]
increase /proc/stat buffer

17 years agoupdate internal variables if we see $DEVPATH during IMPORT
Kay Sievers [Wed, 14 Mar 2007 23:10:22 +0000 (00:10 +0100)]
update internal variables if we see $DEVPATH during IMPORT

17 years agoencode db-file names, instead of just replacing '/'
Kay Sievers [Wed, 14 Mar 2007 20:41:33 +0000 (21:41 +0100)]
encode db-file names, instead of just replacing '/'

17 years agoudevd: cleanup std{in,our,err} on startup
Matthias Schwarzott [Tue, 13 Mar 2007 21:27:21 +0000 (22:27 +0100)]
udevd: cleanup std{in,our,err} on startup

It occurs, when root-partition has no /dev/console, meaning that kernel
could not open it, and such udevd is started without open filedescriptors
0 1 2. In that case udevd openes its sockets (netlink and control). They
get fds between 0 and 2. Later duping /dev/null to 0 1 2 closes the sockets
and replaces them with /dev/null.

The error condition can also be reproduced by starting udevd with this
command-line:
  udevd --daemon <&- >&- 2>&-

17 years agoupdate Gentoo rules
Kay Sievers [Tue, 13 Mar 2007 21:20:53 +0000 (22:20 +0100)]
update Gentoo rules

17 years agodelete dasd_id, it moved to s390-tools
Kay Sievers [Mon, 12 Mar 2007 12:17:23 +0000 (13:17 +0100)]
delete dasd_id, it moved to s390-tools

  These s390-tools-1.6.0 (applicable for the "October 2005 stream") replace s390-tools-1.5.4.
  New tools:
    * tape390_crypt: Tool to control and query crypto settings for 3592 zSeries tape devices.
    * mon_fsstatd: Daemon that writes filesystem utilization data to the z/VM monitor stream.
    * dumpconf: Allows to configure the dump device used for system dump in case a kernel panic occurs.
    * dasdinfo: Display unique DASD ID, either uid or volser.
    * 59-dasd.rules: udev rules for unique DASD device nodes created in /dev/disk/.

  http://www.ibm.com/developerworks/linux/linux390/s390-tools-1.6.0.html

17 years agoupdate Fedora rules
Kay Sievers [Mon, 12 Mar 2007 12:05:34 +0000 (13:05 +0100)]
update Fedora rules

17 years agodefault rules: wait for 0:0:0:0 scsi devices only
Kay Sievers [Sun, 11 Mar 2007 19:23:42 +0000 (20:23 +0100)]
default rules: wait for 0:0:0:0 scsi devices only

17 years agoudevmonitor: add switch for kernel and udev events
Kay Sievers [Sat, 10 Mar 2007 14:12:42 +0000 (15:12 +0100)]
udevmonitor: add switch for kernel and udev events

17 years agoman: spelling fixes
Kay Sievers [Thu, 8 Mar 2007 12:59:28 +0000 (13:59 +0100)]
man: spelling fixes

Thanks to Robert P. J. Day.

17 years agocreate_floppy_devices: apply specified mode without umask
Kay Sievers [Thu, 8 Mar 2007 11:28:03 +0000 (12:28 +0100)]
create_floppy_devices: apply specified mode without umask

17 years agoman: fix typo
Kay Sievers [Wed, 7 Mar 2007 20:02:17 +0000 (21:02 +0100)]
man: fix typo

17 years agoman: add missing options to various man pages
Kay Sievers [Wed, 7 Mar 2007 17:00:12 +0000 (18:00 +0100)]
man: add missing options to various man pages

17 years agorelease 106
Kay Sievers [Sat, 3 Mar 2007 17:42:09 +0000 (18:42 +0100)]
release 106

17 years agoremove dead rule in persistent tape rules
Kay Sievers [Wed, 28 Feb 2007 16:26:05 +0000 (17:26 +0100)]
remove dead rule in persistent tape rules

Thanks to Matthias Schwarzott for spotting this.