1 /* File System volume functions 2 ** 3 ** Distributed under the terms of the Haiku License. 4 */ 5 #ifndef _FS_VOLUME_H 6 #define _FS_VOLUME_H 7 8 #include <OS.h> 9 10 11 /* mount flags */ 12 #define B_MOUNT_READ_ONLY 1 13 #define B_MOUNT_VIRTUAL_DEVICE 2 14 15 /* unmount flags */ 16 #define B_FORCE_UNMOUNT 1 17 18 19 #ifdef __cplusplus 20 extern "C" { 21 #endif 22 23 extern status_t fs_mount_volume(const char *where, const char *device, 24 const char *filesystem, uint32 flags, const char *parameters); 25 extern status_t fs_unmount_volume(const char *path, uint32 flags); 26 27 #ifdef __cplusplus 28 } 29 #endif 30 31 #endif /* _FS_VOLUME_H */ 32