Searched refs:kScratchMountPoint (Results 1 – 1 of 1) sorted by relevance
112 const auto kScratchMountPoint = "/mnt/scratch"s; variable114 const std::vector<const std::string> kOverlayMountPoints = {kScratchMountPoint, kCacheMountPoint};413 umount2(kScratchMountPoint.c_str(), MNT_DETACH); in fs_mgr_overlayfs_umount_scratch()414 LINFO << "umount(" << kScratchMountPoint << ")"; in fs_mgr_overlayfs_umount_scratch()415 rmdir(kScratchMountPoint.c_str()); in fs_mgr_overlayfs_umount_scratch()423 if (overlay != kScratchMountPoint) return true; in fs_mgr_overlayfs_teardown_scratch()430 if (fs_mgr_overlayfs_already_mounted(kScratchMountPoint, false)) { in fs_mgr_overlayfs_teardown_scratch()438 const auto partition_name = android::base::Basename(kScratchMountPoint); in fs_mgr_overlayfs_teardown_scratch()562 if (mkdir(kScratchMountPoint.c_str(), 0755) && (errno != EEXIST)) { in fs_mgr_overlayfs_mount_scratch()563 PERROR << "create " << kScratchMountPoint; in fs_mgr_overlayfs_mount_scratch()[all …]