Convert a module name to a mount name

def name2mount(self, name):
        """Convert a module name to a mount name"""
        if not self.is_module(name):
            raise ValueError('%r is not a supported module name' % (name, ))
        return name.replace(self.module_prefix, self.mount_prefix)