LinuxQuestions.org
Help answer threads with 0 replies.
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-2005, 12:59 AM   #1
ryedunn
Member
 
Registered: Jul 2003
Location: Chicago
Distribution: Fedora, ubuntu
Posts: 459

Rep: Reputation: 30
/etc/fstab entry


I read this in an old post, can someone please help me decipher what it does?

/dev/fd0 /floppy auto ro,nodev,nosuid,noexec,umask=137 0 2
 
Old 01-17-2005, 01:45 AM   #2
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 372Reputation: 372Reputation: 372Reputation: 372
/dev/fd0 - device file representing the drive you would be mounting

/floppy - the mount point within the filesystem

auto - attempt to automatically detect the filesystem when mounting

ro - mount the filesystem as read-only
nodev - ignore/disregard any device files in the filesystem when mounted
nosuid - do not allow set-userid or set-groupid executables wthin the filesystem
noexec - do not allow execution of any file in the filesystem
umask=137 - when mounted, device owner has read/write permissions (execute is masked), device's group has read permission (write and execute are masked), and everybody else has no permissions (read, write, and execute are masked)

0 - filesystem does not need to be dumped

2 - the time when the filesystem should be fsck'ed on reboot (0=never, 1=primary;usually root partition only, 2+=every other partition)

Some of the settings are redundant, and the fsck order seems a bit odd in my opinion. You would mostly see 0 for removable media. You can find all of the info info above in man fstab and man mount.
 
  


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
what is wrong with this /etc/fstab entry? d1l2w3 Linux - Hardware 10 01-31-2005 11:15 PM
entry in fstab file Tinku Linux - General 6 10-02-2004 12:06 AM
FC2 FSTAB Entry jeopardyracing Linux - Newbie 2 07-10-2004 09:53 AM
FC2 FSTAB Entry jeopardyracing Linux - Networking 6 06-27-2004 06:57 PM
fstab entry albean Linux - Newbie 1 12-04-2002 01:33 PM


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