Ubuntu defaults to using and supporting chzdev. There are no Ubuntu
releases without chzdev. Please ask other distros to ship chzdev for
cross-distro compatibility and support.

If this is being automated inside scripts, one needs to replicate
everything that chzdev does - including waiting for the udev to settle.

I recommend you to do something like this:

if ! chzdev dasd-eckd 0199 -e -p; then
echo 1 > /sys/bus/ccw/devices/0.0.0199/online
fi

Or e.g.:
chzdev dasd-eckd 0199 -e -p || :
echo 1 > /sys/bus/ccw/devices/0.0.0199/online

Such that the default and preffered method to enable the devices is
always attempted and used first, rather than as a fallback. Especially
since all distributions will support chzdev eventually.

Please note, that since many distributions ar emerging sbin & bin, and /
with /usr, encoding full path to chzdev might not be as future proof as
using $PATH look-up.

** Changed in: linux (Ubuntu)
       Status: New => Incomplete

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

Title:
  dasdfmt fails after vary online. syslog show strange message "The disk
  layout of the DASD is not supported"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1643527/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to