> file:file_info/1 is marked obsolete, but it is still there and
> should probably not be broken, right?
> It get this when using it on a non-existing file:
> root:/usr/src/erlang/xray_node# erl
> Erlang/OTP 17 [erts-6.0.1] [source] [64-bit] [smp:2:2] [async-threads:10] [kernel-poll:false]
> Eshell V6.0.1 (abort with ^G)
> 1> file:file_info("test").
> ** exception error: undefined function erlang:nif_error/1
> in function file:file_info/1 (file.erl, line 128)
> file:read_file_info works as expected...
I reported that on erlang-bugs at the end of October 2013. Must not be
very high priority. :-)