Blocking the access to the device files.

Prasad Joshi prasadjoshi124 at
Wed Dec 29 08:06:05 EST 2010

Hello All,

ZFS file system has a property called devices. If turned off, ZFS
would not allow access to the device files (block/character) present
on the file system. I want to implement the same behavior on the a
Linux File System.

I can always check for device files in open/read/write/mmap functions,
but I am looking for better implemention.

Does any of the FS on Linux has this facility or Is there any mount
flag that I can use?

Thanks and Regards,

More information about the Kernelnewbies mailing list