Added our preliminary mount replacements.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9567 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
da87ac8c9a
commit
2c4f728f7e
@ -7,6 +7,17 @@ KernelObjects
|
|||||||
: -fPIC -DPIC
|
: -fPIC -DPIC
|
||||||
;
|
;
|
||||||
|
|
||||||
|
# kernel libroot os files
|
||||||
|
|
||||||
|
KernelMergeObject kernel_os_main.o :
|
||||||
|
driver_settings.c
|
||||||
|
: -fno-pic
|
||||||
|
;
|
||||||
|
|
||||||
|
SEARCH on [ FGristFiles
|
||||||
|
driver_settings.c
|
||||||
|
] = [ FDirName $(OBOS_TOP) src kernel libroot os ] ;
|
||||||
|
|
||||||
# kernel libroot posix files
|
# kernel libroot posix files
|
||||||
|
|
||||||
SEARCH_SOURCE += [ FDirName $(SUBDIR) posix ] ;
|
SEARCH_SOURCE += [ FDirName $(SUBDIR) posix ] ;
|
||||||
|
@ -3,23 +3,24 @@ SubDir OBOS_TOP src kernel libroot os ;
|
|||||||
SubDirHdrs [ FCurrentObjectsDir ] ;
|
SubDirHdrs [ FCurrentObjectsDir ] ;
|
||||||
|
|
||||||
KernelMergeObject os_main.o :
|
KernelMergeObject os_main.o :
|
||||||
<$(SOURCE_GRIST)>area.c
|
area.c
|
||||||
<$(SOURCE_GRIST)>atomic.c
|
atomic.c
|
||||||
<$(SOURCE_GRIST)>debug.c
|
debug.c
|
||||||
<$(SOURCE_GRIST)>driver_settings.c
|
driver_settings.c
|
||||||
<$(SOURCE_GRIST)>fs_attr.c
|
fs_attr.c
|
||||||
<$(SOURCE_GRIST)>fs_index.c
|
fs_index.c
|
||||||
<$(SOURCE_GRIST)>fs_info.c
|
fs_info.c
|
||||||
<$(SOURCE_GRIST)>fs_query.cpp
|
fs_query.cpp
|
||||||
<$(SOURCE_GRIST)>image.c
|
fs_volume.c
|
||||||
<$(SOURCE_GRIST)>parsedate.cpp
|
image.c
|
||||||
<$(SOURCE_GRIST)>port.c
|
parsedate.cpp
|
||||||
<$(SOURCE_GRIST)>sem.c
|
port.c
|
||||||
<$(SOURCE_GRIST)>system_info.c
|
sem.c
|
||||||
<$(SOURCE_GRIST)>team.c
|
system_info.c
|
||||||
<$(SOURCE_GRIST)>thread.c
|
team.c
|
||||||
<$(SOURCE_GRIST)>time.c
|
thread.c
|
||||||
<$(SOURCE_GRIST)>syscalls.S
|
time.c
|
||||||
|
syscalls.S
|
||||||
:
|
:
|
||||||
-fPIC -DPIC
|
-fPIC -DPIC
|
||||||
;
|
;
|
||||||
@ -27,8 +28,4 @@ KernelMergeObject os_main.o :
|
|||||||
# We need to specify the dependency on the generated syscalls file explicitly.
|
# We need to specify the dependency on the generated syscalls file explicitly.
|
||||||
Depends [ FGristFiles syscalls.o ] : <syscalls>syscalls.S.inc ;
|
Depends [ FGristFiles syscalls.o ] : <syscalls>syscalls.S.inc ;
|
||||||
|
|
||||||
MergeObjectFromObjects kernel_os_main.o :
|
|
||||||
<$(SOURCE_GRIST)>driver_settings.o
|
|
||||||
;
|
|
||||||
|
|
||||||
SubInclude OBOS_TOP src kernel libroot os arch ;
|
SubInclude OBOS_TOP src kernel libroot os arch ;
|
||||||
|
32
src/kernel/libroot/os/fs_volume.c
Normal file
32
src/kernel/libroot/os/fs_volume.c
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
/*
|
||||||
|
** 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
|
||||||
|
fs_mount_volume(const char *fileSystem, const char *where,
|
||||||
|
const char *device, 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*/);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
status_t
|
||||||
|
fs_initialize_volume(const char *fileSystem, const char *volumeName,
|
||||||
|
const char *device, uint32 flags, const char *parameters)
|
||||||
|
{
|
||||||
|
return B_ERROR;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user