Searched refs:mount_point (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/kyua/utils/fs/ |
H A D | operations.cpp | 161 run_mount_tmpfs(const fs::path& mount_point, const uint64_t size) in run_mount_tmpfs() argument 176 mount_args[last++] = mount_point.c_str(); in run_mount_tmpfs() 187 mount_args[last++] = mount_point.c_str(); in run_mount_tmpfs() 198 mount_args[last++] = mount_point.c_str(); in run_mount_tmpfs() 209 mount_args[last++] = mount_point.c_str(); in run_mount_tmpfs() 220 std::cout << "Mounting tmpfs onto " << mount_point << " with:"; in run_mount_tmpfs() 241 unmount_with_unmount2(const fs::path& mount_point) in unmount_with_unmount2() argument 245 if (::unmount(mount_point.c_str(), 0) == -1) { in unmount_with_unmount2() 247 throw fs::system_error(F("unmount(%s) failed") % mount_point, in unmount_with_unmount2() 261 unmount_with_umount8(const fs::path& mount_point) in unmount_with_umount8() argument [all …]
|
H A D | operations_test.cpp | 276 cleanup_mount_point(const fs::path& cookie, const fs::path& mount_point) in cleanup_mount_point() argument 280 fs::unmount(mount_point); in cleanup_mount_point() 283 std::cerr << "Failed trying to unmount " + mount_point.str() + in cleanup_mount_point() 297 const fs::path mount_point("mount_point"); in ATF_TEST_CASE_BODY() local 298 fs::mkdir(mount_point, 0755); in ATF_TEST_CASE_BODY() 299 fs::mount_tmpfs(mount_point, units::bytes(32 * units::MB)); in ATF_TEST_CASE_BODY() 301 const units::bytes space = fs::free_disk_space(fs::path(mount_point)); in ATF_TEST_CASE_BODY() 302 fs::unmount(mount_point); in ATF_TEST_CASE_BODY() 571 const fs::path mount_point("mount_point"); in test_mount_tmpfs_ok() local 572 fs::mkdir(mount_point, 0755); in test_mount_tmpfs_ok() [all …]
|
/freebsd/contrib/smbfs/mount_smbfs/ |
H A D | mount_smbfs.c | 61 static char mount_point[MAXPATHLEN + 1]; variable 228 realpath(argv[optind], mount_point); in main() 230 if (stat(mount_point, &st) == -1) in main() 231 err(EX_OSERR, "could not find mount point %s", mount_point); in main() 234 err(EX_OSERR, "can't mount on %s", mount_point); in main() 279 build_iovec(&iov, &iovlen, "fspath", mount_point, -1); in main() 281 build_iovec(&iov, &iovlen, "mountpoint", mount_point, -1); in main() 292 smb_error("mount error: %s %s", error, mount_point, errmsg); in main()
|
/freebsd/sys/fs/smbfs/ |
H A D | smbfs.h | 50 char mount_point[MAXPATHLEN]; member
|