Hi!
I would like to load a component configuration from a file on linux. So
I've added a lx_fs and a fs_rom component that replaces my dynamic_rom
component without changing any code in my component. So far is everything
good (I hope!).
To my questions:
1. How do I state which file to read?
2. My understanding is that the root attribute in lx_fs defines which
directory genode will see as root. But anything except "/" here results in
the error message "Session root directory "..." does not exist".
3. Do I write the same thing in the config file as I did when having the
dynamic_rom (<config attribute="value" .... />)?
My configuration:
<start name="component">
<resource name="RAM" quantum="5M"/>
<route>
<service name="ROM">
<child name="fs_rom"/>
</service>
<any-service> <parent/> <any-child/> </any-service>
</route>
</start>
<start name="fs_rom">
<resource name="RAM" quantum="4M" />
<provides> <service name="ROM" /> </provides>
<route>
<service name="File_system"> <child name="lx_fs" /> </service>
<any-service> <parent/> <any-child/> </any-service>
</route>
</start>
<start name="lx_fs">
<resource name="RAM" quantum="4M" />
<provides> <service name="File_system" /> </provides>
<config> <policy label="fs_rom" root="/" writable="no" /> </config>
</start>
Thanks!
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
genode-main mailing list
genode-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/genode-main