Lines Matching refs:root
198 path = self.__img.root
246 zdict = _list_zones(self.__img.root,
273 def init_root(self, root):
287 # always execute with "/" as their root. so if the current
289 # root.
290 root = self.__img.root.rstrip(os.sep) + os.sep
291 return (os.sep, root)
380 # relative to that zone's root).
443 def _list_zones(root, path_transform):
444 """Get the zones associated with the image located at 'root'. We
446 tuples containing zone root path and current state. The global zone is
461 # make sure "root" has a trailing '/'
462 root = root.rstrip(os.sep) + os.sep
465 cmd.extend(["-R", str(root), "list", "-cp"])
502 # append "/root" to zonepath
503 z_rootpath = os.path.join(z_path, "root")
504 assert z_rootpath.startswith(root), \
506 z_rootpath, root)