>>> On 5/19/2016 at 07:33 AM, Malcolm Beattie <[email protected]> wrote: > my $dev = sprintf("/dev/disk/by-path/ccw-0.0.%04s", $devno);
You should not assume that the first two pieces of the busid will always be 0.0. Even today, it can be 0.1 or 0.2, etc., depending on what CSS the device is in. Mark Post ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/
