From a3e37953fe59ee51b9130b7997741c47b821cf5f Mon Sep 17 00:00:00 2001 From: Steffen Maier Date: Tue, 19 Feb 2019 18:09:53 +0100 Subject: [PATCH] lszfcp: fix missing block & sg device output without CONFIG_SYSFS_DEPRECATED MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit lszfcp -DVe was missing a 3rd SCSI device header line like: /sys/devices/css0/0.0.0019/0.0.1880/0x50050763031bd327/0x4045400000000000 /sys/bus/ccw/drivers/zfcp/0.0.1880/host0/rport-0:0-0/target0:0:0/0:0:0:1073758277 /sys/block/sda /sys/class/scsi_generic/sg0 Signed-off-by: Steffen Maier Reviewed-by: Jens Remus Signed-off-by: Jan Höppner --- zconf/lszfcp | 19 +++++++++++++++++-- zconf/lszfcp.8 | 8 ++++++-- 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/zconf/lszfcp b/zconf/lszfcp index 572a83b2..3fca53a6 100755 --- a/zconf/lszfcp +++ b/zconf/lszfcp @@ -2,7 +2,7 @@ # # lszfcp - Tool to display information about zfcp devices (adapters/ports/units) # -# Copyright IBM Corp. 2006, 2017 +# Copyright IBM Corp. 2006, 2019 # # s390-tools is free software; you can redistribute it and/or modify # it under the terms of the MIT license. See LICENSE for details. @@ -67,7 +67,7 @@ print_version() { cat <