> On Aug 10, 2026, at 17:42, rsykora via 9fans <[email protected]> wrote:
> 
> Dear list,
> 
> 
> I have been contemplating using a 9p protocol as a means of
> providing access to some real-time measurements. Namely, I
> have a set of devices that measure electric currents at
> various places of our laboratory. Those devices speak over
> serial line, and are physically attached over USB to a USB
> hub connected to a Raspberry Pi 3. At the moment the Pi runs
> Void linux. I thought I would create a synthetic filesystem
> on the Pi with various devices appearing as folders, and
> would serve this filesystem over network with 9p protocol.
> However, I found out that
> 
> -- There is no support for 9p in my void linux kernel,
> CONFIG_NET_9P_TCP is disabled, so I either have to recompile
> the kernel, or use a user-space utility, or use a different
> operating system.
> 
> -- As far as user-space utilities go, I found only some
> 10y-old programs that invariably failed for me (both

There’s a long list of implementations:

http://9p.cat-v.org/implementations

If you want to keep running Linux, and write a daemon in C to serve up a 
filesystem view of your devices: I’ve so far been using libixp for this.  
https://github.com/0intro/libixp.git

To mount the filesystem on Linux, try 9pfs - there are various forks.  I’ve 
been using https://github.com/ftrvxmtrx/9pfs with a modification to tweak the 
timeout.


------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T14e2df9c5f8b4cfd-Me931af5a8a761f8616f66912
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to