proc = subprocess.Popen(["mount"] + list(mount_options) + [source, target])
proc.wait()
if proc.returncode != 0:
- raise CriticalException("Error executing mount")
+ raise CriticalException("Error executing mount (no filesystem on the partition?)")
else:
logging.debug("register_mountpoint(%s)" % target)
register_mountpoint(target)