da6d1a7022
that into account as well (they were reporting an error even though everything went fine). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14450 a95241bf-73f2-0310-859d-f6bbb57e9c96
33 lines
639 B
C
33 lines
639 B
C
/* File System volume functions
|
|
*
|
|
* Copyright 2004-2005, Haiku Inc. All Rights Reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef _FS_VOLUME_H
|
|
#define _FS_VOLUME_H
|
|
|
|
#include <OS.h>
|
|
|
|
|
|
/* mount flags */
|
|
#define B_MOUNT_READ_ONLY 1
|
|
#define B_MOUNT_VIRTUAL_DEVICE 2
|
|
|
|
/* unmount flags */
|
|
#define B_FORCE_UNMOUNT 1
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
extern dev_t fs_mount_volume(const char *where, const char *device,
|
|
const char *filesystem, uint32 flags, const char *parameters);
|
|
extern status_t fs_unmount_volume(const char *path, uint32 flags);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* _FS_VOLUME_H */
|