tar archive and sd_card partition

John David johndv2123 at ...9...
Mon Sep 26 22:56:35 CEST 2016


Hello,

I have a libc program called my_test, and I want this program to access
files from both an archive (myarchive.tar) and an sd_card partition. For
this, I have tried to write a run script and run it, but no luck so far.
Part of the configuration is below. I would greatly appreciate if you could
help me on the configuration.

<start name="sd_card_drv">
    <resource name="RAM" quantum="20M"/>
    <provides><service name="Block"/></provides>
</start>
<start name="part_blk">
    <resource name="RAM" quantum="10M" />
    <provides><service name="Block" /></provides>
    <route>
        <service name="Block"><child name="sd_card_drv" /></service>
        <any-service><parent/><any-child/></any-service>
    </route>
    <config>
        <policy label="my_test" partition="2"/>
    </config>
</start>
<start name="my_test">
    <resource name="RAM" quantum="10M"/>
    <route>
        <any-service> <child name="part_blk" /> <parent/> <any-child/>
</any-service>
    </route>
    <config>
            <libc stdout="/dev/log" stderr="/dev/log" >
            <vfs>
                <dir name="dev"> <log/></dir>
                <tar name="myarchive.tar"/>
            </vfs>
        </libc>
    </config>
</start>


Thanks and best regards,
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genode.org/pipermail/users/attachments/20160926/6b873f48/attachment.html>


More information about the users mailing list