/haiku-fatelf/src/bin/ |
H A D | mount.c | 36 const char *mountPoint; local 79 mountPoint = argv[0]; 81 if (mountPoint == NULL) 84 if (stat(mountPoint, &mountStat) < 0) { 85 fprintf(stderr, "%s: The mount point '%s' is not accessible\n", programName, mountPoint); 89 fprintf(stderr, "%s: The mount point '%s' is not a directory\n", programName, mountPoint); 95 volume = fs_mount_volume(mountPoint, device, fs, flags, parameter);
|
H A D | mountvolume.cpp | 190 BPath mountPoint; local 191 partition->GetMountPoint(&mountPoint); 193 mountPoint.Path()); 273 BPath mountPoint; local 275 partition->GetMountPoint(&mountPoint); 279 partition->IsMounted() ? mountPoint.Path() : "", 457 BPath mountPoint; local 458 partition->GetMountPoint(&mountPoint); 460 id < 0 ? "Device" : "Image", name, mountPoint.Path());
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/ufs_mount/ |
H A D | ufs_mount.cpp | 32 const char* mountPoint = argv[3]; local 42 printf("mount('userlandfs', '%s', '%s', %lu, '%s', %ld)\n", mountPoint, device, 44 if (mount("userlandfs", mountPoint, device, flags,
|
/haiku-fatelf/src/tests/kits/storage/ |
H A D | BasicTest.cpp | 86 BasicTest::createVolume(string imageFile, string mountPoint, int32 megs, argument 97 + (makeMountPoint ? " ; mkdir " + mountPoint : "") 98 + " ; mount " + imageFile + " " + mountPoint); local 103 BasicTest::deleteVolume(string imageFile, string mountPoint, argument 107 + " ; unmount " + mountPoint 108 + (deleteMountPoint ? " ; rmdir " + mountPoint : "")
|
H A D | BasicTest.h | 32 static void createVolume(string imageFile, string mountPoint, int32 megs, 34 static void deleteVolume(string imageFile, string mountPoint,
|
H A D | QueryTest.cpp | 408 // mountPoint 434 static QueryTestEntry mountPoint(testMountPoint, B_DIRECTORY_NODE); 435 static QueryTestEntry dir1(mountPoint + "dir1", B_DIRECTORY_NODE); 441 static QueryTestEntry dir2(mountPoint + "dir2", B_DIRECTORY_NODE); 448 static QueryTestEntry dir3(mountPoint + "dir3", B_DIRECTORY_NODE); 454 static QueryTestEntry file1(mountPoint + "file1", B_FILE_NODE); 455 static QueryTestEntry file2(mountPoint + "file2", B_FILE_NODE); 456 static QueryTestEntry file3(mountPoint + "file3", B_FILE_NODE); 457 static QueryTestEntry link1(mountPoint + "link1", B_SYMLINK_NODE, &file1); 458 static QueryTestEntry link2(mountPoint 980 TestFetchPredicateInit(Query &query, TestSet &testSet, const char *mountPoint, const char *predicate, QueryTestEntry **entries, int32 entryCount) argument 1000 TestFetchPredicate(const char *mountPoint, const char *predicate, QueryTestEntry **entries, int32 entryCount) argument [all...] |
/haiku-fatelf/src/add-ons/kernel/file_systems/netfs/netfs_config/ |
H A D | netfs_config.cpp | 79 const char* mountPoint = argv[1]; local 91 int fd = open(mountPoint, O_RDONLY); 93 fprintf(stderr, "Opening `%s' failed: %s\n", mountPoint,
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/netfs/netfs_config/ |
H A D | netfs_config.cpp | 77 const char* mountPoint = argv[1]; local 89 int fd = open(mountPoint, O_RDONLY); 91 fprintf(stderr, "Opening `%s' failed: %s\n", mountPoint,
|
/haiku-fatelf/src/servers/mount/ |
H A D | AutoMounter.h | 53 BPath& mountPoint, const char* name);
|
H A D | AutoMounter.cpp | 616 AutoMounter::_UnmountAndEjectVolume(BPartition* partition, BPath& mountPoint, argument 622 BDiskDeviceRoster().FindPartitionByMountPoint(mountPoint.Path(), 630 status = fs_unmount_volume(mountPoint.Path(), 0); 639 status = fs_unmount_volume(mountPoint.Path(), B_FORCE_UNMOUNT); 688 if (dev_for_path(mountPoint.Path()) == dev_for_path("/")) 689 rmdir(mountPoint.Path()); 725 BDirectory mountPoint; local 726 status = volume.GetRootDirectory(&mountPoint); 728 status = path.SetTo(&mountPoint, ".");
|
/haiku-fatelf/src/kits/storage/disk_device/ |
H A D | Partition.cpp | 452 \param mountPoint Pointer to the path to be set to refer the mount point 457 BPartition::GetMountPoint(BPath* mountPoint) const 459 if (mountPoint == NULL || !ContainsFileSystem()) 468 error = mountPoint->SetTo(&dir, NULL); 502 return mountPoint->SetTo(mountPointPath.String()); 515 \param mountPoint The directory where to mount the file system. May be 524 BPartition::Mount(const char* mountPoint, uint32 mountFlags, argument 539 if (!mountPoint) { 545 mountPoint = mountPointPath.Path(); 550 if (mkdir(mountPoint, S_IRWX [all...] |
H A D | DiskDeviceRoster.cpp | 367 BDiskDeviceRoster::FindPartitionByMountPoint(const char* mountPoint, argument 370 BVolume volume(dev_for_path(mountPoint));
|
/haiku-fatelf/src/apps/installer/ |
H A D | WorkerThread.cpp | 688 BPath mountPoint; local 689 partition->GetMountPoint(&mountPoint); 690 isBootPartition = strcmp(BOOT_PATH, mountPoint.Path()) == 0; 762 BPath mountPoint; local 763 partition->GetMountPoint(&mountPoint); 764 isBootPartition = strcmp(BOOT_PATH, mountPoint.Path()) == 0;
|
/haiku-fatelf/headers/private/storage/ |
H A D | Partition.h | 69 status_t GetMountPoint(BPath* mountPoint) const; 71 dev_t Mount(const char* mountPoint = NULL,
|
H A D | DiskDeviceRoster.h | 122 status_t FindPartitionByMountPoint(const char* mountPoint,
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/random_file_actions/ |
H A D | random_file_actions.cpp | 486 mount_image(const char* image, const char* mountPoint) argument 488 dev_t volume = fs_mount_volume(mountPoint, image, NULL, 0, NULL); 495 unmount_image(const char* mountPoint) argument 497 status_t status = fs_unmount_volume(mountPoint, 0);
|
/haiku-fatelf/src/system/kernel/vm/ |
H A D | VMAnonymousCache.cpp | 1243 get_mount_point(KPartition* partition, KPath* mountPoint) argument 1245 if (!mountPoint || !partition->ContainsFileSystem()) 1259 char* path = mountPoint->LockBuffer(); 1260 int32 pathLen = mountPoint->BufferSize(); 1270 mountPoint->UnlockBuffer(); 1543 KPath devPath, mountPoint; local 1545 get_mount_point(visitor.fBestPartition, &mountPoint); 1546 const char* mountPath = mountPoint.Path();
|
/haiku-fatelf/src/apps/packageinstaller/ |
H A D | PackageView.cpp | 679 BDirectory mountPoint; local 683 || volume.GetRootDirectory(&mountPoint) != B_OK) { 687 if (path.SetTo(&mountPoint, NULL) != B_OK)
|
H A D | PackageItem.cpp | 203 BPath mountPoint(&temp, NULL); 204 ret = destination->SetTo(mountPoint.Path(), fPath.String());
|
/haiku-fatelf/src/tools/fs_shell/ |
H A D | vfs.cpp | 983 struct vnode *mountPoint = NULL; local 987 mountPoint = mount->covers_vnode; 988 inc_vnode_ref_count(mountPoint); 991 return mountPoint; 1227 struct vnode *mountPoint = resolve_mount_point_to_volume_root(vnode); local 1228 if (mountPoint) { 1230 vnode = mountPoint; 1455 struct vnode *mountPoint = resolve_volume_root_to_mount_point(vnode); local 1456 if (mountPoint) { 1458 vnode = mountPoint; [all...] |
/haiku-fatelf/src/add-ons/kernel/file_systems/netfs/server/ |
H A D | ClientConnection.cpp | 576 node_ref mountPoint; local 581 mountPoint = share->GetNodeRef(); 583 mountPoint);
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/netfs/server/ |
H A D | ClientConnection.cpp | 576 node_ref mountPoint; local 581 mountPoint = share->GetNodeRef(); 583 mountPoint);
|
/haiku-fatelf/src/system/kernel/fs/ |
H A D | vfs.cpp | 4999 Vnode* mountPoint = mount->covers_vnode; 5001 *_mountPointMountID = mountPoint->device; 5002 *_mountPointNodeID = mountPoint->id;
|