diff options
| author | David Cantrell <dcantrell@redhat.com> | 2010-03-29 10:01:21 -1000 |
|---|---|---|
| committer | David Cantrell <dcantrell@redhat.com> | 2010-03-30 03:59:44 -1000 |
| commit | cc462ffe4e10cceae338e1f442cbf516dcacb63b (patch) | |
| tree | eb3628d5018af06a272f15128224de159c0e24f1 /scripts | |
| parent | ee601630b1b7f72d6728e704a8332e98084236fe (diff) | |
| download | anaconda-cc462ffe4e10cceae338e1f442cbf516dcacb63b.tar.gz anaconda-cc462ffe4e10cceae338e1f442cbf516dcacb63b.tar.xz anaconda-cc462ffe4e10cceae338e1f442cbf516dcacb63b.zip | |
Use /sbin/dasd_cio_free to free blacklisted DASDs (#558881)
Use the dasd_cio_free command to free blacklisted DASDs and block until
they are available to set online and set other attributes. We were just
writing "free $DEVICE" to /proc/cio_ignore, but we lacked the wait loop
to make sure the device showed up. The /sbin/dasd_cio_free command does
that for us, so we can just call that.
NOTE: The dasd_cio_free command reads the DASD list from the output of
the 'modprobe --showconfig' command, so the $DASD list is placed in the
/etc/modprobe.d/dasd_mod.conf in module option format so that modprobe
can return it correctly.
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/upd-instroot | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/upd-instroot b/scripts/upd-instroot index d8375b452..f35b49dd8 100755 --- a/scripts/upd-instroot +++ b/scripts/upd-instroot @@ -725,6 +725,7 @@ lib/modules/ibm lib/s390-tools/lsznet.raw lib/s390-tools/znetcontrolunits lib/security +sbin/*_cio_free sbin/arp sbin/cmsfscat sbin/cmsfslst |
