diff options
author | Matt Wilson <msw@redhat.com> | 2001-02-23 16:59:16 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2001-02-23 16:59:16 +0000 |
commit | 4328d900dcb5201311df893b3e12ed8f6da11d35 (patch) | |
tree | f4cd1c7eb34745dcfb9bce45ed6fa57d3dcd832a /fstab.py | |
parent | d8d5782101b8cc70c285c4abf0519d1b54efc2a6 (diff) | |
download | anaconda-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.py | 11 |
1 files changed, 2 insertions, 9 deletions
@@ -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: |