fs_mount_volume() now returns a dev_t as well - changed mount/mountvolume to take

that into account as well (they were reporting an error even though everything
went fine).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14450 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2005-10-20 13:03:50 +00:00
parent 9949213a25
commit da6d1a7022
6 changed files with 24 additions and 23 deletions
+5 -4
View File
@@ -1,7 +1,8 @@
/* File System volume functions
**
** Distributed under the terms of the Haiku License.
*/
*
* Copyright 2004-2005, Haiku Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _FS_VOLUME_H
#define _FS_VOLUME_H
@@ -20,7 +21,7 @@
extern "C" {
#endif
extern status_t fs_mount_volume(const char *where, const char *device,
extern dev_t fs_mount_volume(const char *where, const char *device,
const char *filesystem, uint32 flags, const char *parameters);
extern status_t fs_unmount_volume(const char *path, uint32 flags);