1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-11-01 00:51:08 +03:00
systemd-stable/extras
kay.sievers@vrfy.org 33084f1e2a [PATCH] udev - small script optimization
Optimize the scripts reflecting the now more powerful rule logic,
cause we can combine all known fields now in any order:

  The ide-devfs.sh is only executed if the kernel name matches with 'hd*':

    BUS="ide", KERNEL="hd*", PROGRAM="/etc/udev/ide-devfs.sh %k %b %n", NAME="%k", SYMLINK="%1c %2c"

  The name_cdrom.pl is only executed for ide and scsi devices, but not for a partition.
  It exits with nonzero to skip the rule if the CD is not found:

    KERNEL="[hs]d[a-z]", PROGRAM="name_cdrom.pl %M %m", NAME="%1c", SYMLINK="cdrom"
2005-04-26 21:13:16 -07:00
..
multipath [PATCH] extras multipath update 2005-04-26 21:13:12 -07:00
scsi_id [PATCH] libsysfs 0.4.0 patch 2005-04-26 21:13:09 -07:00
ide-devfs.sh [PATCH] udev - small script optimization 2005-04-26 21:13:16 -07:00
name_cdrom.pl [PATCH] udev - small script optimization 2005-04-26 21:13:16 -07:00