Searched refs:mount_point (Results 1 - 4 of 4) sorted by relevance

/freebsd-13-stable/contrib/kyua/utils/fs/
H A Doperations.cpp158 /// \param mount_point Location on which to mount a tmpfs.
161 run_mount_tmpfs(const fs::path& mount_point, const uint64_t size) argument
176 mount_args[last++] = mount_point.c_str();
187 mount_args[last++] = mount_point.c_str();
198 mount_args[last++] = mount_point.c_str();
209 mount_args[last++] = mount_point.c_str();
220 std::cout << "Mounting tmpfs onto " << mount_point << " with:"; local
237 /// \param mount_point The file system to unmount.
241 unmount_with_unmount2(const fs::path& mount_point) argument
245 if (::unmount(mount_point
261 unmount_with_umount8(const fs::path& mount_point) argument
644 const fs::path mount_point = in_mount_point.is_absolute() ? local
780 const fs::path mount_point = in_mount_point.is_absolute() ? local
[all...]
H A Doperations_test.cpp274 /// \param mount_point Path to the mount point to unmount.
276 cleanup_mount_point(const fs::path& cookie, const fs::path& mount_point) argument
280 fs::unmount(mount_point);
283 std::cerr << "Failed trying to unmount " + mount_point.str() +
297 const fs::path mount_point("mount_point");
298 fs::mkdir(mount_point, 0755);
299 fs::mount_tmpfs(mount_point, units::bytes(32 * units::MB));
301 const units::bytes space = fs::free_disk_space(fs::path(mount_point));
302 fs::unmount(mount_point);
[all...]
/freebsd-13-stable/contrib/smbfs/mount_smbfs/
H A Dmount_smbfs.c61 static char mount_point[MAXPATHLEN + 1]; variable
228 realpath(argv[optind], mount_point);
230 if (stat(mount_point, &st) == -1)
231 err(EX_OSERR, "could not find mount point %s", mount_point);
234 err(EX_OSERR, "can't mount on %s", mount_point);
237 if (smb_getextattr(mount_point, &einfo) == 0)
238 errx(EX_OSERR, "can't mount on %s twice", mount_point);
279 build_iovec(&iov, &iovlen, "fspath", mount_point, -1);
281 build_iovec(&iov, &iovlen, "mountpoint", mount_point, -1);
292 smb_error("mount error: %s %s", error, mount_point, errms
[all...]
/freebsd-13-stable/sys/fs/smbfs/
H A Dsmbfs.h52 char mount_point[MAXPATHLEN]; member in struct:smbfs_args

Completed in 114 milliseconds