summaryrefslogtreecommitdiffstats
path: root/fstab.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-02-23 16:59:16 +0000
committerMatt Wilson <msw@redhat.com>2001-02-23 16:59:16 +0000
commit4328d900dcb5201311df893b3e12ed8f6da11d35 (patch)
treef4cd1c7eb34745dcfb9bce45ed6fa57d3dcd832a /fstab.py
parentd8d5782101b8cc70c285c4abf0519d1b54efc2a6 (diff)
downloadanaconda-4328d900dcb5201311df893b3e12ed8f6da11d35.tar.gz
anaconda-4328d900dcb5201311df893b3e12ed8f6da11d35.tar.xz
anaconda-4328d900dcb5201311df893b3e12ed8f6da11d35.zip
don't losetup when making the filesystem on partionless
Diffstat (limited to 'fstab.py')
-rw-r--r--fstab.py11
1 files changed, 2 insertions, 9 deletions
diff --git a/fstab.py b/fstab.py
index 03f78525c..cf5c53af1 100644
--- a/fstab.py
+++ b/fstab.py
@@ -708,22 +708,15 @@ class Fstab:
_("Creating loopback filesystem on device /dev/%s...")
% device))
- isys.losetup("/tmp/loop1", "/mnt/loophost/redhat.img")
-
if self.serial:
messageFile = "/tmp/mke2fs.log"
else:
messageFile = "/dev/tty5"
- ext2FormatFilesystem([ "/usr/sbin/mke2fs", "/tmp/loop1" ],
+ ext2FormatFilesystem([ "/usr/sbin/mke2fs", "-F",
+ "/mnt/loophost/redhat.img"],
messageFile, self.progressWindow,
mntpoint)
-
- # don't leave this setup, or we'll get confused later
- isys.unlosetup("/tmp/loop1")
- isys.umount("/mnt/loophost")
-
- # Next
continue
if self.protectList: