diff options
Diffstat (limited to 'isys/isys.py')
-rwxr-xr-x | isys/isys.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/isys/isys.py b/isys/isys.py index 07c69a0a1..ee1866686 100755 --- a/isys/isys.py +++ b/isys/isys.py @@ -465,15 +465,6 @@ def driveUsesModule(device, modules): pass return rc -def driveIsIscsi(device): - # ewww. just ewww. - if not os.path.islink("/sys/block/%s/device" %(device,)): - return False - target = os.path.realpath("/sys/block/%s/device" %(device,)) - if re.search("/platform/host[0-9]*/session[0-9]*/target[0-9]*:[0-9]*:[0-9]*/[0-9]*:[0-9]*:[0-9]*:[0-9]*", target) is not None: - return True - return False - def vtActivate (num): if rhpl.getArch() == "s390": return |