9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] 9pfs
@ 2024-10-05  4:14 william
  2024-10-05  5:12 ` Jacob Moody
  0 siblings, 1 reply; 10+ messages in thread
From: william @ 2024-10-05  4:14 UTC (permalink / raw)
  To: 9front

Usage: 9pfs [-anUfd] [-A aname] [-p port] [-u user] [-o option] service mtpt

MacBook-Pro 9pfs % ./9pfs -o allow_other 9front /mnt
9pfs: nodename nor servname provided, or not known

Do we have a man page for this. I was not sure of the syntax -anUfd, I'm guessing
U=uid or something a=auth. Some sample examples would be nice. 

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

* Re: [9front] 9pfs
  2024-10-05  4:14 [9front] 9pfs william
@ 2024-10-05  5:12 ` Jacob Moody
  2024-10-05  7:44   ` william
  0 siblings, 1 reply; 10+ messages in thread
From: Jacob Moody @ 2024-10-05  5:12 UTC (permalink / raw)
  To: 9front

On 10/4/24 23:14, william@thinktankworkspaces.com wrote:
> Usage: 9pfs [-anUfd] [-A aname] [-p port] [-u user] [-o option] service mtpt
> 
> MacBook-Pro 9pfs % ./9pfs -o allow_other 9front /mnt
> 9pfs: nodename nor servname provided, or not known
> 
> Do we have a man page for this. I was not sure of the syntax -anUfd, I'm guessing
> U=uid or something a=auth. Some sample examples would be nice. 

You'll have to clarify which 9pfs you are using, there are more than a couple floating around.
These projects, while related to plan 9 and sometimes worked on by 9front folks, are not
really part of the project as a whole. If you want to use one I would probably suggest the
one that sigrid worked on[0], which has a man page in the repo as '9pfs.1'

[0] https://github.com/ftrvxmtrx/9pfs


Thanks,
moody


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

* Re: [9front] 9pfs
  2024-10-05  5:12 ` Jacob Moody
@ 2024-10-05  7:44   ` william
  2024-10-05 16:01     ` Jacob Moody
  0 siblings, 1 reply; 10+ messages in thread
From: william @ 2024-10-05  7:44 UTC (permalink / raw)
  To: 9front

This is the one. I see the file now. So I'm missing a fuse library or fuse mount point mtpt?

Quoth Jacob Moody <moody@posixcafe.org>:
> On 10/4/24 23:14, william@thinktankworkspaces.com wrote:
> > Usage: 9pfs [-anUfd] [-A aname] [-p port] [-u user] [-o option] service mtpt
> > 
> > MacBook-Pro 9pfs % ./9pfs -o allow_other 9front /mnt
> > 9pfs: nodename nor servname provided, or not known
> > 
> > Do we have a man page for this. I was not sure of the syntax -anUfd, I'm guessing
> > U=uid or something a=auth. Some sample examples would be nice. 
> 
> You'll have to clarify which 9pfs you are using, there are more than a couple floating around.
> These projects, while related to plan 9 and sometimes worked on by 9front folks, are not
> really part of the project as a whole. If you want to use one I would probably suggest the
> one that sigrid worked on[0], which has a man page in the repo as '9pfs.1'
> 
> [0] https://github.com/ftrvxmtrx/9pfs
> 
> 
> Thanks,
> moody
> 
> 


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

* Re: [9front] 9pfs
  2024-10-05  7:44   ` william
@ 2024-10-05 16:01     ` Jacob Moody
  2024-10-05 16:26       ` william
  0 siblings, 1 reply; 10+ messages in thread
From: Jacob Moody @ 2024-10-05 16:01 UTC (permalink / raw)
  To: 9front

On 10/5/24 02:44, william@thinktankworkspaces.com wrote:
> This is the one. I see the file now. So I'm missing a fuse library or fuse mount point mtpt?
> 
> Quoth Jacob Moody <moody@posixcafe.org>:
>> On 10/4/24 23:14, william@thinktankworkspaces.com wrote:
>>> Usage: 9pfs [-anUfd] [-A aname] [-p port] [-u user] [-o option] service mtpt
>>>
>>> MacBook-Pro 9pfs % ./9pfs -o allow_other 9front /mnt
>>> 9pfs: nodename nor servname provided, or not known

I have no idea how fuse works on mac nor am I particularly interested in finding out,
so all I can ask is you check that basics here.

In this example you gave is '9front' a resolvable hostname? (ie can you 'ping 9front')
Do you have port 564 listening on the 9front box?
You're going to have to give a more full description of what you're trying to do.


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

* Re: [9front] 9pfs
  2024-10-05 16:01     ` Jacob Moody
