Add mount_nfs to the build. this should probably go away, mount should be enough.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19885 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol
2007-01-20 20:24:46 +00:00
parent 3567f14ef5
commit ca9f61b3d8
3 changed files with 18 additions and 1 deletions
+1
View File
@@ -3,6 +3,7 @@ SubDir HAIKU_TOP src bin network ;
SubInclude HAIKU_TOP src bin network arp ;
SubInclude HAIKU_TOP src bin network ftp ;
SubInclude HAIKU_TOP src bin network ifconfig ;
SubInclude HAIKU_TOP src bin network mount_nfs ;
SubInclude HAIKU_TOP src bin network netstat ;
#SubInclude HAIKU_TOP src bin network pppconfig ;
#SubInclude HAIKU_TOP src bin network ppp_up ;
+8
View File
@@ -0,0 +1,8 @@
SubDir HAIKU_TOP src bin network mount_nfs ;
UsePrivateHeaders net ;
BinCommand mount_nfs :
mount_nfs.cpp
: libnetwork.so
;
+9 -1
View File
@@ -8,6 +8,14 @@
#include <unistd.h>
#include <signal.h>
#include <sys/socket.h>
#ifdef __HAIKU__
#include <fs_volume.h>
int mount(const char *filesystem, const char *where, const char *device, ulong flags, void *parameters, size_t len)
{
(void) len;
return fs_mount_volume(where, device, filesystem, flags, (const char *)parameters);
}
#endif
struct mount_nfs_params
{
@@ -31,7 +39,7 @@ int main (int argc, char **argv)
signal(SIGINT, SIG_IGN);
signal(SIGHUP, SIG_IGN);
BApplication theApp ("application/x-vnd.barecode-mount_nfs");
//BApplication theApp ("application/x-vnd.barecode-mount_nfs");
if (argc!=5)
{