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