LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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: Ubuntu Mate 18.04, Mint 19.1
Posts: 363

Rep: Reputation: 45
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 / openSUSE 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

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

All times are GMT -5. The time now is 03:39 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
Open Source Consulting | Domain Registration