LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-01-2009, 10:57 AM   #1
Latitude
Member
 
Registered: Mar 2009
Posts: 65

Rep: Reputation: 16
Correct syntax for an NFS shared directory


NFS filesharing question:

If I want to share a directory called /home/me, would I go to my /etc/exports file and share /home/me/* or would I share /home/me ? I am unsure of how to type this into the file. Thanks!

Last edited by Latitude; 06-01-2009 at 10:58 AM.
 
Old 06-01-2009, 02:28 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
You would use the second form. Something like:

Code:
/home/me 192.168.1.0/255.255.255.0(ro)
 
Old 06-01-2009, 03:17 PM   #3
Latitude
Member
 
Registered: Mar 2009
Posts: 65

Original Poster
Rep: Reputation: 16
Excellent, that is the info I need. Thank you.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS shared directory problem '58LesPaul Linux - Networking 3 04-17-2008 01:15 AM
Correct syntax for cu jowa45 Slackware 10 11-01-2007 09:26 AM
NFS Sever Shared Directory - File Permissions Problem LakeWind Linux - Server 1 06-12-2007 02:51 AM
Why can I not write to an NFS client directory shared by Samba tmarston Red Hat 5 03-13-2007 08:22 PM
Umounting NFS shared directory matta Linux - Networking 2 03-09-2004 05:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration