e2793c5db4
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17512 a95241bf-73f2-0310-859d-f6bbb57e9c96
28 lines
556 B
C
28 lines
556 B
C
/*
|
|
* Copyright 2004-2006, 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>
|
|
|
|
#include <string.h>
|
|
|
|
|
|
dev_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,
|
|
parameters ? strlen(parameters) : 0);
|
|
}
|
|
|
|
|
|
status_t
|
|
fs_unmount_volume(const char *path, uint32 flags)
|
|
{
|
|
return _kern_unmount(path, flags);
|
|
}
|
|
|