summaryrefslogtreecommitdiff
path: root/extras/path_id
AgeCommit message (Collapse)Author
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-08-07Merge libudev, udev, and the unconditional extras in a single Makefile.am.Diego Elio 'Flameeyes' Pettenò
Instead of using multiple recursive Makefile.am files, use a single Makefile.am that sets and builds all the basic suite of libraries and binaries for udev. This reduces the number of files in the source tree, and also reduces drastically the build time when using parallel-make. With this setup, all the compile steps will be executed in parallel, and just the linking stage will be (partially) serialised on the libraries creation.
2009-07-25make: build internal tools against libudev-private.laKay Sievers
2009-07-23path_id: fix typo in commentKay Sievers
2009-07-22path_id: make global variable staticKay Sievers
2009-06-17extras: delete man pages for private udev toolsKay Sievers
These are mostly dummy man pages, without real content, some even outdated. None of these tools are part of any offered public interface, and they should not pretend to be by offering a man page.
2009-06-17cleanup ./configure installation directory optionsKay 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: delete old shell scriptKay Sievers
Removed with this is SAS disk support which never really worked properly, and legacy IDE disk support, which can be re-implemented if needed.
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
2009-04-16path_id: support identification of Xen virtual block devicesIan Campbell
2008-12-18path_id: rework SAS persistent namesJeremy Higdon
2008-12-06make: do not delete autotools generated file with distcleanKay Sievers
[...] running the command `make maintainer-clean' should not delete `configure' even if `configure' can be remade using a rule in the Makefile. More generally, `make maintainer-clean' should not delete anything that needs to exist in order to run `configure' and then begin to build the program. This is the only exception; `maintainer-clean' should delete everything else that can be rebuilt.
2008-12-04rules: add persistent /dev/serial/{by-id,by-path} rulesKay Sievers
$ tree /dev/serial/ /dev/serial/ |-- by-id | |-- usb-067b_2303-if00-port0 -> ../../ttyUSB0 | |-- usb-FTDI_FT232R_USB_UART_A7005uBP-if00-port0 -> ../../ttyUSB3 | |-- usb-HUAWEI_Technology_HUAWEI_Mobile-if00-port0 -> ../../ttyUSB1 | `-- usb-HUAWEI_Technology_HUAWEI_Mobile-if01-port0 -> ../../ttyUSB2 `-- by-path |-- pci-0000:00:1d.0-usb-0:1:1.0-port0 -> ../../ttyUSB3 |-- pci-0000:00:1d.7-usb-0:2.2.2:1.0-port0 -> ../../ttyUSB0 |-- pci-0000:00:1d.7-usb-0:2.3:1.0-port0 -> ../../ttyUSB1 `-- pci-0000:00:1d.7-usb-0:2.3:1.1-port0 -> ../../ttyUSB2 $ tree /dev/serial/ /dev/serial/ |-- by-id | |-- usb-Inside_Out_Networks_Edgeport_4_04-01-006467-if00-port0 -> ../../ttyUSB0 | |-- usb-Inside_Out_Networks_Edgeport_4_04-01-006467-if00-port1 -> ../../ttyUSB1 | |-- usb-Inside_Out_Networks_Edgeport_4_04-01-006467-if00-port2 -> ../../ttyUSB2 | |-- usb-Inside_Out_Networks_Edgeport_4_04-01-006467-if00-port3 -> ../../ttyUSB3 | |-- usb-Keyspan__a_division_of_InnoSys_Inc._USB_4-port_Serial_Adapter-if00-port0 -> ../../ttyUSB8 | |-- usb-Keyspan__a_division_of_InnoSys_Inc._USB_4-port_Serial_Adapter-if00-port1 -> ../../ttyUSB9 | |-- usb-Keyspan__a_division_of_InnoSys_Inc._USB_4-port_Serial_Adapter-if00-port2 -> ../../ttyUSB10 | |-- usb-Keyspan__a_division_of_InnoSys_Inc._USB_4-port_Serial_Adapter-if00-port3 -> ../../ttyUSB11 | `-- usb-Prolific_Technology_Inc._USB-Serial_Controller-if00-port0 -> ../../ttyUSB7 `-- by-path |-- pci-0000:00:1d.2-usb-0:1.3:1.0-port0 -> ../../ttyUSB7 |-- pci-0000:00:1d.7-usb-0:6.1.4.1:1.0-port0 -> ../../ttyUSB4 |-- pci-0000:00:1d.7-usb-0:6.1.4.1:1.0-port1 -> ../../ttyUSB5 |-- pci-0000:00:1d.7-usb-0:6.1.4.1:1.0-port2 -> ../../ttyUSB6 |-- pci-0000:00:1d.7-usb-0:6.1.4.4:1.0-port0 -> ../../ttyUSB0 |-- pci-0000:00:1d.7-usb-0:6.1.4.4:1.0-port1 -> ../../ttyUSB1 |-- pci-0000:00:1d.7-usb-0:6.1.4.4:1.0-port2 -> ../../ttyUSB2 |-- pci-0000:00:1d.7-usb-0:6.1.4.4:1.0-port3 -> ../../ttyUSB3 |-- pci-0000:00:1d.7-usb-0:6.3:1.0-port0 -> ../../ttyUSB8 |-- pci-0000:00:1d.7-usb-0:6.3:1.0-port1 -> ../../ttyUSB9 |-- pci-0000:00:1d.7-usb-0:6.3:1.0-port2 -> ../../ttyUSB10 `-- pci-0000:00:1d.7-usb-0:6.3:1.0-port3 -> ../../ttyUSB11
2008-11-21path_id: fix fibre channel handlingKay Sievers
2008-10-01build: include Makefile.am.inc in all Makefile.amKay Sievers
Many thanks to Chris Spiegel for finding the still current vol_id non-large-file-access bug, because of not including config.h.
2008-07-30use autotoolsKay Sievers
2008-07-30delete all Makefiles and move udev source to udev/Kay Sievers
2008-06-26path_id: suppress trailing '-' like 'ID_PATH=pci-0000:05:01.0-'Kay Sievers
2008-04-18path_id: remove subsystem whitelistKay Sievers
2008-03-15Makefile: do not require GNU installRoy Marples
2007-09-10path_id: fix for stacked class devicesKay Sievers
2007-05-29path_id: skip subsystem directoryKay Sievers
2007-05-25cciss device supportHannes Reinecke
2007-05-13path_id: remove on make uninstallMiklos Vajna
2007-04-22path_id: remove broken exampleKay Sievers
2007-04-22path_id: add man pageVMiklos
2007-02-05path_id: append LUN to iSCSI pathKay Sievers
2007-01-21fix INSTALL_PROGRAM vs. INSTALL_SCRIPTPeter Breitenlohner
2006-10-02path_id: fix SAS disk handlingMUNEDA Takahiro
2006-07-29path_id: fix an harmless syntax errorMarco d'Itri
2006-07-09path_id: prepare for new sysfs layoutKay Sievers
2006-07-04Makefiles: fix .PHONY for man page targetKay Sievers
Thanks to David Härdeman for pointing it out.
2006-05-26path_id: prevent endless loop for SAS devices on older kernelsKay Sievers
2006-05-23path_id: add support for iSCSI devicesHannes Reinecke