summaryrefslogtreecommitdiffstats
path: root/iutil.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2007-07-25 18:02:53 +0000
committerJeremy Katz <katzj@redhat.com>2007-07-25 18:02:53 +0000
commitc5fccc19ec76fd99ca63b38c764fe89360fde092 (patch)
tree3fa9ac027a36a1f863d7c4c4d3ea6a75265e698b /iutil.py
parent3b392e7ba791a1b4c9c208e6bd895b2d9daad92a (diff)
2007-07-25 Jeremy Katz <katzj@redhat.com>
* fsset.py (allocateLoopback): Use /dev/loopX instead of /tmp/loopX * urlinstall.py (UrlInstallMethod.systemMounted): Use /dev/loop0 instead of /tmp/loop. (UrlInstallMethod.systemUnmounted): Likewise. * rescue.py (runRescue): Loop devices made generally now. * harddrive.py (HardDriveInstallMethod.mountMedia): Use /dev/loop3 instead of /tmp/loop (HardDriveInstallMethod.umountMedia): Likewise. * image.py (CdromInstallMethod.systemUnmounted): Use /dev/loop0 instead of /tmp/loop (CdromInstallMethod.systemMounted): Likewise. (NfsIsoInstallMethod.mountImage): Likewise for /dev/loop3 (NfsIsoInstallMethod.umountImage): Likewise. (findIsoImages): Likewise for /dev/loop2. * iutil.py (makeDriveDeviceNodes): Make loop devices.
Diffstat (limited to 'iutil.py')
-rw-r--r--iutil.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/iutil.py b/iutil.py
index 824311157..8194824f3 100644
--- a/iutil.py
+++ b/iutil.py
@@ -270,6 +270,11 @@ def makeDriveDeviceNodes():
# make the node for the device mapper
makeDMNode()
+
+ # make loop devices
+ for loopMinor in range(0, 8):
+ loop = "loop%d" %(loopMinor,)
+ isys.makeDevInode(loop, "/dev/%s" %(loop,))
# this is disgusting and I feel very dirty
def hasiSeriesNativeStorage():