File Manager
Norman Feske
norman.feske at ...1...
Wed Oct 29 18:40:16 CET 2014
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
More information about the users
mailing list