LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 12-22-2004, 05:35 AM   #1
keimdf
LQ Newbie
 
Registered: Dec 2004
Location: Wabasha, MN
Posts: 23

Rep: Reputation: 15
Question Remount using fstab entries


I have been working on modifying my fstab and I was wondering if there is a way to use it without having to reboot the whole system.

I just added one entry and would like to see if the fstab entry will work.
 
Old 12-22-2004, 05:53 AM   #2
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Sure, there are a couple ways:

mount /mnt/directory -o remount

Will read your fstab and remount as structured in your fstab.

Cool
 
Old 12-22-2004, 06:29 AM   #3
whipermr5
Member
 
Registered: Dec 2004
Location: Singapore
Distribution: Fedora Core 5 Linux
Posts: 202

Rep: Reputation: 30
Another way would be to use

Code:
mount -a
 
Old 12-22-2004, 06:31 AM   #4
keimdf
LQ Newbie
 
Registered: Dec 2004
Location: Wabasha, MN
Posts: 23

Original Poster
Rep: Reputation: 15
Thanks this works just fine. the command did just fine and the fs got mounted. But when I rebooted the system for a full test, it did not mount it.

my command at the command prompt was

mount //thor/linux -o remount

the entry in fstab is this ...

//thor/linux /u2 smbfs rw,exec,_netdev,fmask=666,dmask=777,noauto,username='user',password='',uid=500,gid=500

Any thoughts, I have tried

//thor/linux /u2 smbfs rw,exec,_netdev,fmask=666,dmask=777,noauto,user,uid=500,gid=500

//thor/linux /u2 smbfs rw,exec,_netdev,fmask=666,dmask=777,noauto,owner,uid=500,gid=500

with little success.
 
Old 12-22-2004, 06:35 AM   #5
whipermr5
Member
 
Registered: Dec 2004
Location: Singapore
Distribution: Fedora Core 5 Linux
Posts: 202

Rep: Reputation: 30
You must remove the "noauto" option, otherwise the computer won't mount it when you reboot.
 
Old 12-22-2004, 06:48 AM   #6
keimdf
LQ Newbie
 
Registered: Dec 2004
Location: Wabasha, MN
Posts: 23

Original Poster
Rep: Reputation: 15
DUH!

Thanks - RTM
 
  


Reply


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
Dynamic Entries in fstab? bigoli MEPIS 1 06-02-2005 02:18 PM
Immortal fstab entries tmoorman Mandriva 1 02-05-2005 02:52 AM
fstab file entries what do they mean? bgagnon Suse/Novell 2 11-12-2004 02:23 PM
Entries in /etc/fstab kamransoomro84 Linux - General 6 05-05-2004 09:32 AM
appropiate fstab entries -- How to use labels jimieee Linux - Hardware 2 10-31-2003 03:29 AM


All times are GMT -5. The time now is 10:26 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration