diff options
author | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2015-04-01 14:42:13 +0000 |
---|---|---|
committer | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2015-04-10 13:52:26 +0000 |
commit | daee3628c37798fa60172b6ad026dfd304c858b6 (patch) | |
tree | 7f0db6f2d032da148709c1bc149ce2ef541cdc57 | |
parent | b8fdee4f9152b68dfaa3522b26aec347449b5d8e (diff) | |
download | morph-daee3628c37798fa60172b6ad026dfd304c858b6.tar.gz |
fixup: Its unionfs-fuse, not unionfs
-rw-r--r-- | morphlib/fsutils.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/morphlib/fsutils.py b/morphlib/fsutils.py index 400ff7d8..84bae8cb 100644 --- a/morphlib/fsutils.py +++ b/morphlib/fsutils.py @@ -65,14 +65,13 @@ def overlay_mount(runcmd, partition, mount_point, options = '-olowerdir=%s,upperdir=%s,workdir=%s' % \ (lowerdir, upperdir, workdir) mount(runcmd, partition, mount_point, 'overlay', options) - elif method == 'unionfs': + elif method == 'unionfs-fuse': if not os.path.exists(mount_point): os.mkdir(mount_point) dir_string = '%s=RW:%s=RO' % (upperdir, lowerdir) runcmd(['unionfs', '-o', 'cow', dir_string, mount_point]) else: - raise cliapp.AppException('Union filesystem %s not supported' % - method) + raise Exception('Union filesystem %s not supported' % method) def unmount(runcmd, mount_point): # pragma: no cover |