1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-06 08:26:52 +03:00
Commit Graph

2377 Commits

Author SHA1 Message Date
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
Kay Sievers
d7fdcd6192 remove old error message 2007-03-16 21:15:54 +01:00
Kay Sievers
456cb38756 selinux: move selinux_exit() to the main programs 2007-03-16 21:13:07 +01:00
Kay Sievers
6eee03ef45 cleanup already existing db-entries and db-index on device update 2007-03-16 17:24:39 +01:00
Kay Sievers
2afb8cb37a pick actual valid device in udev_db_lookup_name 2007-03-16 16:02:22 +01:00
Kay Sievers
2dbb47f860 add link_priority to rule options, and store it in database 2007-03-16 15:16:08 +01:00
Kay Sievers
fc6da921ad store devpath with the usual leading slash 2007-03-16 03:09:02 +01:00
Jean Tourrilhes
043c6f6d4a udevtest: export UDEV_LOG if we changed it 2007-03-16 01:09:47 +01:00
Matthias Schwarzott
3f641815ec udevmonitor: fix swapped event switch descriptions 2007-03-15 16:30:08 +01:00
Kay Sievers
27d4bf1817 restore overwritten symlinks when the device goes away 2007-03-15 03:54:12 +01:00
Kay Sievers
fbda4babec maintain index over device-names to devpath relation 2007-03-15 02:09:39 +01:00
Kay Sievers
8d48959a23 increase /proc/stat buffer 2007-03-15 00:10:59 +01:00
Kay Sievers
4a7e6bcef0 update internal variables if we see $DEVPATH during IMPORT 2007-03-15 00:10:22 +01:00
Kay Sievers
9c6ad9fbba encode db-file names, instead of just replacing '/' 2007-03-14 21:41:33 +01:00
Matthias Schwarzott
5edec024b1 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>&-
2007-03-13 22:27:21 +01:00
Kay Sievers
d7eeab1194 update Gentoo rules 2007-03-13 22:20:53 +01:00
Kay Sievers
9923ff1450 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
2007-03-12 13:17:23 +01:00
Kay Sievers
50e3e2b0df update Fedora rules 2007-03-12 13:05:34 +01:00
Kay Sievers
188394ce8e default rules: wait for 0:0:0:0 scsi devices only 2007-03-11 20:23:42 +01:00
Kay Sievers
0d2516c336 udevmonitor: add switch for kernel and udev events 2007-03-10 15:12:42 +01:00
Kay Sievers
7f7238062c man: spelling fixes
Thanks to Robert P. J. Day.
2007-03-08 13:59:28 +01:00
Kay Sievers
5b7363c064 create_floppy_devices: apply specified mode without umask 2007-03-08 12:28:03 +01:00
Kay Sievers
684e935faf man: fix typo 2007-03-07 21:02:17 +01:00
Kay Sievers
88caa9da18 man: add missing options to various man pages 2007-03-07 18:00:12 +01:00
Kay Sievers
159ba1c531 release 106 2007-03-03 18:42:09 +01:00
Kay Sievers
0ef409f6ca remove dead rule in persistent tape rules
Thanks to Matthias Schwarzott for spotting this.
2007-02-28 17:26:05 +01:00
Jamie Wellnitz
0fe4cffde6 persistent device naming: tape devices and medium changers
This adds persistent symlinks for nst tape devices to the example
rules. The symlinks live under /dev/tape/by-id/.

Signed-off-by: Jamie Wellnitz <Jamie.Wellnitz@emulex.com>
2007-02-27 21:02:07 +01:00
Matthias Schwarzott
1f889fb84f rule_generator: fix for creating rules on read-only filesystem 2007-02-26 15:07:42 +01:00