Commit Graph
2104 Commits
Author SHA1 Message Date
Kay Sievers 6ed3edfb69 volume_id: minix version 3 support 2007-04-28 23:45:49 +02:00
Kay Sievers e18e6d7999 volume_id: old md metadata has only 32 bit for the uuid 2007-04-28 23:06:20 +02:00
Kay Sievers 900878ac80 rules: Fedora update 2007-04-28 13:29:24 +02:00
Matthias Schwarzott 54b813ba0d rules: Gentoo update 2007-04-27 11:42:34 +02:00
Harald Hoyer 1343a9524f udevcontrol: allow to set global variables in udevd
The initial patch is from Harald, possible new bugs are from me.
2007-04-26 22:52:20 +02:00
Kay Sievers 01ad1ef5f3 volume_id: ext - fix endianess in version number 2007-04-26 22:46:27 +02:00
Matthias Schwarzott 702e02313c Makefile: respect CFLAGS/LDFLAGS 2007-04-25 23:22:25 +02:00
Kay Sievers a0ee4ac513 delete copies of default rules in SUSE rules 2007-04-25 12:56:50 +02:00
Kay Sievers db6e59df56 unset variable with ENV{VAR}="" 2007-04-25 01:52:00 +02:00
Kay Sievers 07bc6002ca volume_id: add md metadata 1.0, 1.1, 1.2 support 2007-04-24 18:35:24 +02:00
Kay Sievers c77f75cad5 update SUSE rules 2007-04-24 01:50:16 +02:00
Kay Sievers 9c84cf964c remove eventrecorder.sh 2007-04-24 01:49:43 +02:00
Kay Sievers 7c1ecbfbf1 release 109 2007-04-23 18:22:43 +02:00
Kay Sievers 6ff9f552a2 update SUSE rules 2007-04-23 18:22:08 +02:00
Kay Sievers 285e2f5218 libvolume_id: do not install static library 2007-04-23 17:44:19 +02:00
Kay Sievers 6ecad86d49 path_id: remove broken example 2007-04-22 14:19:14 +02:00
VMiklos 8127859217 path_id: add man page 2007-04-22 14:10:18 +02:00
Kay Sievers fc630edad4 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.
2007-04-19 22:21:05 +02:00
Kay Sievers 3a6704cba7 create_path: don't fail if something else created the directory
Thanks to Jeremy for the patch.
2007-04-12 18:55:59 +02:00
Matthias Schwarzott 878645dca3 persistent device naming: add joystick links 2007-04-12 14:38:46 +02:00
Matthias Schwarzott 730cf8a7b3 update Gentoo rules 2007-04-12 10:15:40 +02:00
Harald Hoyer 7c70c25212 create_floppy_devices: create nodes with correct selinux context 2007-04-12 01:10:08 +02:00
Kay Sievers 0809c264e9 default rules: add libata compat links 2007-04-06 19:53:20 +02:00
Kay Sievers 019d666907 udevinfo: export all information stored in database 2007-04-06 19:50:19 +02:00
Kay Sievers 68d4af11ca udevtest: import uevent variables if possible 2007-04-06 19:18:33 +02:00
Kay Sievers 81313e1b48 make ACTION!="add|change" working
Thanks to Scott for the suggestion.
2007-03-31 02:46:32 +02:00
Kay Sievers 2dc2396aaf update SUSE rules 2007-03-31 02:42:32 +02:00
Kay Sievers 1c73ceeb94 udevtest: export ACTION string if given as option 2007-03-31 02:42:14 +02:00
Kay Sievers b8eb7940bb release 108 2007-03-28 20:47:26 +02:00
Kay Sievers a401355d5a finally remove the directory event-multiplexer crap 2007-03-28 20:35:05 +02:00
Matthias Schwarzott 1532b47bdf update Gentoo rules 2007-03-28 20:31:19 +02:00
Pozsar Balazs 4e2b290821 udevsettle: read udev not kernel seqnum first 2007-03-23 17:21:46 +01:00
Kay Sievers d2c9a56e0e don't write to sysfs files during test run 2007-03-23 17:18:03 +01:00
Kay Sievers be8594ab14 udevinfo: relax check for the correct device if looked up by name 2007-03-23 17:17:18 +01:00
Matthias Schwarzott 491a6a71ff write_cd_rules: set default link type to "by-id" for usb and ieee1394 devices 2007-03-22 21:05:56 +01:00
Kay Sievers 9d534c0e76 release 107 2007-03-21 20:17:01 +01:00
Marco d'Itri 89d3ee2b3a update Debian rules 2007-03-21 20:05:08 +01:00
Kay Sievers 1ce3e4fef0 run_directory: add final warning before removal 2007-03-21 14:22:50 +01:00
Kay Sievers e578a44746 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/.
2007-03-21 13:55:48 +01:00
Kay Sievers 3d0bb292b5 udevinfo: print link priority 2007-03-21 12:13:28 +01:00
Kay Sievers eff4a67369 udevtest: add --force mode 2007-03-21 11:55:26 +01:00
Kay Sievers 7586b63719 update SUSE rules 2007-03-21 01:58:24 +01:00
Kay Sievers 7a17ca7e79 man: add "link_priority" option 2007-03-19 15:41:06 +01:00
Kay Sievers 3d1f807b89 update TODO 2007-03-19 12:50:44 +01:00
Kay Sievers 604f104af4 if a node goes away, possibly restore a waiting symlink 2007-03-19 11:57:54 +01:00
Kay Sievers eb5b86405b update %n on netif name change 2007-03-19 09:56:53 +01:00
Kay Sievers 3045132a0d udevinfo: remove -d option 2007-03-18 15:08:53 +01:00
Kay Sievers f0f7c715ae volume_id: get rid of compiler warning 2007-03-18 12:55:21 +01:00
Kay Sievers 24f0605c1f 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.
2007-03-18 12:51:57 +01:00
Kay Sievers 31de3a2ba1 read list of devices from index, make index private to database 2007-03-17 10:08:25 +01:00