2004-10-28 21:00:29 +04:00
|
|
|
/*
|
|
|
|
** Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
|
|
|
|
** Distributed under the terms of the Haiku License.
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#include <fs_volume.h>
|
|
|
|
#include <syscalls.h>
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
2004-11-01 04:03:04 +03:00
|
|
|
fs_mount_volume(const char *where, const char *device,
|
|
|
|
const char *fileSystem, uint32 flags, const char *parameters)
|
2004-10-28 21:00:29 +04:00
|
|
|
{
|
|
|
|
return _kern_mount(where, device, fileSystem, flags, (void *)parameters);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
status_t
|
|
|
|
fs_unmount_volume(const char *path, uint32 flags)
|
|
|
|
{
|
|
|
|
return _kern_unmount(path/*, flags*/);
|
|
|
|
}
|
|
|
|
|