summaryrefslogtreecommitdiffstats
path: root/isys/testprobe
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2000-05-10 19:31:56 +0000
committerMike Fulbright <msf@redhat.com>2000-05-10 19:31:56 +0000
commit4ee82679bcd32f74d2b522e02f86d958c8eca486 (patch)
tree2ba43aa5237c8e8718172ce779819dd1ba45441c /isys/testprobe
parent7a4f5c0340377e78859b02098a5c84e4ab621ad1 (diff)
downloadanaconda-4ee82679bcd32f74d2b522e02f86d958c8eca486.tar.gz
anaconda-4ee82679bcd32f74d2b522e02f86d958c8eca486.tar.xz
anaconda-4ee82679bcd32f74d2b522e02f86d958c8eca486.zip
Added support for detecting and optionally (based on expert mode setting) ignoring removable devices
Diffstat (limited to 'isys/testprobe')
-rwxr-xr-xisys/testprobe5
1 files changed, 3 insertions, 2 deletions
diff --git a/isys/testprobe b/isys/testprobe
index ebfe2f09a..4ed5dce9c 100755
--- a/isys/testprobe
+++ b/isys/testprobe
@@ -23,7 +23,8 @@ for (dclass, path, comment) in p:
# print "IDE Test-> ",path,_isys.isIdeRemovable("/dev/"+path)
# print "SCSI Test-> ",path,_isys.isScsiRemovable("/dev/"+path)
import isys
-
- print path, isys.driveIsRemovable(path)
+
+ if dclass != 'net':
+ print path, isys.driveIsRemovable(path)