Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-21-2003, 04:01 PM   #1
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.

Old 07-21-2003, 04:57 PM   #2
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.
// /mnt/windows/myarea smbfs username=myusername,uid=100,gid=100,user


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:22 AM.

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