[erlang-questions] file:open/2 and Unix Device Files

Martin Scholl <>
Tue Nov 4 12:52:39 CET 2008


Hello,


I have just noticed that opening a device file other than "/dev/null"  
will fail with eisdir.
I am just wondering what the intention behind this was. Could somebody  
elaborate on why this restriction is in place?

Furthermore, will I have to modify efile_openfile() for each new  
released version of erlang, or is there a chance that future releases  
will support opening all kinds of device files?


Thank you,
Martin





More information about the erlang-questions mailing list