summaryrefslogtreecommitdiff
path: root/extras/path_id/path_id.c
AgeCommit message (Collapse)Author
2011-10-06delete left-over files in extras/Kay Sievers
2011-08-05implement path_id, usb_id, input_id as built-in commandKay Sievers
2011-07-10path_id: recognize ACPI parent devicesKay Sievers
We need to tag the power input button for multi-seat.
2011-07-07path_id: add ID_PATH_TAG= to be used in udev tagsKay Sievers
2011-07-06path_id: add missing '-' to tape suffixKay Sievers
2011-05-26path_id: allow to be asked about usb_devices not only usb_interfacesKay Sievers
2011-04-20path_id: rework SAS device handlingMichael Reed
Lun numbers < 256 are displayed as "lun-x". Lun numbers >= 256 use the lun number format previously used in fibre channel by-path links, 0xabcd012300000000. This lun numbering scheme is implemented for sas, fibre channel, iscsi. I want it to be clearly understood that this patch changes the /dev/disk/by-path names for fc devices. Here is an example of the change: Old: pci-0000:0c:00.1-fc-0x204700a0b81130aa:0x00fa000000000000 New: pci-0000:0c:00.1-fc-0x204700a0b81130aa-lun-250
2011-04-15fix more warningsKay Sievers
2011-04-13trivial cleanupsKay Sievers
2010-06-29Add virtio-blk support to path_idRyan Harper
This patch adds a case handling path_id invoked on a virtio-blk device. Currently path_id walks the parent path to virtio-pci but doesn't know that it's the end of the path and exits without building the path (providing no output resulting in no disk/by-path symlinks to virtio-blk devices). This patch handles the virtio-pci path and updates the path accordingly. /lib/udev/path_id --debug /block/vda udev_device_new_from_syspath: device 0x2300120 has devpath '/devices/virtio-pci/virtio1/block/vda' udev_device_new_from_syspath: device 0x2300380 has devpath '/devices/virtio-pci/virtio1' udev_device_new_from_syspath: device 0x2300670 has devpath '/devices/virtio-pci' ID_PATH=virtio-pci-virtio1 And with the current persistent-storage rules generates: % ls -al /dev/disk/by-path | grep vda lrwxrwxrwx. 1 root root 9 Jun 1 22:09 virtio-pci-virtio1 -> ../../vda Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
2009-08-08fix spellingAlan Jenkins
Fix spelling in docbook comments, code comments, and a local variable name. Thanks to "ispell -h" for docbook HTML and "scspell" for source code. Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
2009-07-23path_id: fix typo in commentKay Sievers
2009-07-22path_id: make global variable staticKay Sievers
2009-06-09move syslog wrapper to libudevKay Sievers
2009-06-08libudev: move to top-level directoryKay Sievers
2009-06-08path_id: rename scsi sub-fuctionsKay Sievers
2009-06-08path_id: add iscsi supportKay Sievers
2009-06-08path_id: handle fibre channelKay Sievers
2009-06-06fix signed/unsigned warningKay Sievers
2009-06-06path_id: add commentsKay Sievers
2009-06-06path_id: update SCSI handlingKay Sievers
2009-06-06path_id: implement in C using libudevKay Sievers