LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 04-17-2006, 08:04 AM   #1
ankurcse
LQ Newbie
 
Registered: Mar 2006
Posts: 29

Rep: Reputation: 15
use of /etc/fstab file


Hi,

i want to know about all the columns used in /etc/fstab file, so that i can use it to mount a device to file system without any confusion, actually i have confusion in column 4 of the file.
 
Old 04-17-2006, 08:11 AM   #2
anti.corp
Member
 
Registered: Nov 2005
Location: Copenhagen
Distribution: Debian E, Vectorlinux 5.1std, Arch, Gentoo 2006.0
Posts: 576

Rep: Reputation: 30
Hi,

It would help if you posted what dsitribution you are using plus the info from the fstab file that you are 'confused' about.

And also: what do you want to add/remove/edit?


regards,
 
Old 04-17-2006, 08:12 AM   #3
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
Fourth column determines mount options, man fstab, man mount.
 
Old 04-17-2006, 11:16 AM   #4
ankurcse
LQ Newbie
 
Registered: Mar 2006
Posts: 29

Original Poster
Rep: Reputation: 15
/etc/fstab

Hi,
i m using linux 2.6 kernel ( RHEL 4, U2).
Suppose i want to mount Windows partition vfat in Linux, then i write:

/dev/hda3 /data vfat noauto,user,rw 0 0

Then , what is noauto, user, rw ?
How i can know that what i should use in 4th col, in different-2 cases.
could u tell me, the various entries in column 4 & 5, & the various situations where what values will be appropriate, with examples like i have given above.






Quote:
Originally Posted by anti.corp
Hi,

It would help if you posted what dsitribution you are using plus the info from the fstab file that you are 'confused' about.

And also: what do you want to add/remove/edit?


regards,
 
Old 04-17-2006, 11:20 AM   #5
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
Do you have some principle which expliticly forbids reading Linux man pages?
 
Old 04-17-2006, 05:33 PM   #6
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
I'll make it real easy: man fstab and man mount
 
Old 04-17-2006, 11:34 PM   #7
ankurcse
LQ Newbie
 
Registered: Mar 2006
Posts: 29

Original Poster
Rep: Reputation: 15
Thanking you, i got the requrired information from man page.
 
  


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
Need Help regarding fstab file thinker1 Linux - Security 1 11-01-2005 10:02 PM
changes to fstab file joanduan Linux - Newbie 3 03-10-2005 02:32 PM
fstab file Haroon Linux - General 12 09-08-2004 07:09 AM
fstab file being overwritten MacLin Fedora 3 07-26-2004 02:25 PM
fstab file gmg Linux - Newbie 5 09-03-2003 04:21 AM


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