1 /* 2 * Copyright 2004-2005, 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 11 dev_t 12 fs_mount_volume(const char *where, const char *device, 13 const char *fileSystem, uint32 flags, const char *parameters) 14 { 15 return _kern_mount(where, device, fileSystem, flags, (void *)parameters, parameters ? strlen(parameters) : 0); 16 } 17 18 19 status_t 20 fs_unmount_volume(const char *path, uint32 flags) 21 { 22 return _kern_unmount(path, flags); 23 } 24 25