@ 2024-10-05 16:26       ` william
  2024-10-05 17:46         ` Jacob Moody
  0 siblings, 1 reply; 10+ messages in thread
From: william @ 2024-10-05 16:26 UTC (permalink / raw)
  To: 9front

Oh I see. I do have a 9front server running. This is my first exeriment with 9pfs. I just wanted to 
throw 9pfs on a Mac and a few linux boxes. I guess I just wanted to connect without the hassel of 
ssh or sshfs. But it does sound like I need a few more tools to really get the benefit out of it
beyond 9pfs, meaning that I suppose I need plan9ports installed and factotum and a few other things or is 
that incorrect. Strange enough but I'm kind of getting attached to acme editor and have been using it
in my daily life with sshfs and changing code on remote servers. It's light weight as opposed to vscode
or intellij running remotely which is heavy. I loose some benefits but I gain others. 

So I thought to kind of expand with 9pfs and take advantage of some additional features. 


Quoth Jacob Moody <moody@posixcafe.org>:
> On 10/5/24 02:44, william@thinktankworkspaces.com wrote:
> > This is the one. I see the file now. So I'm missing a fuse library or fuse mount point mtpt?
> > 
> > Quoth Jacob Moody <moody@posixcafe.org>:
> >> On 10/4/24 23:14, william@thinktankworkspaces.com wrote:
> >>> Usage: 9pfs [-anUfd] [-A aname] [-p port] [-u user] [-o option] service mtpt
> >>>
> >>> MacBook-Pro 9pfs % ./9pfs -o allow_other 9front /mnt
> >>> 9pfs: nodename nor servname provided, or not known
> 
> I have no idea how fuse works on mac nor am I particularly interested in finding out,
> so all I can ask is you check that basics here.
> 
> In this example you gave is '9front' a resolvable hostname? (ie can you 'ping 9front')
> Do you have port 564 listening on the 9front box?
> You're going to have to give a more full description of what you're trying to do.
> 
> 


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

* Re: [9front] 9pfs
  2024-10-05 16:26       ` william
@ 2024-10-05 17:46         ` Jacob Moody
  2024-10-05 18:33           ` william
  0 siblings, 1 reply; 10+ messages in thread
From: Jacob Moody @ 2024-10-05 17:46 UTC (permalink / raw)
  To: 9front

On 10/5/24 11:26, william@thinktankworkspaces.com wrote:
> Oh I see. I do have a 9front server running. This is my first exeriment with 9pfs. I just wanted to 
> throw 9pfs on a Mac and a few linux boxes. I guess I just wanted to connect without the hassel of 
> ssh or sshfs. But it does sound like I need a few more tools to really get the benefit out of it
> beyond 9pfs, meaning that I suppose I need plan9ports installed and factotum and a few other things or is 
> that incorrect. Strange enough but I'm kind of getting attached to acme editor and have been using it
> in my daily life with sshfs and changing code on remote servers. It's light weight as opposed to vscode
> or intellij running remotely which is heavy. I loose some benefits but I gain others. 
> 
> So I thought to kind of expand with 9pfs and take advantage of some additional features. 
> 

Hold on here, it's still not clear exactly what the end result is that you're looking for here.

Let's start from the top here:

9pfs does not require anything from plan9port.
9pfs is a fuse 9p client.
9pfs connects to a system that is running a 9p file server (over port 564 by default).
This means your mac is initiating a network connection to your 9front machine, so the 9front machine must be listening for 9p.
Ssh and sshfs go the other way, they initiate a network connection from 9front to a machine running ssh.
9pfs would expose the 9front's files to your mac, sshfs exposes your macs files to your 9front.
A 9front machine does not expose its root filesystem over 9p by default, that requires some modifications.

This is why I was asking about the networking status of your 9front machine (ie can you ping it, is it listening on port 564 etc)


Hope this helps,
moody


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

* Re: [9front] 9pfs
  2024-10-05 17:46         ` Jacob Moody
@ 2024-10-05 18:33           ` william
  2024-10-05 19:56             ` Romano
  0 siblings, 1 reply; 10+ messages in thread
From: william @ 2024-10-05 18:33 UTC (permalink / raw)
  To: 9front

Wow. I really got it wrong. I guess, I guess I just want 9front running every where. One team runs struts,
another payara, and another flask. The eco system is just different. I certainly don't want to share my
file system with them. But It would be nice to have stats running on each linux system, and maybe setup a listener to do something interesting and share or expose something on the linux side and not have a qemu with
9front.iso running on each linux system. 


