aboutsummaryrefslogtreecommitdiffstats
path: root/extras/path_id
AgeCommit message (Collapse)AuthorFilesLines
2011-10-06delete left-over files in extras/Kay Sievers2-0/+0
2011-08-05implement path_id, usb_id, input_id as built-in commandKay Sievers3-555/+0
2011-07-10path_id: recognize ACPI parent devicesKay Sievers1-0/+3
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 Sievers1-0/+30
2011-07-06path_id: add missing '-' to tape suffixKay Sievers1-29/+24
2011-05-26path_id: allow to be asked about usb_devices not only usb_interfacesKay Sievers1-1/+3
2011-04-20path_id: rework SAS device handlingMichael Reed1-5/+58
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 Sievers1-3/+1
2011-04-13trivial cleanupsKay Sievers1-2/+0
2010-06-29Add virtio-blk support to path_idRyan Harper1-0/+3
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 Jenkins1-1/+1
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ò1-11/+0
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 Sievers1-7/+5
2009-07-23path_id: fix typo in commentKay Sievers1-1/+1
2009-07-22path_id: make global variable staticKay Sievers1-1/+3
2009-06-17extras: delete man pages for private udev toolsKay Sievers2-18/+0
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 Sievers1-2/+1
2009-06-09move syslog wrapper to libudevKay Sievers1-3/+3
2009-06-08libudev: move to top-level directoryKay Sievers2-9/+9
2009-06-08path_id: rename scsi sub-fuctionsKay Sievers1-68/+58
2009-06-08path_id: delete old shell scriptKay Sievers2-604/+0
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 Sievers1-23/+62
2009-06-08path_id: handle fibre channelKay Sievers1-1/+34
2009-06-06fix signed/unsigned warningKay Sievers1-1/+1
2009-06-06path_id: add commentsKay Sievers1-0/+3
2009-06-06path_id: update SCSI handlingKay Sievers1-47/+87
2009-06-06path_id: implement in C using libudevKay Sievers4-0/+378
2009-04-16path_id: support identification of Xen virtual block devicesIan Campbell1-0/+27
2008-12-18path_id: rework SAS persistent namesJeremy Higdon1-23/+25
2008-12-06make: do not delete autotools generated file with distcleanKay Sievers1-4/+0
[...] 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 Sievers1-0/+3
$ 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 Sievers1-1/+1
2008-10-01build: include Makefile.am.inc in all Makefile.amKay Sievers1-0/+2
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 Sievers1-0/+10
2008-07-30delete all Makefiles and move udev source to udev/Kay Sievers1-60/+0
2008-06-26path_id: suppress trailing '-' like 'ID_PATH=pci-0000:05:01.0-'Kay Sievers1-1/+5
2008-04-18path_id: remove subsystem whitelistKay Sievers1-20/+7
2008-03-15Makefile: do not require GNU installRoy Marples1-2/+4
2007-09-10path_id: fix for stacked class devicesKay Sievers1-1/+5
2007-05-29path_id: skip subsystem directoryKay Sievers1-9/+15
2007-05-25cciss device supportHannes Reinecke1-0/+11
2007-05-13path_id: remove on make uninstallMiklos Vajna1-1/+1
2007-04-22path_id: remove broken exampleKay Sievers2-23/+5
2007-04-22path_id: add man pageVMiklos2-1/+27
2007-02-05path_id: append LUN to iSCSI pathKay Sievers1-1/+3
2007-01-21fix INSTALL_PROGRAM vs. INSTALL_SCRIPTPeter Breitenlohner1-3/+3
2006-10-02path_id: fix SAS disk handlingMUNEDA Takahiro1-12/+24
2006-07-29path_id: fix an harmless syntax errorMarco d'Itri1-1/+1
2006-07-09path_id: prepare for new sysfs layoutKay Sievers1-23/+28
2006-07-04Makefiles: fix .PHONY for man page targetKay Sievers1-1/+1
Thanks to David Härdeman for pointing it out.
2006-05-26path_id: prevent endless loop for SAS devices on older kernelsKay Sievers1-0/+3
2006-05-23path_id: add support for iSCSI devicesHannes Reinecke1-0/+59
2006-05-09path_id: fix bashismMarco d'Itri1-2/+2
2006-05-09path_id: add platform and serio supportLibor Klepac1-0/+56
2006-04-21path_id: fix SAS device path generationHannes Reinecke1-2/+2
2006-04-13path_id: fix loop for SAS devicesKay Sievers1-1/+1
2006-03-29move all *_id programs to /lib/udev/Kay Sievers2-0/+58
2006-03-22path_id: add bus to USB pathHannes Reinecke1-294/+239
2006-03-21fix output for USB pathKay Sievers1-1/+3
2006-03-21persistent links: add scsi tape links and usb path supportHannes Reinecke1-152/+161
2006-03-01path_id: support SAS devicesHannes Reinecke1-0/+45
2006-02-15fix typo in parisc support to path_idJeroen Roovers1-1/+1
As reported at http://bugs.gentoo.org/show_bug.cgi?id=113379 path_id is still broken for parisc boxes. This patch from Jeroen Roovers <jer@gentoo.org> fixes that. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-01-23path_id: handle fiber channelKay Sievers1-0/+43
Patch from: Hannes Reinecke <hare@suse.de> Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-19path_id: work with "all devices in /sys/devices"Kay Sievers1-71/+58
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-09path_id: fix invalid character classKay Sievers1-3/+3
Thanks to Marco for the _right_ fix. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-12-07add parisc support to path_idGreg Kroah-Hartman1-0/+5
As reported at http://bugs.gentoo.org/show_bug.cgi?id=113379 path_id doesn't work too well for parisc boxes. This patch from Jeroen Roovers <jer@gentoo.org> fixes that. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-09-27switch tools and volume_id from LGPL to GPLv2Kay Sievers1-6/+10
After beeing hit by proprietary applications which statically link the LGPL'd libusb, which needs a patch to reflect the recent kernel changes, I decided not to provide LGPL code anymore. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-25path_id: remove SUSE specific PATHKay Sievers1-9/+6
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-01Added horrible (but fun) path_id script to extras.Greg Kroah-Hartman1-0/+390
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>