Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Open Source > Linux
|
Linux General discussion of programming the various flavors of Linux operating systems.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Linux section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 15th, 2004, 01:09 AM
Registered User
 
Join Date: Apr 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default mount system call

Hi all,

I'd like a file system present on one machine to be made available on another machine. I used the mount command for this. But got an error saying finding the address for the remote machine and it fails after that.
Is there any other way for me to do the same?
Is there any system call in C to help me with this problem?

Hope I get a solution from one of u... :)



----------------
Hell is where i am...
~Cherub
 
Old June 25th, 2004, 07:24 AM
Registered User
 
Join Date: Jun 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

To make a Directory to be visible on other machine it should be remote mounted on the other machine.

The command looks like this.

mount <ipaddress>:/the directory u with to mount from host /target directory

For this u should have an entry of the target machine ip address in the file /etc/exports with permission of read r write

then run exportfs -ar

restart the nfs daemon in ur machine

now execute the mount system call on the target machine

everthing should work fine

Thanks & regards,
Sundar.

P.Sundara Rajan,
Member Development,
RTTS,Bangalore,India.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Mount file systems js_newbie Linux 2 August 4th, 2007 04:48 AM
Insert System date and System Time -Form _TextBox cnkumar74 VB How-To 14 February 14th, 2007 10:52 AM
System Call cavaleiro4 C++ Programming 4 March 30th, 2006 06:25 AM
Casting System::Object __gc * to System.Double[] nepsat Visual C++ 3 November 19th, 2005 12:51 PM
call by system Dennis Pro JSP 0 December 2nd, 2003 11:46 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.