| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
New udev rules for DM stuff use 'MAJOR' and 'MINOR' instead of 'DM_MAJOR'
and 'DM_MINOR', so we need devicelibs.dm.device_is_multipath() to check
for them instead. For now, this code will work with either variety.
This also makes devicelibs.dm.device_is_multipath() take the whole info
blob and do what it needs with it, rather than splitting it up in the
calling function.
|
|
|
|
|
| |
This identifies that a device is part of a multipath, and builds an
mpath device for partitioning.
|
|
|
|
|
|
|
|
|
|
|
| |
* storage/devicelibs/dm.py : For each function that is used in the
storage code, we try to use pyblock first. We fail to calling
dmsetup.
* storage/devices.py : Erased the commented line that had the
pyblock call. We are doing all the pyblock calls from
storage/devicelibs/dm.py.
* storage/devicetree.py : likewise.
* storage/formats/dmraid.py : likewise.
|
|
|
|
|
|
|
|
|
|
|
| |
- Change minsize/maxsize to minSize/maxSize since that's the
convention elsewhere throughout the code.
- Redirect output from all external utilities to tty5, not
/dev/null.
- Don't waste calls to basename for debug log statements,
especially when the device can be None.
- Add lots of missing imports.
- Fix lots of remnants of previous code usage.
|
| |
|
|
|