LinuxQuestions.org
Visit Jeremy's Blog.
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, 06:35 AM   #1
keimdf
LQ Newbie
 
Registered: Dec 2004
Location: Wabasha, MN
Posts: 24

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, 06:53 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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, 07: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, 07:31 AM   #4
keimdf
LQ Newbie
 
Registered: Dec 2004
Location: Wabasha, MN
Posts: 24

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, 07: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, 07:48 AM   #6
keimdf
LQ Newbie
 
Registered: Dec 2004
Location: Wabasha, MN
Posts: 24

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

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

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