def unmount_path(path, force=False):
        """
        Unmounts the directory specified by path.
        """
        r = util.subp(['umount', path])
        if not force:
            if r.return_code != 0:
                raise ValueError(r.stderr)