Hello,
I was following this article on Genode's VFS (http://genodians.org/m-stein/2021-06-21-vfs-1), but I cannot get the first example run script to run. I get the following runtime error, on which I could not find any information online: [init -> fs_query] Error: failed to watch '/'.
I have attached the run script below for convenience; the platform I ran it on was x86 KERNEL=linux BOARD=linux. Please note that the build phase does not output any errors.
Any help and tips will be greatly appreciated!
Sincerely, Rumen
Hi Rumen,
the error message is actually expected in this case. Since the VFS in this example is static (i.e. immutable), fs_query fails to set up a watch handler. However, it still outputs the directory listing correctly. If you change the '<vfs/>' into '<vfs><ram/></vfs>' to make the VFS mutable, the error message will disappear.
Cheers Johannes
On 09/08/2024 15:20, Rumen Mitov wrote:
Hello,
I was following this article on Genode's VFS (http://genodians.org/m-stein/2021-06-21-vfs-1), but I cannot get the first example run script to run. I get the following runtime error, on which I could not find any information online: [init -> fs_query] Error: failed to watch '/'.
I have attached the run script below for convenience; the platform I ran it on was x86 KERNEL=linux BOARD=linux. Please note that the build phase does not output any errors.
Any help and tips will be greatly appreciated!
Sincerely, Rumen
users mailing list -- users@lists.genode.org To unsubscribe send an email to users-leave@lists.genode.org Archived at https://lists.genode.org/mailman3/hyperkitty/list/users@lists.genode.org/mes...
I see, thank you! ________________________________ From: Johannes Schlatow johannes.schlatow@genode-labs.com Sent: Monday, August 12, 2024 11:05 AM To: Genode users mailing list users@lists.genode.org Subject: Re: fs_query troubles
Hi Rumen,
the error message is actually expected in this case. Since the VFS in this example is static (i.e. immutable), fs_query fails to set up a watch handler. However, it still outputs the directory listing correctly. If you change the '<vfs/>' into '<vfs><ram/></vfs>' to make the VFS mutable, the error message will disappear.
Cheers Johannes
On 09/08/2024 15:20, Rumen Mitov wrote:
Hello,
I was following this article on Genode's VFS (http://genodians.org/m-stein/2021-06-21-vfs-1), but I cannot get the first example run script to run. I get the following runtime error, on which I could not find any information online: [init -> fs_query] Error: failed to watch '/'.
I have attached the run script below for convenience; the platform I ran it on was x86 KERNEL=linux BOARD=linux. Please note that the build phase does not output any errors.
Any help and tips will be greatly appreciated!
Sincerely, Rumen
users mailing list -- users@lists.genode.org To unsubscribe send an email to users-leave@lists.genode.org Archived at https://lists.genode.org/mailman3/hyperkitty/list/users@lists.genode.org/mes...
_______________________________________________ users mailing list -- users@lists.genode.org To unsubscribe send an email to users-leave@lists.genode.org Archived at https://lists.genode.org/mailman3/hyperkitty/list/users@lists.genode.org/mes...