LinuxQuestions.org
Visit Jeremy's Blog.
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 07-21-2003, 04:01 PM   #1
RedHatMN
Member
 
Registered: Mar 2001
Distribution: RedHat 9
Posts: 110

Rep: Reputation: 15
How To Automaticlly Mount Network Shares?


I was woondering if someone could tell me what program I should use to automaticlly mount my network shares (via SMB) when the system boots. For example, I've got several shares on Windows servers that I always use, I don't want to drop down to the command line and mount them everytime.
It's my understanding that /etc/fstab is used to mount local partitions on demand, not network shares, correct? When I boot up (Red Hat 9) I see there's a program called "Automount" and it says "No Mount Points Defined" is that the program I need to configure? Anyway, if I could get some Guru guidance I'd appreciate it, Thx.

Aaron
 
Old 07-21-2003, 04:57 PM   #2
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
You can use /etc/fstab to mount network shares as well as local partitions.

Try using the following syntax in /etc/fstab to mount a Windows share.
Code:
//theshare.name.net/myarea /mnt/windows/myarea smbfs username=myusername,uid=100,gid=100,user
 
  


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
How do you mount NFS shares? Thaidog Linux - Newbie 1 04-04-2004 09:48 PM
Can you mount NTFS shares w/ RH 9.0 Thaidog Linux - General 3 02-24-2004 03:43 AM
Linux can mount samba shares but not windows shares bindsocket Linux - Software 1 12-01-2003 05:28 PM
mount windows shares? Dave Campbell Linux - Networking 7 09-01-2002 04:54 PM
mount samba shares (?) bkeating Linux - General 7 07-01-2002 11:23 PM

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

All times are GMT -5. The time now is 02:52 PM.

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