LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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-06-2010, 03:19 AM   #1
wjs1990
Member
 
Registered: Nov 2009
Posts: 30

Rep: Reputation: 15
'nodev' and 'nodev' option for removable media


Hi,
How do i actually check whether the 'nosuid' and 'nodev' option are added for removable media in the /etc/fstab file? What are the appropriate commands that i can use?

Regards
wjs
 
Old 01-06-2010, 03:58 AM   #2
james2b
Member
 
Registered: Feb 2007
Location: Washington state, USA
Distribution: Fedora 13, SUSE 11, Ubuntu 10.04, Mandriva 2010, Mint 8
Posts: 336

Rep: Reputation: 34
Smile

This shows what is currently mounted and their options; /etc/mtab . Also when you specify the "user" mount option in the /etc/fstab file, then it has as defaults these; nodev, noexec, and nosuid, and I use "noauto,user" so the device or partition will not mount during boot, but then I can do a mount when needed as a normal user.
 
  


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
Removable Media zalibidas Slackware 2 01-24-2009 10:09 AM
exporting 'nodev' filesystem over nfs android_online Linux - Kernel 0 05-01-2007 11:14 PM
SUSE 10.2 and removable media izquierdista Suse/Novell 4 04-05-2007 09:38 AM
Install without removable media MaizeNBlue2 Slackware 3 12-06-2006 03:40 PM
How to mount a removable media using C skie_knite007 Programming 1 10-02-2005 01:49 AM


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