Home | History | Annotate | Download | only in vold

Lines Matching refs:devicePath

251     char devicePath[255];
262 sprintf(devicePath, "/dev/block/vold/%d:%d",
265 if (initializeMbr(devicePath)) {
271 sprintf(devicePath, "/dev/block/vold/%d:%d",
275 SLOGI("Formatting volume %s (%s)", getLabel(), devicePath);
278 if (Fat::format(devicePath, 0, wipe)) {
416 char devicePath[255];
418 sprintf(devicePath, "/dev/block/vold/%d:%d", major(deviceNodes[i]),
421 SLOGI("%s being considered for volume %s\n", devicePath, getLabel());
426 if (Fat::check(devicePath)) {
428 SLOGW("%s does not contain a FAT filesystem\n", devicePath);
433 SLOGE("%s failed FS checks (%s)", devicePath, strerror(errno));
441 if (Fat::doMount(devicePath, getMountpoint(), false, false, false,
443 SLOGE("%s failed to mount via VFAT (%s)\n", devicePath, strerror(errno));
447 extractMetadata(devicePath);
651 int Volume::extractMetadata(const char* devicePath) {
657 cmd += devicePath;
685 ALOGW("blkid failed to identify %s", devicePath);