Quoth Jacob Moody <moody@posixcafe.org>:
> On 10/5/24 11:26, william@thinktankworkspaces.com wrote:
> > Oh I see. I do have a 9front server running. This is my first exeriment with 9pfs. I just wanted to 
> > throw 9pfs on a Mac and a few linux boxes. I guess I just wanted to connect without the hassel of 
> > ssh or sshfs. But it does sound like I need a few more tools to really get the benefit out of it
> > beyond 9pfs, meaning that I suppose I need plan9ports installed and factotum and a few other things or is 
> > that incorrect. Strange enough but I'm kind of getting attached to acme editor and have been using it
> > in my daily life with sshfs and changing code on remote servers. It's light weight as opposed to vscode
> > or intellij running remotely which is heavy. I loose some benefits but I gain others. 
> > 
> > So I thought to kind of expand with 9pfs and take advantage of some additional features. 
> > 
> 
> Hold on here, it's still not clear exactly what the end result is that you're looking for here.
> 
> Let's start from the top here:
> 
> 9pfs does not require anything from plan9port.
> 9pfs is a fuse 9p client.
> 9pfs connects to a system that is running a 9p file server (over port 564 by default).
> This means your mac is initiating a network connection to your 9front machine, so the 9front machine must be listening for 9p.
> Ssh and sshfs go the other way, they initiate a network connection from 9front to a machine running ssh.
> 9pfs would expose the 9front's files to your mac, sshfs exposes your macs files to your 9front.
> A 9front machine does not expose its root filesystem over 9p by default, that requires some modifications.
> 
> This is why I was asking about the networking status of your 9front machine (ie can you ping it, is it listening on port 564 etc)
> 
> 
> Hope this helps,
> moody
> 
> 


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

* Re: [9front] 9pfs
  2024-10-05 18:33           ` william
@ 2024-10-05 19:56             ` Romano
  2024-10-05 20:19               ` Aram Hăvărneanu
  2024-10-06  0:05               ` william
  0 siblings, 2 replies; 10+ messages in thread
From: Romano @ 2024-10-05 19:56 UTC (permalink / raw)
  To: 9front

I think you might want to consider drawterm without graphics mode, running on those different systems: drawterm -G. Then you can use os(1) on 9front to run commands on each system from your 9front system.

On Sat, Oct 5, 2024, at 11:33 AM, william@thinktankworkspaces.com wrote:
> Wow. I really got it wrong. I guess, I guess I just want 9front running 
> every where. One team runs struts,
> another payara, and another flask. The eco system is just different. I 
> certainly don't want to share my
> file system with them. But It would be nice to have stats running on 
> each linux system, and maybe setup a listener to do something 
> interesting and share or expose something on the linux side and not 
> have a qemu with
> 9front.iso running on each linux system. 
>
>
> Quoth Jacob Moody <moody@posixcafe.org>:
>> On 10/5/24 11:26, william@thinktankworkspaces.com wrote:
>> > Oh I see. I do have a 9front server running. This is my first exeriment with 9pfs. I just wanted to 
>> > throw 9pfs on a Mac and a few linux boxes. I guess I just wanted to connect without the hassel of 
>> > ssh or sshfs. But it does sound like I need a few more tools to really get the benefit out of it
>> > beyond 9pfs, meaning that I suppose I need plan9ports installed and factotum and a few other things or is 
>> > that incorrect. Strange enough but I'm kind of getting attached to acme editor and have been using it
>> > in my daily life with sshfs and changing code on remote servers. It's light weight as opposed to vscode
>> > or intellij running remotely which is heavy. I loose some benefits but I gain others. 
>> > 
>> > So I thought to kind of expand with 9pfs and take advantage of some additional features. 
>> > 
>> 
>> Hold on here, it's still not clear exactly what the end result is that you're looking for here.
>> 
>> Let's start from the top here:
>> 
>> 9pfs does not require anything from plan9port.
>> 9pfs is a fuse 9p client.
>> 9pfs connects to a system that is running a 9p file server (over port 564 by default).
>> This means your mac is initiating a network connection to your 9front machine, so the 9front machine must be listening for 9p.
>> Ssh and sshfs go the other way, they initiate a network connection from 9front to a machine running ssh.
>> 9pfs would expose the 9front's files to your mac, sshfs exposes your macs files to your 9front.
>> A 9front machine does not expose its root filesystem over 9p by default, that requires some modifications.
>> 
>> This is why I was asking about the networking status of your 9front machine (ie can you ping it, is it listening on port 564 etc)
>> 
>> 
>> Hope this helps,
>> moody
>> 
>>

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

