Systemd/src/udev
Maurizio Lombardi 66bba0e701 udevd: SAS: use SAS addr + PHY id in by-path whenever possible.
This patch changes the naming scheme for sas disks. The original names used
disk's sas address and lun, the new scheme uses sas address of the
nearest expander (if available) and a phy id of the used connection.
If no expander is used, the phy id of hba phy is used.
Note that names that refer to RAID or other abstract devices are
unchanged.

Name in raid configuration:
hba_pci_address-sas-raid_sas_address-lunY-partZ

Name in expander bare disk configuration:
hba_pci_address-sas-expander_sas_address-phyX-lunY-partZ

Name format without expanders:
hba_pci_address-sas-phyX-lunY-partZ

Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
2014-12-04 13:15:58 +01:00
..
accelerometer udev: switch to systemd logging functions 2014-11-13 13:12:57 +01:00
ata_id treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
cdrom_id udev: switch to systemd logging functions 2014-11-13 13:12:57 +01:00
collect udev: silence TOCTOU warning when creating a directory 2014-11-16 19:38:08 +01:00
mtd_probe everywhere: always use O_CLOEXEC where it makes sense 2014-02-13 14:59:56 +01:00
net treewide: yet more log_*_errno + return simplifications 2014-11-28 18:56:16 +01:00
scsi_id treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
v4l_id Remove duplicate includes 2013-11-18 20:28:55 -05:00
.gitignore udev: add builtin 'keyboard' to manage key mappings 2013-07-10 22:52:55 +02:00
.vimrc
Makefile build-sys: add stub makefiles to all subdirs to ease development with emacs 2012-04-13 21:37:59 +02:00
udev-builtin-blkid.c udev: place opening { at the same line as the function declaration 2014-07-29 15:49:25 +02:00
udev-builtin-btrfs.c Move BTRFS_IOC_DEVICES_READY to missing.h 2014-08-03 00:28:12 -04:00
udev-builtin-hwdb.c udev: hwdb - do not look at "usb_device" parents 2014-08-26 18:27:36 +02:00
udev-builtin-input_id.c udev: place opening { at the same line as the function declaration 2014-07-29 15:49:25 +02:00
udev-builtin-keyboard.c treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
udev-builtin-kmod.c log: rearrange log function naming 2014-11-27 22:05:24 +01:00
udev-builtin-net_id.c udev: modernize net_id builtin a bit 2014-08-12 01:54:39 +02:00
udev-builtin-net_setup_link.c treewide: no need to negate errno for log_*_errno() 2014-11-28 13:29:21 +01:00
udev-builtin-path_id.c udevd: SAS: use SAS addr + PHY id in by-path whenever possible. 2014-12-04 13:15:58 +01:00
udev-builtin-uaccess.c treewide: no need to negate errno for log_*_errno() 2014-11-28 13:29:21 +01:00
udev-builtin-usb_id.c udev: place opening { at the same line as the function declaration 2014-07-29 15:49:25 +02:00
udev-builtin.c udev: remove userspace firmware loading support 2014-08-30 11:34:20 +02:00
udev-ctrl.c treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
udev-event.c treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
udev-node.c treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
udev-rules.c udev: strings in C are NUL-terminated anyway, no need to add a second NUL... 2014-11-30 00:21:49 +01:00
udev-watch.c treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
udev.conf man: add udev.conf(5) 2014-07-31 08:56:03 -04:00
udev.h udev: support ENV{}=="" global property matches 2014-11-13 20:35:06 +01:00
udev.pc.in udev.pc: install udev files to /lib/udev rather than /lib/systemd 2012-05-27 15:24:20 +02:00
udevadm-control.c udev: place opening { at the same line as the function declaration 2014-07-29 15:49:25 +02:00
udevadm-hwdb.c udevadm hwdb: discard extra leading whitespaces in hwdb 2014-11-28 14:30:50 -05:00
udevadm-info.c udevadm: split out find_device helper 2014-11-25 21:16:47 -05:00
udevadm-monitor.c treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
udevadm-settle.c udev: never bypass our own logging framework and call vsyslog() directly from udev tools 2014-08-11 20:13:38 +02:00
udevadm-test-builtin.c udev: never bypass our own logging framework and call vsyslog() directly from udev tools 2014-08-11 20:13:38 +02:00
udevadm-test.c udev: support ENV{}=="" global property matches 2014-11-13 20:35:06 +01:00
udevadm-trigger.c treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
udevadm-util.c udevadm: split out find_device helper 2014-11-25 21:16:47 -05:00
udevadm-util.h udevadm: split out find_device helper 2014-11-25 21:16:47 -05:00
udevadm.c udev: move global property handling from libudev to udevd 2014-11-13 13:50:01 +01:00
udevd.c udevd: don't take reference for NULL rtnl object 2014-12-03 21:36:10 +01:00