Lines Matching refs:mountpoint
81 def wipe_filesystem(job, mountpoint): argument
82 wipe_cmd = 'rm -rf %s/*' % mountpoint
360 mountpoint = mountpoint_func(partitions[0])
363 job.run_test(test, tag=tag, partitions=partitions, dir=mountpoint, **dargs)
376 def __init__(self, job, device, loop_size=0, mountpoint=None): argument
388 self.mountpoint = mountpoint
428 mountpoint = mountpoint_func(self)
429 if not mountpoint:
433 if not os.path.isdir(mountpoint):
434 os.makedirs(mountpoint)
435 self.mount(mountpoint)
467 self.job.run_test(test, tag=test_tag, dir=mountpoint, **dargs)
473 mountpoint = mountpoint_func(self)
478 test_tag=tag, dir=mountpoint, **dargs)
497 if parts[0] == self.device or parts[1] == self.mountpoint:
639 def mount(self, mountpoint=None, fstype=None, args='', record=True): argument
665 if not mountpoint and not self.mountpoint:
668 if not mountpoint:
669 mountpoint = self.mountpoint
671 mount_cmd = "mount %s %s %s" % (args, self.device, mountpoint)
677 if list_mount_points().count(mountpoint):
749 mountpoint = self.get_mountpoint()
750 if not mountpoint:
757 umount_cmd = "umount " + mountpoint