Home | History | Annotate | Download | only in virt

Lines Matching full:mount_point

2353 def umount(src, mount_point, type):
2355 Umount the src mounted in mount_point.
2358 @mount_point: mount point
2362 mount_string = "%s %s %s" % (src, mount_point, type)
2364 umount_cmd = "umount %s" % mount_point
2371 logging.debug("%s is not mounted under %s", src, mount_point)
2375 def mount(src, mount_point, type, perm="rw"):
2377 Mount the src into mount_point of the host.
2380 @mount_point: mount point
2384 umount(src, mount_point, type)
2385 mount_string = "%s %s %s %s" % (src, mount_point, type, perm)
2389 src, mount_point, perm)
2392 mount_cmd = "mount -t %s %s %s -o %s" % (type, src, mount_point, perm)