headers/bsd: Add sys/queue.h.
[haiku.git] / src / system / libroot / os / fs_volume.c
blob175c5e1a791ab9ed74d4efeef3ea3d999da6c4de
1 /*
2 * Copyright 2004-2006, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 */
7 #include <fs_volume.h>
8 #include <syscalls.h>
10 #include <string.h>
13 dev_t
14 fs_mount_volume(const char *where, const char *device,
15 const char *fileSystem, uint32 flags, const char *parameters)
17 return _kern_mount(where, device, fileSystem, flags, (void *)parameters,
18 parameters ? strlen(parameters) : 0);
22 status_t
23 fs_unmount_volume(const char *path, uint32 flags)
25 return _kern_unmount(path, flags);