return("No mount point for root partition in GlobalStorage","GlobalStorage does not contain a \"rootMountPoint\" key, doing nothing")
return("No mount point for root partition in globalstorage",
ifnotos.path.exists(rootMountPoint):
"globalstorage does not contain a \"rootMountPoint\" key, "
return("Bad mount point for root partition in GlobalStorage","GlobalStorage[\"rootMountPoint\"] is \"{}\", which does not exist, doing nothing".format(rootMountPoint))
"doing nothing")
ifnotos.path.exists(root_mount_point):
lst=listMounts(rootMountPoint)
return("Bad mount point for root partition in globalstorage",
"globalstorage[\"rootMountPoint\"] is \"{}\", which does not "
"exist, doing nothing".format(root_mount_point))
lst=list_mounts(root_mount_point)
# Sort the list by mount point in decreasing order. This way we can be sure
# Sort the list by mount point in decreasing order. This way we can be sure