summaryrefslogtreecommitdiffstats
path: root/partedUtils.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-06-22 17:18:11 +0000
committerChris Lumens <clumens@redhat.com>2006-06-22 17:18:11 +0000
commit4cb0ba1d9610eebac6f1086d19b972e9534384d6 (patch)
treecd2e1c7914156826a11868cc0f7a42d56a7a53f2 /partedUtils.py
parent12bd0888d8f37a4aac566d1a47b1b7bbfa090c22 (diff)
downloadanaconda-4cb0ba1d9610eebac6f1086d19b972e9534384d6.tar.gz
anaconda-4cb0ba1d9610eebac6f1086d19b972e9534384d6.tar.xz
anaconda-4cb0ba1d9610eebac6f1086d19b972e9534384d6.zip
Instead of detecting whether a device is removable or not, detect whether
there is media present in devices where it may be removed. This should finish up getting USB installation working.
Diffstat (limited to 'partedUtils.py')
-rw-r--r--partedUtils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/partedUtils.py b/partedUtils.py
index 87532fcd8..772d8670a 100644
--- a/partedUtils.py
+++ b/partedUtils.py
@@ -915,7 +915,7 @@ class DiskSet:
if drive in DiskSet.skippedDisks:
continue
deviceFile = isys.makeDevInode(drive, "/dev/" + drive)
- if isys.driveIsRemovable(drive) and not flags.expert:
+ if not isys.mediaPresent(drive):
DiskSet.skippedDisks.append(drive)
continue
# FIXME: need the right fix for z/VM formatted dasd