mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
lsluns lists nothing and returns with return code 0 if no adapter (FCP device) or target port exists in sysfs. This can be confusing for the user. Print a message if no adapter exists. Print a message if no port exists on any adapter. Reported-by: Thorsten Diehl <thorsten.diehl@de.ibm.com> Suggested-by: Benjamin Block <bblock@linux.ibm.com> Signed-off-by: Jens Remus <jremus@linux.ibm.com> Reviewed-by: Steffen Maier <maier@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>