LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-03-2010, 08:54 AM   #1
mulebreath
LQ Newbie
 
Registered: Aug 2010
Posts: 8

Rep: Reputation: 0
Mounting samba shares at bootup


Good day...

I'm using ubuntu 10.04 (gnome) - at some point, I had manually mounted a samba share on the home fileserver,

mount -t cifs //homeserver/sharename /serverfiles

It now boots up automatically every time, which is definitely convenient but I don't know how it's being done. I'm going to be mounting the same share using sshfs when I'm away so I'd like to know how it works. When I googlify this, there is mention of altering fstab (which has not been done) or gnome-mount (which does not seem to be it). There is nothing in preferences/startup applications, what is the automounting mechanism being used?

Thanks ia...
 
Old 09-03-2010, 09:16 AM   #2
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 113Reputation: 113
If you want to mount partition at boot time you can add entry in /etc/fstab file.

Code:
//homeserver/sharename /serverfiles   smbfs   defaults 0 0
Or you can use autofs filesys to mount partition at demand

Configure Autofs
 
Old 09-03-2010, 11:14 AM   #3
mulebreath
LQ Newbie
 
Registered: Aug 2010
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks but I know how to do it, I'm trying to undo it.
 
  


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
mounting samba shares? lexington2 Linux - Newbie 3 04-13-2010 03:13 PM
mounting samba shares wheaties_box Linux - Software 1 01-23-2007 12:21 AM
mounting shares with samba darkleaf Linux - Software 1 02-13-2005 06:13 AM
Accessing remote shares with encrypted Samba password at bootup CyberGuy Linux - Software 1 01-09-2005 05:23 PM
Mounting Samba shares and Samba Share Login time112852 Linux - Software 1 09-14-2003 02:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:20 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