From 3167ced4844c9602e88289607d1c2cc2ecbd5d95 Mon Sep 17 00:00:00 2001 From: Adam Coldrick Date: Wed, 1 Apr 2015 13:13:21 +0000 Subject: Morph build ec57f1c091984187ac6edb767880bea8 System branch: master --- morphlib/fsutils.py | 5 ++--- 1 file 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 -- cgit v1.2.1