Thanks. I'm almost ready to get working on making Genode run on my hard drive, but I still have a few questions: 1. How do I load executables and libraries from a filesystem?
2. How do I access a specific filesystem on a hard drive?
3. Can Genode automatically detect a filesystem's type? On Oct 29, 2014 11:38 AM, "Norman Feske" <norman.feske@...1...> wrote:
Hello Ben,
Thanks. I still have one question: Does the vfs plugin support sub-mounts like the Linux kernel does? (E.g. can you mount a root filesystem and then mount other filesystems under it? If so, how do you do it?)
it does. It also supports stacked file systems, which allows you to overlay any number of file system over another (a bit like union fs on Linux).
If you want a certain file system appear within a specific directory, you can use nested '<dir>' nodes to construct the directory structure and place other nodes (such as '<fs>') in there. By looking through the run scripts, you will find plenty of examples how virtual file systems get assembled. Just grep for "vfs" and "fstab".
E.g., in ports/run/noux_bash.run, you can see how the VFS of a noux instance is constructed out of the content of several tar archives (which happen to have intersecting directory structures) and a few custom directories:
Cheers Norman
-- Dr.-Ing. Norman Feske Genode Labs
http://www.genode-labs.com · http://genode.org
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
genode-main mailing list genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main