diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2013-02-07 11:29:57 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2013-02-07 12:53:39 +0000 |
commit | b333b5d15a15b8221f2433467a3765364a2b1e67 (patch) | |
tree | 70559d8f129d14d2edabbabf33870947e57bab72 | |
parent | 439623c9ffbd56fb1241265321e9a2dd8e1437f5 (diff) | |
download | definitions-b333b5d15a15b8221f2433467a3765364a2b1e67.tar.gz |
Let mount choose loop device
Suggested-By: Richard Maw
-rwxr-xr-x | writeexts.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/writeexts.py b/writeexts.py index 676a9d22..a407c059 100755 --- a/writeexts.py +++ b/writeexts.py @@ -91,8 +91,7 @@ class WriteExtension(cliapp.Application): self.status(msg='Mounting filesystem') tempdir = tempfile.mkdtemp() - # FIXME: This hardcodes the loop device. - cliapp.runcmd(['mount', '-o', 'loop=loop0', location, tempdir]) + cliapp.runcmd(['mount', '-o', 'loop', location, tempdir]) return tempdir def unmount(self, mount_point): |