[erlang-questions] Use several file server processes
Vladimir Gordeev
gordeev.vladimir.v@REDACTED
Tue May 30 20:25:02 CEST 2017
I had an idea to use slave nodes expecting them so start their own
independent file server,
but turns out it relays to master-node file server:
http://erlang.org/doc/man/slave.html#start-1
On Tue, May 30, 2017 at 7:57 PM, Vladimir Gordeev <
gordeev.vladimir.v@REDACTED> wrote:
> Greetings,
>
> I want to start separate erlang shell processes (via shell:start/2) on my
> erlang node. I want each of these shells to have their own CWD, that could
> be read/written by file:get_cwd/0, file:set_cwd/1.
>
> I hoped to find something like that: http://erlang.org/doc/
> apps/stdlib/io_protocol.html but for file operations.
>
> I looked up in stdlib file.erl and discovered that it makes
> gen_server:call to process registered under file_server_2, which is
> hardcoded in source.
>
> There is not way to achieve what I want?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170530/ca8fd2fb/attachment.htm>
More information about the erlang-questions
mailing list