Find the answer to your Linux question:
Results 1 to 4 of 4
Dear all linuxers, does someone know what the function from "nodev" mount option is? i'm in a middle of study for OS Hardening, and one of them is Red Hat.. ...
  1. #1
    Just Joined!
    Join Date
    Jun 2007
    Posts
    9

    [SOLVED] mount option nodev

    Dear all linuxers,
    does someone know what the function from "nodev" mount option is?
    i'm in a middle of study for OS Hardening, and one of them is Red Hat..
    From what i get until now, nodev means don't set a character / special devices access in a partition.
    I don't really understand it, maybe someone can give real example how do this option behave within the system? and what is the side effect turning this option in a filesystem?
    Thanks..

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    The 'nodev' option means that there is no device associated with this file system. Examples of this would be nfs or cifs (network) file systems, etc. Do read the man page for the 'mount' command for more information.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Jun 2007
    Posts
    9
    thank you for your reply, Rubberman..

  4. #4
    Just Joined!
    Join Date
    Jan 2011
    Posts
    1
    The man pages aren't always that informative. The 'nodev' option *is* used for remote file-systems, but it's also used as a security measure by preventing device-files (a special type of file representing a hardware device) from be interpreted as such (if found on that mounted file-system). Obviously, it makes sense for a remote file-system, since that host isn't attached to the same hardware devices anyway.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...