Searched refs:scratch_device (Results 1 – 3 of 3) sorted by relevance
383 bool MakeScratchFilesystem(const std::string& scratch_device) { in MakeScratchFilesystem() argument403 command += " " + scratch_device + " >/dev/null 2>/dev/null </dev/null"; in MakeScratchFilesystem()404 fs_mgr_set_blk_ro(scratch_device, false); in MakeScratchFilesystem()407 LERROR << "make " << fs_type << " filesystem on " << scratch_device << " return=" << ret; in MakeScratchFilesystem()432 static bool CreateDynamicScratch(std::string* scratch_device, bool* partition_exists) { in CreateDynamicScratch() argument502 if (!CreateLogicalPartition(params, scratch_device)) { in CreateDynamicScratch()505 } else if (scratch_device->empty()) { in CreateDynamicScratch()506 *scratch_device = GetBootScratchDevice(); in CreateDynamicScratch()534 static bool CreateScratchOnData(std::string* scratch_device, bool* partition_exists) { in CreateScratchOnData() argument543 if (images->GetMappedImageDevice(partition_name, scratch_device)) { in CreateScratchOnData()[all …]
687 auto scratch_device = GetBootScratchDevice(); in TryMountScratch() local688 if (access(scratch_device.c_str(), R_OK | W_OK)) { in TryMountScratch()691 if (!WaitForFile(scratch_device, 10s)) { in TryMountScratch()694 if (!MountScratch(scratch_device, true /* readonly */)) { in TryMountScratch()701 MountScratch(scratch_device); in TryMountScratch()
1269 scratch_device=$(echo "${M}" | awk '{ print $1 }')1271 scratch_size=$(adb_sh df -k "${scratch_device}" </dev/null |1273 [ -z "${scratch_size}" ] && die "cannot get size of scratch device (${scratch_device})"1295 …LOG INFO "scratch device ${scratch_device} filesystem ${scratch_filesystem} size ${scratch_size}Ki…