LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 01: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, 02:45 AM   #2
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
/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 02-01-2005 12:15 AM
entry in fstab file Tinku Linux - General 6 10-02-2004 01:06 AM
FC2 FSTAB Entry jeopardyracing Linux - Newbie 2 07-10-2004 10:53 AM
FC2 FSTAB Entry jeopardyracing Linux - Networking 6 06-27-2004 07:57 PM
fstab entry albean Linux - Newbie 1 12-04-2002 02:33 PM

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

All times are GMT -5. The time now is 02:52 PM.

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