summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2001-06-20 01:49:10 +0000
committerErik Troan <ewt@redhat.com>2001-06-20 01:49:10 +0000
commit098dde8b8cb8dbf60550b92ae0a09778068ac64e (patch)
treeda61f22899b532fc708e43114568d6bc29d5c5a5
parent1759f3d658b56bc3365d6b7989aa447475a52afc (diff)
downloadanaconda-098dde8b8cb8dbf60550b92ae0a09778068ac64e.tar.gz
anaconda-098dde8b8cb8dbf60550b92ae0a09778068ac64e.tar.xz
anaconda-098dde8b8cb8dbf60550b92ae0a09778068ac64e.zip
mount device-less filesystems generically
-rw-r--r--isys/isys.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/isys/isys.py b/isys/isys.py
index f76276352..525877da4 100644
--- a/isys/isys.py
+++ b/isys/isys.py
@@ -108,7 +108,7 @@ def ddfile(file, megs, pw = None):
def mount(device, location, fstype = "ext2", readOnly = 0):
location = os.path.normpath(location)
- if device != "/proc" and device != "/usbdevfs":
+ if device[0] != "/":
devName = "/tmp/%s" % device
makeDevInode(device, devName)
device = devName