summaryrefslogtreecommitdiffstats
path: root/device_cio_free
Commit message (Collapse)AuthorAgeFilesLines
* update ccw_init and device_cio_free for new NetworkManager defaultDan Horák2020-10-071-0/+8
| | | | | | | | update scripts for https://fedoraproject.org/wiki/Changes/NetworkManager_keyfile_instead_of_ifcfg_rh that will be implemented in Fedora 33. In addition to ifcfg files we must look at the NM keyfiles too. New systems will use keyfiles only, but upgraded systems use ifcfg still.
* device_cio_free: move the udevadm settleDan Horák2014-03-051-1/+1
| | | | | | | | Having the udeavdm settle call in the global wait_on_devices function causes a 2 minutes delay during normal startup. Until the cause is known move it just to the wait after freeing aa specified set of devices. https://bugzilla.redhat.com/show_bug.cgi?id=1054691#c15
* device_cio_free: move cio_settle use into wait_on_devicesDan Horák2014-03-041-6/+8
| | | | | | Use cio_settle mechanism in both paths where wait_on_devices is used. Also issue udevadm settle to resolve timing issues when anaconda (or rather blivet) discovers new zFCP devices.
* use the /proc/cio_settle interface to wait until devices become onlineDan Horák2011-02-011-1/+7
| | | | | | | The /proc/cio_settle interface (if available) is used to wait until devices become online. It should seedup the whole process of unblocking devices and also solves situations when non-existent devices are unblocked and timeout is reached when waiting for every such device.
* break the long line into 2 shorter onesDan Horák2010-07-191-1/+2
|
* return a placeholder when no config file existsDan Horák2010-06-291-1/+1
|
* run grep in a defined localeDan Horák2010-06-281-3/+3
| | | | grep should be run with a predefined locale to get reproducable results
* ignore interface config files that match the expression in ↵Dan Horák2010-06-281-1/+11
| | | | | | | __sed_discard_ignored_files device_cio_ignore should match the behaviour of the initscripts network setup functions and ignore the config files that match the expression in __sed_discard_ignored_files
* cleanupDan Horák2010-05-281-1/+1
|
* improve processing of devices given on command lineDan Horák2010-05-281-1/+11
| | | | | When the DEVICE variable exists in the environment that calls device_cio_free then the devices from the command line are appended to this value (rhbz#595569).
* document the requirement of sedDan Horák2010-05-051-1/+1
|
* replace seq with a while cycleDan Horák2010-05-051-4/+10
| | | | | Cecause the seq utility lives in /usr/bin and the script must be runnable without the /usr filesystem mounted, it's replaced by a while cycle.
* switch from tr to sedDan Horák2010-05-051-2/+2
| | | | | use sed for lowercase (and comma to space) substitutions because it lives in /bin while tr lives in /usr/bin and thus requires /usr to be mounted
* drop /usr from PATHDan Horák2010-05-051-1/+1
| | | | The scripts can be run in an environment where /usr is not mounted yet.
* add info about external dependencies and environmentsDan Horák2010-04-211-0/+7
|
* split the comma separated list of devices when freeing themDan Horák2010-04-211-15/+16
|
* implement waiting on devices specified on command lineDan Horák2010-04-211-0/+8
|
* place code for waiting on all devices to a functionDan Horák2010-04-211-52/+57
|
* rename wait_on_device to wait_on_single_deviceDan Horák2010-04-211-2/+2
|
* allow devices to be specified on command lineDan Horák2010-04-071-2/+9
| | | | | Added -d|--device command line option for passing devices that needs to be unblocked.
* surround variables with double quotesDan Horák2010-03-311-6/+6
|
* change mode handling in device_cio_freeDan Horák2010-03-311-34/+40
| | | | | | The mode handling in device_cio_free is now changed so it will process all kinds of devices in one run of the scripts. It lowers the maximum waiting time from 3x 60 secs to 60 secs.
* process command line in a cycleDan Horák2010-03-291-3/+3
|
* introduce "all" modeDan Horák2010-03-261-5/+10
| | | | | A new "all" mode is introduced when we are called with the "device_cio_free" and it means automatic run of all the dasd|zfcp|znet subfunctions.
* fix subchannels regex for znet config fileDan Horák2010-03-251-2/+2
|
* switch from basename/dirname to shell pattern matchingDan Horák2010-03-251-2/+2
|
* import 20100305Dan Horák2010-03-251-1/+13
|
* import 20100204Dan Horák2010-03-251-1/+3
|
* import 20100112Dan Horák2010-03-251-27/+49
|
* import 20100107Dan Horák2010-03-251-27/+102
|
* initial importDan Horák2010-03-251-0/+128