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 */
5
6
7#include <fs_volume.h>
8#include <syscalls.h>
9
10#include <string.h>
11
12
13dev_t
14fs_mount_volume(const char *where, const char *device,
15	const char *fileSystem, uint32 flags, const char *parameters)
16{
17	return _kern_mount(where, device, fileSystem, flags, (void *)parameters,
18		parameters ? strlen(parameters) : 0);
19}
20
21
22status_t
23fs_unmount_volume(const char *path, uint32 flags)
24{
25	return _kern_unmount(path, flags);
26}
27
28