9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* 9p File mount in OpenBSD
@ 2020-06-29 17:11 rt.ml
  2020-06-29 17:50 ` [9fans] " Romano
  2020-07-02 10:30 ` Ethan Gardener
  0 siblings, 2 replies; 5+ messages in thread
From: rt.ml @ 2020-06-29 17:11 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 791 bytes --]

Hey,
I am running OpenBSD as a Guest with Fedora(host system) using virsh <https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/5/html/virtualization/chap-virtualization-managing_guests_with_virsh>. Actually I want to mount one of my host directory (let's call it /test) to the OpenBSD system(guest as /test) using  9p FS <https://www.linux-kvm.org/page/9p_virtio>. Since OpenBSD doesn't come with inbuilt 9P software I have installed plan9port on my BSD machine . But I am confused on how to mount the host directory to OpenBSD using 9pfuse. I have already searched for this but I couldn't find any hint on that. I would be greatfulif anyone could help me out in mounting my host machines directory to OpenBSD as 9P File system.

Thanking You in advance.

Best,
RT

[-- Attachment #2: Type: text/html, Size: 953 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] 9p File mount in OpenBSD
  2020-06-29 17:11 9p File mount in OpenBSD rt.ml
@ 2020-06-29 17:50 ` Romano
  2020-06-29 20:36   ` Rodrigo G. López
  2020-07-02 10:30 ` Ethan Gardener
  1 sibling, 1 reply; 5+ messages in thread
From: Romano @ 2020-06-29 17:50 UTC (permalink / raw)
  To: 9fans, rt.ml via 9fans

I think FUSE is available on OpenBSD, and if so you can use https://9fans.github.io/plan9port/man/man4/9pfuse.html . There are probably better ways; I haven't used OpenBSD recently.

On June 29, 2020 5:11:36 PM UTC, "rt.ml via 9fans" <9fans@9fans.net> wrote:
>Hey,
>I am running OpenBSD as a Guest with Fedora(host system) using virsh
><https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/5/html/virtualization/chap-virtualization-managing_guests_with_virsh>.
>Actually I want to mount one of my host directory (let's call it /test)
>to the OpenBSD system(guest as /test) using  9p FS
><https://www.linux-kvm.org/page/9p_virtio>. Since OpenBSD doesn't come
>with inbuilt 9P software I have installed plan9port on my BSD machine .
>But I am confused on how to mount the host directory to OpenBSD using
>9pfuse. I have already searched for this but I couldn't find any hint
>on that. I would be greatfulif anyone could help me out in mounting my
>host machines directory to OpenBSD as 9P File system.
>
>Thanking You in advance.
>
>Best,
>RT
>------------------------------------------
>9fans: 9fans
>Permalink:
>https://9fans.topicbox.com/groups/9fans/T6bef8e6b70bc5d0b-Mfa1c578a7bd5561929bdbcdb
>Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] 9p File mount in OpenBSD
  2020-06-29 17:50 ` [9fans] " Romano
@ 2020-06-29 20:36   ` Rodrigo G. López
  0 siblings, 0 replies; 5+ messages in thread
From: Rodrigo G. López @ 2020-06-29 20:36 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 1562 bytes --]

iirc you need to allow some vfs privileges for userland. i can't remember
the sysctl path though, sorry.

On Mon, Jun 29, 2020, 7:50 PM Romano <unobe@cpan.org> wrote:

> I think FUSE is available on OpenBSD, and if so you can use
> https://9fans.github.io/plan9port/man/man4/9pfuse.html . There are
> probably better ways; I haven't used OpenBSD recently.
>
> On June 29, 2020 5:11:36 PM UTC, "rt.ml via 9fans" <9fans@9fans.net>
> wrote:
> > Hey,
> > I am running OpenBSD as a Guest with Fedora(host system) using virsh
> > <
> https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/5/html/virtualization/chap-virtualization-managing_guests_with_virsh
> >.
> > Actually I want to mount one of my host directory (let's call it /test)
> > to the OpenBSD system(guest as /test) using  9p FS
> > <https://www.linux-kvm.org/page/9p_virtio>. Since OpenBSD doesn't come
> > with inbuilt 9P software I have installed plan9port on my BSD machine .
> > But I am confused on how to mount the host directory to OpenBSD using
> > 9pfuse. I have already searched for this but I couldn't find any hint
> > on that. I would be greatfulif anyone could help me out in mounting my
> > host machines directory to OpenBSD as 9P File system.
> >
> > Thanking You in advance.
> >
> > Best,
> > RT
>
> ------------------------------------------
> 9fans: 9fans
> Permalink:
> https://9fans.topicbox.com/groups/9fans/T6bef8e6b70bc5d0b-Md2c8b79710dc570c2aa59567
> Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
>

[-- Attachment #2: Type: text/html, Size: 2744 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] 9p File mount in OpenBSD
  2020-06-29 17:11 9p File mount in OpenBSD rt.ml
  2020-06-29 17:50 ` [9fans] " Romano
@ 2020-07-02 10:30 ` Ethan Gardener
  2020-07-03 11:35   ` RT
  1 sibling, 1 reply; 5+ messages in thread
From: Ethan Gardener @ 2020-07-02 10:30 UTC (permalink / raw)
  To: g_patrickb via 9fans

[-- Attachment #1: Type: text/plain, Size: 1791 bytes --]

what is serving the host directory? is qemu involved? i ask because qemu's 9p is not the same as plan 9's 9p. plan 9's 9p is 9p2000 which transports a subset of plan 9 system calls over the network. qemu's 9p is 9p2000.L which transports a subset of *linux* system calls over the network. the 2 protocols are similar in design, but not compatible. some years ago, the maintainer of v9fs (linux's 9p driver) stated it was essentially 2 separate drivers because of this. so, if you want to use 9pfuse in the guest, you probably want to serve the host files with u9fs, not qemu.

On Mon, Jun 29, 2020, at 6:11 PM, rt.ml via 9fans wrote:
> Hey,
> I am running OpenBSD as a Guest with Fedora(host system) using virsh <https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/5/html/virtualization/chap-virtualization-managing_guests_with_virsh>. Actually I want to mount one of my host directory (let's call it /test) to the OpenBSD system(guest as /test) using 9p FS <https://www.linux-kvm.org/page/9p_virtio>. Since OpenBSD doesn't come with inbuilt 9P software I have installed plan9port on my BSD machine . But I am confused on how to mount the host directory to OpenBSD using 9pfuse. I have already searched for this but I couldn't find any hint on that. I would be greatfulif anyone could help me out in mounting my host machines directory to OpenBSD as 9P File system.
> 
> Thanking You in advance.
> 
> Best,
> RT
> *9fans <https://9fans.topicbox.com/latest>* / 9fans / see discussions <https://9fans.topicbox.com/groups/9fans> + participants <https://9fans.topicbox.com/groups/9fans/members> + delivery options <https://9fans.topicbox.com/groups/9fans/subscription> Permalink <https://9fans.topicbox.com/groups/9fans/T6bef8e6b70bc5d0b-Mfa1c578a7bd5561929bdbcdb>

[-- Attachment #2: Type: text/html, Size: 3104 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] 9p File mount in OpenBSD
  2020-07-02 10:30 ` Ethan Gardener
@ 2020-07-03 11:35   ` RT
  0 siblings, 0 replies; 5+ messages in thread
From: RT @ 2020-07-03 11:35 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 232 bytes --]

On Thursday, 2 July 2020, at 4:01 PM, Ethan Gardener wrote:
> qemu's 9p is not the same as plan 9's 9p
Thanks for pointing that out. I will now work on serving files via u9fs or other alternative which servers files over 9p2000

[-- Attachment #2: Type: text/html, Size: 893 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-07-03 11:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-29 17:11 9p File mount in OpenBSD rt.ml
2020-06-29 17:50 ` [9fans] " Romano
2020-06-29 20:36   ` Rodrigo G. López
2020-07-02 10:30 ` Ethan Gardener
2020-07-03 11:35   ` RT

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).