Public bug reported:

static int channel_device (const char *i)
{
        unsigned int ret;
        if (sscanf (i, "0.0.%04x", &ret) == 1)
                return ret;
        if (sscanf (i, "%04x", &ret) == 1)
                return ret;
        return -1;
}

And subsequenty assumes that dasd drive must be an integer, and always
under 0.0. prefix. In actual fact 1.1. ids could be used too. At least,
linux kernel can.

** Affects: s390-dasd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1583138

Title:
  s390-dasd assumes all drives are on 0.0. prefix

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/s390-dasd/+bug/1583138/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to