Joining Filesystems
Nobody III
hungryninja101 at ...9...
Thu Jul 2 00:21:03 CEST 2015
Okay. How would I configure something to join multiple filesystems? Could
you provide an example config? Also, how would I add filesystems at runtime?
On Jul 1, 2015 3:21 PM, "Norman Feske" <norman.feske at ...1...> wrote:
> Hi Ben,
>
> On 01.07.2015 05:06, Nobody III wrote:
> > Is there already any file manager currently being written?
>
> I don't think so. For the Turmvilla scenario, I am using Noux + the GNU
> tools (bash, coreutils) as my file manager.
>
> > What is the best way of joining multiple filesystems into a single tree?
> > (Or should I be doing something different?)
>
> This is possible by using the VFS library, which is implicitly used by
> libc-using programs as well as by Noux. The VFS supports stacked file
> systems similar to the union fs known from Linux.
>
> > What's the best way to scan a directory for files and other directories?
>
> The easiest way might be the use of the POSIX functions as provided by
> the libc. The use of our VFS mechanism is transparent at the libc API
> level. In principle, you can also use the VFS library directly, without
> the libc. This is preferable for components that need to avoid the
> complexity that comes with a libc. Furthermore, at the Genode session
> level, you may work directly on the 'File_system::Session' interface.
>
> > How much file type detection (and file preview) is safe?
>
> A file-type detector, a previewer, or more generally, any interpreter of
> untrusted (and potentially harmful) data should be sandboxed. Genode's
> architecture lends itself to the sandboxed execution of such code. For a
> discussion of the topic, please refer to Section 4.7.1. of the
> documentation [1].
>
> [1] http://genode.org/documentation/genode-foundations-15-05.pdf
>
> > Also, I may want to use threading. Are C++11 threads supported?
>
> C++11 threads are not supported. For multi-threading, you have the
> options to use the Genode API (Section 8.10. of the documentation), or
> to use the pthread library (the natural way for libc-using programs).
>
> Best regards
> 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
>
>
> ------------------------------------------------------------------------------
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
> _______________________________________________
> genode-main mailing list
> genode-main at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/genode-main
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genode.org/pipermail/users/attachments/20150701/138db62c/attachment.html>
More information about the users
mailing list