[volunteers] Why you are careful about /dev/null operations as the root user

Rick Moen rick at linuxmafia.com
Thu Dec 17 09:09:01 PST 2015


Quoting Kevin Dankwardt (kevin.dankwardt at gmail.com):

> Also in a related question. Do any filesystems have a "null directory"? I
> have an app that wants a directory to write things into that I don't need
> so I'd like to give it a directory that acts like /dev/null. It accepts
> creates and writes and just never stores anything.

The idea was discussed in 2008 on LKML, and deemed a bit problematic
because of some unresolved issues, but apparently it could be easily
implemented using FUSE. One commenter to the thread contributed a patch.
http://lkml.iu.edu/hypermail/linux/kernel/0802.1/3434.html
 




More information about the volunteers mailing list