Home
last modified time | relevance | path

Searched refs:mount_point (Results 1 – 18 of 18) sorted by relevance

/external/autotest/client/tests/wb_kupdate/
Dwb_kupdate.py9 def _check_parameters(self, mount_point, write_size, file_count, argument
21 if not os.path.exists(mount_point):
22 logging.info('%s does not exist. Creating directory.', mount_point)
23 elif not os.path.ismount(mount_point) and old_cleanup:
25 os.rmdir(mount_point)
29 mount_point)
31 os.makedirs(mount_point)
47 utils.system('umount %s' % self.mount_point, ignore_status=True)
55 os.rmdir(self.mount_point)
72 (self.file_system, self.sparse_file, self.mount_point))
[all …]
Dcontrol16 mount_point='/export/wb_kupdate' # Absolute path.
30 old_cleanup=False # Remove a previously created mount_point if it
36 mount_point=mount_point,
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/pyami/installers/ubuntu/
Debs.py110 self.mount_point = boto.config.get('EBS', 'mount_point', '/ebs')
154 mount_point=self.mount_point)
171 if not os.path.isdir(self.mount_point):
174 self.run("mkdir %s" % self.mount_point)
181 if t and t[2] == self.mount_point:
185 self.run('umount %s' % self.mount_point)
190 self.run("mount %s %s" % (self.device, self.mount_point))
191 self.run('xfs_growfs %s' % self.mount_point)
195 f.write('%s\t%s\txfs\tdefaults 0 0\n' % (self.device, self.mount_point))
/external/autotest/server/site_tests/network_DiskFull/
Dhog_disk.sh14 local mount_point="$1"
21 df -P "$mount_point" |
22 awk '($6 == "'"$mount_point"'") { printf "%.0f", $2*1024; exit }'
29 mount_point="$1"
38 temp_file=$(mktemp --tmpdir="$mount_point" hog_disk.XXXXXXXXXX)
Dnetwork_DiskFull.py36 def get_free_kilobytes(self, mount_point): argument
45 output = self._client.run('df -P %s' % mount_point).stdout
50 if df_mount_point != mount_point:
52 (mount_point, df_mount_point))
56 def wait_until_full(self, mount_point, max_free_kilobytes): argument
66 if (self.get_free_kilobytes(mount_point) <= max_free_kilobytes):
/external/autotest/server/cros/
Dfactory_install_test.py163 mount_point = os.path.join(self.tmpdir,
165 if not os.path.exists(mount_point):
166 os.makedirs(mount_point)
171 offset, size, image, mount_point))
172 self.cleanup_tasks.append(lambda: self._umount_partition(mount_point))
173 return mount_point
175 def _umount_partition(self, mount_point): argument
182 if os.path.exists(mount_point):
183 utils.run("sudo umount -d %s" % mount_point)
184 os.rmdir(mount_point)
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/manage/
Dvolume.py83 mount_point = StringProperty(verbose_name='Mount Point') variable in Volume
109 v.mount_point = params.get('mount_point')
148 v.mount_point = self.mount_point
261 if not cmd.isdir(self.mount_point):
264 cmd.run("mkdir %s" % self.mount_point)
271 if t and t[2] == self.mount_point:
275 cmd.run('umount %s' % self.mount_point)
280 cmd.run("mount %s %s" % (self.device, self.mount_point))
281 cmd.run('xfs_growfs %s' % self.mount_point)
294 return self.server.run("/usr/sbin/xfs_freeze -f %s" % self.mount_point)
[all …]
Dtest_manage.py32 status = server.run('ls -al %s' % volume.mount_point)
/external/vboot_reference/scripts/image_signing/
Dmake_dev_ssd.sh75 local mount_point="$(make_temp_dir)"
78 mount_image_partition "$image" 12 "$mount_point" || return $FLAGS_FALSE
79 config_file="$mount_point/efi/boot/grub.cfg"
82 config_file="$mount_point/syslinux/default.cfg"
85 sudo umount "$mount_point"
/external/squashfs-tools/squashfs-tools/
Dandroid.c36 void alloc_mounted_path(const char *mount_point, const char *subpath, char **mounted_path) { in alloc_mounted_path() argument
37 *mounted_path = malloc(strlen(mount_point) + strlen(subpath) + 1); in alloc_mounted_path()
42 strcpy(*mounted_path, mount_point); in alloc_mounted_path()
Dandroid.h24 void alloc_mounted_path(const char *mount_point, const char *subpath, char **mounted_path);
Dxattr.c108 extern char *mount_point;
702 if (mount_point) { in read_xattrs()
704 alloc_mounted_path(mount_point, subpathname(dir_ent), &mounted_path); in read_xattrs()
Dmksquashfs.c91 char *mount_point = NULL; variable
865 char * mount_point, FILE *block_map_file) { in write_block_map_entry() argument
870 fprintf(block_map_file, "/%s", mount_point); in write_block_map_entry()
968 write_block_map_entry(sub_path, start_block, total_size, mount_point, block_map_file); in create_inode()
1008 write_block_map_entry(sub_path, start_block, total_size, mount_point, block_map_file); in create_inode()
3128 if (mount_point) { in add_dir_entry()
3132 alloc_mounted_path(mount_point, subpathname(dir_ent), &mounted_path); in add_dir_entry()
3233 if (mount_point) in dir_scan()
3234 android_fs_config(fs_config_func, mount_point, &buf, target_out_path, &caps); in dir_scan()
5725 mount_point = argv[i]; in main()
[all …]
/external/autotest/client/cros/
Dcryptohome.py246 def __get_mount_info(mount_point, allow_fail=False): argument
252 'grep %s %s' % (mount_point, cryptohomed_path),
258 % os.path.dirname(str(mount_point)))
270 return [__get_mount_info(mount_point=user_path(user),
272 __get_mount_info(mount_point=system_path(user),
/external/autotest/client/site_tests/hardware_UsbBasicFileOperations/
Dhardware_UsbBasicFileOperations.py20 mount_point = storage['mountpoint']
26 dir=mount_point)
/external/autotest/client/virt/
Dvirt_utils.py2353 def umount(src, mount_point, type): argument
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"): argument
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)
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/opsworks/
Dlayer1.py3042 def update_volume(self, volume_id, name=None, mount_point=None): argument
3066 if mount_point is not None:
3067 params['MountPoint'] = mount_point
/external/e2fsprogs/misc/
De4defrag.c263 static int get_mount_point(const char *devname, char *mount_point, in get_mount_point() argument
298 strncpy(mount_point, mnt->mnt_dir, in get_mount_point()