* Re: [9front] 9pfs
  2024-10-05 19:56             ` Romano
@ 2024-10-05 20:19               ` Aram Hăvărneanu
  2024-10-06  0:05               ` william
  1 sibling, 0 replies; 10+ messages in thread
From: Aram Hăvărneanu @ 2024-10-05 20:19 UTC (permalink / raw)
  To: 9front

Fuse doesn't work on macOS anymore.

-- 
Aram Hăvărneanu

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

* Re: [9front] 9pfs
  2024-10-05 19:56             ` Romano
  2024-10-05 20:19               ` Aram Hăvărneanu
@ 2024-10-06  0:05               ` william
  1 sibling, 0 replies; 10+ messages in thread
From: william @ 2024-10-06  0:05 UTC (permalink / raw)
  To: 9front

Right but that will only show stats of the cpu/auth server. Plus now I'm sitting on the linux server. 
I kind of wanted to minimize that. This is useful however if I wanted to transfer files from 9front
and not deal with ssh which is super cool. No I think Moody answered the question. I spend a lot of 
time in ssh sshfs. I just wanted extra toys. 





Quoth Romano <me+unobe@fallglow.com>:
> I think you might want to consider drawterm without graphics mode, running on those different systems: drawterm -G. Then you can use os(1) on 9front to run commands on each system from your 9front system.
> 
> On Sat, Oct 5, 2024, at 11:33 AM, william@thinktankworkspaces.com wrote:
> > Wow. I really got it wrong. I guess, I guess I just want 9front running 
> > every where. One team runs struts,
> > another payara, and another flask. The eco system is just different. I 
> > certainly don't want to share my
> > file system with them. But It would be nice to have stats running on 
> > each linux system, and maybe setup a listener to do something 
> > interesting and share or expose something on the linux side and not 
> > have a qemu with
> > 9front.iso running on each linux system. 
> >
> >
> > Quoth Jacob Moody <moody@posixcafe.org>:
> >> On 10/5/24 11:26, william@thinktankworkspaces.com wrote:
> >> > Oh I see. I do have a 9front server running. This is my first exeriment with 9pfs. I just wanted to 
> >> > throw 9pfs on a Mac and a few linux boxes. I guess I just wanted to connect without the hassel of 
> >> > ssh or sshfs. But it does sound like I need a few more tools to really get the benefit out of it
> >> > beyond 9pfs, meaning that I suppose I need plan9ports installed and factotum and a few other things or is 
> >> > that incorrect. Strange enough but I'm kind of getting attached to acme editor and have been using it
> >> > in my daily life with sshfs and changing code on remote servers. It's light weight as opposed to vscode
> >> > or intellij running remotely which is heavy. I loose some benefits but I gain others. 
> >> > 
> >> > So I thought to kind of expand with 9pfs and take advantage of some additional features. 
> >> > 
> >> 
> >> Hold on here, it's still not clear exactly what the end result is that you're looking for here.
> >> 
> >> Let's start from the top here:
> >> 
> >> 9pfs does not require anything from plan9port.
> >> 9pfs is a fuse 9p client.
> >> 9pfs connects to a system that is running a 9p file server (over port 564 by default).
> >> This means your mac is initiating a network connection to your 9front machine, so the 9front machine must be listening for 9p.
> >> Ssh and sshfs go the other way, they initiate a network connection from 9front to a machine running ssh.
> >> 9pfs would expose the 9front's files to your mac, sshfs exposes your macs files to your 9front.
> >> A 9front machine does not expose its root filesystem over 9p by default, that requires some modifications.
> >> 
> >> This is why I was asking about the networking status of your 9front machine (ie can you ping it, is it listening on port 564 etc)
> >> 
> >> 
> >> Hope this helps,
> >> moody
> >> 
> >>
> 


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

end of thread, other threads:[~2024-10-06  0:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-05  4:14 [9front] 9pfs william
2024-10-05  5:12 ` Jacob Moody
2024-10-05  7:44   ` william
2024-10-05 16:01     ` Jacob Moody
2024-10-05 16:26       ` william
2024-10-05 17:46         ` Jacob Moody
2024-10-05 18:33           ` william
2024-10-05 19:56             ` Romano
2024-10-05 20:19               ` Aram Hăvărneanu
2024-10-06  0:05               ` william

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).