Displaying 1 result from an estimated 1 matches for "root2_label_lookup_cmd".
2010 Oct 27
0
[PATCH node] add uninstall module
...t_label_lookup_cmd, shell=True, stdout=PIPE, stderr=STDOUT)
+ root_device = root_label_lookup.stdout.read()
+ if root_device is None:
+ log("Can't find Root device")
+ sys.exit(2)
+ root_dev, root_part = get_part_info(root_device)
+
+ root2_label_lookup_cmd = "findfs LABEL=" + root2
+ root2_label_lookup = subprocess.Popen(root2_label_lookup_cmd, shell=True, stdout=PIPE, stderr=STDOUT)
+ root2_device = root2_label_lookup.stdout.read()
+ if root2_device is None:
+ log("Can't find RootBackup/RootNew/Root...