-
nomad
yay, powerloss
-
toasterson
Quick question, what 9pfs clients do we have?
-
richlowe
who's "we"?
-
richlowe
I was pretty sure OI had some, I don't think illumos does
-
richlowe
I don't know about omnios
-
richlowe
sometimes I think of implementing fs/9p but then I feel better
-
toasterson
it looks like oi has at least the virtio transport driver. but trying to mount the filesystem gets me mount -F 9p repo /mnt/repo
-
toasterson
mount: Operation not applicable to FSType 9p
-
toasterson
So I am wondering if there is a 9pfs driver needed or if that virtio9p driver is also the fs driver
-
toasterson
and it seems to come from illumos-gate hence the we as in all of illumos.
-
jbk
there is lib9p that's used by bhyve to act more or less like a 9p server
-
jbk
to implement the host bits for virtio9p
-
jbk
it's been too long now that I can't recall if it could be used as a client
-
jbk
though there'd be some other bits needed for guest support in illumos
-
richlowe
right, you'd have to implement fs/9p (and/or have fuse)
-
richlowe
using fuse to implement 9p sounds like a bad idea
-
jbk
oh.. there is a kernel driver for vio9p (either missed or forgot about that)...
-
richlowe
but if you did do that, plan9 users would be able to mount their text editor, so that's nice
-
toasterson
Would that even run on illumos being a plan9 binary and all?
-
richlowe
no
-
toasterson
And yes that vio9p driver is what I found aswell. it get's me a device under /dev/9p/0
-
toasterson
Well then they can at least mount their editor :)
-
jbk
presumably there still needs to be a driver (likely under usr/src/uts/common/fs) to utilize the device in order to mount it
-
jbk
though it seems possible a userland client could use it to access files as well (e.g. like ftp or sftp)
-
toasterson
I remember talking to dansup about something 9pfs related but that was long ago.
-
toasterson
nope wrong dan
-
toasterson
-
toasterson
And my old issue with dancross
-
toasterson
I think i give that a go tomorrow. I thought we had a package of that but maybe it got broken
-
toasterson
this time we is openindiana :)
-
jclulow_
toasterson: The vio9p stuff is there to expose the 9P transport with the host
-
jclulow_
It does not, itself, do any file system stuff
-
jclulow
-
jclulow
We use a Rust program to fish files out of the virtio thing into a directory, I believe, for some things:
github.com/oxidecomputer/p9fs
-
jclulow
It's not a file system driver, more like scp(1)