Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I know that nodev means Do not set character or special devices access on this partition. but what does that exactly refer to. My understanding of character devices is a device that reads and writes in stream such as the console or terminal and a block device is one that reads and write in fixed block sizes such as CDs, DVDs and disk sectors.

share|improve this question

1 Answer 1

up vote 5 down vote accepted

Device nodes are special files that allow interaction with physical devices (usually) such as hard disks and video cameras etc.

They normally exist in /dev which is commonly part of the root file system.

The nodev parameter on a partition is saying "even if someone manages to create a device node on this partition, we will not treat it as a device".

So you would use this to tighten the security of other file systems, such as /home, so someone can't create a /home/user/dev/sda1 and have it actually represent a physical device.

share|improve this answer
    
Thanks Paul. That makes sense however how would one create a device node? –  PeanutsMonkey Apr 14 '12 at 19:37
    
That is a different question :) The command is mknod –  Paul Apr 14 '12 at 22:45

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.