Hello,

On Sun, 4 Oct 2026 10:04:03 Gianluca Cannata wrote:

> I have another question: suppose I need to implement netfs_attempt_lookup, the HTTP request/response transfer shall be done in the netfs callback itself or there is a better way to do it ?
>
> Currently I am studying the ftpfs translator to understand if it has a similar approach of httpfs.
>
> Otherwise can you point me to the reference of a modern netfs-based translator implemention ?

You can examine my patch (specifically, the netfs.c file); it implements a
version of netfs_attempt_lookup that assumes dir is a directory containing
other files or directories.  You might want to implement something similar.
https://lists.gnu.org/archive/html/bug-hurd/2026-09/msg00240.html

Thanks,

--
Mikhail Karpov


Reply via email to