haiku/src/system/libroot/os/fs_volume.c

25 lines
494 B
C
Raw Normal View History

/*
* Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#include <fs_volume.h>
#include <syscalls.h>
status_t
fs_mount_volume(const char *where, const char *device,
const char *fileSystem, uint32 flags, const char *parameters)
{
return _kern_mount(where, device, fileSystem, flags, (void *)parameters);
}
status_t
fs_unmount_volume(const char *path, uint32 flags)
{
return _kern_unmount(path, flags);
}