LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-17-2012, 04:54 AM   #1
raghavendra.eranki
LQ Newbie
 
Registered: Jan 2012
Posts: 15

Rep: Reputation: Disabled
Difference between mtab and fstab


Hello,

I am new to this profession can any please tell me the difference between mtab and fstab .


Thanks and Regards,
Raghavendra.Eranki
 
Old 01-17-2012, 05:02 AM   #2
AlexeyS
LQ Newbie
 
Registered: Nov 2011
Posts: 4

Rep: Reputation: Disabled
mtab: http://en.wikipedia.org/wiki/Mtab
fstab: http://en.wikipedia.org/wiki/Fstab
 
1 members found this post helpful.
Old 01-17-2012, 05:08 AM   #3
raghavendra.eranki
LQ Newbie
 
Registered: Jan 2012
Posts: 15

Original Poster
Rep: Reputation: Disabled
Hello Alexeys,



Thank you ,
Raghavendra.
 
Old 01-17-2012, 05:12 AM   #4
raghavendra.eranki
LQ Newbie
 
Registered: Jan 2012
Posts: 15

Original Poster
Rep: Reputation: Disabled
Hi ,

How to start the vncserver automatically , when server is rebooted .

Do i need to make any changes in /etc/sysconfig/vncservers file in linux.


Thanks and Regards,
Raghavendra .Eranki
 
Old 01-17-2012, 05:37 AM   #5
themalet
LQ Newbie
 
Registered: Jan 2012
Posts: 6

Rep: Reputation: Disabled
/etc/fstab contains a list of filesystems that CAN be mounted and it may include specific commands (options) that will be applied automatically when the filesystems are mounted. The "mount" command uses fstab to decide how to mount a filesystem, except if you explicitly specify all the mount parameters in the command.

Examples:

# mount will check fstab to find how to mount /home
mount /home

# mount will not check fstab in the example below
mount -t ext3 /dev/sdc /mnt/usb

/etc/mtab on the other hand is where the "mount" command keeps a record of the filesystems that it HAS mounted. So mtab shows the filesystems that are currently mounted.

I hope this helps.

The Malet

-----------------------------------------

"Long live Tux!"
 
2 members found this post helpful.
Old 01-17-2012, 06:37 AM   #6
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Quote:
Originally Posted by raghavendra.eranki View Post
Hi ,

How to start the vncserver automatically , when server is rebooted .

Do i need to make any changes in /etc/sysconfig/vncservers file in linux.


Thanks and Regards,
Raghavendra .Eranki
That's a different topic so best to start a new thread, Raghavendra.
 
  


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
server startup error: "cannot find / in /etc/fstab or /etc/mtab"; /etc/fstab readonly knee-co Linux - Newbie 8 09-12-2010 05:37 PM
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 06:15 AM
/etc/fstab or /etc/mtab praveenv Linux - Newbie 1 08-17-2004 04:03 AM
what is the difference between /etc/fstab and /etc/mtab ? Xavius Linux - Newbie 2 03-27-2004 08:15 AM


All times are GMT -5. The time now is 06:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration