* instant 9p connection between two machines
@ 2020-07-27 3:43 William Gunnells
2020-07-27 3:55 ` [9front] " Alex Musolino
0 siblings, 1 reply; 2+ messages in thread
From: William Gunnells @ 2020-07-27 3:43 UTC (permalink / raw)
To: 9front
Trying to find a better way than the 3 lines below
server% aux/listen1 -tv tcp!*!9999 /bin/exportfs -R -r /
client% srv tcp!ip.of.server!9999 server /n/server
client% ls /n/server
This seems to work. but ties up two windows of course. I wondering if there is a better way
I guess I wanted to do something similar to 9front. Where you type
9fs 9front and you have everything in /n/9front
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [9front] instant 9p connection between two machines
2020-07-27 3:43 instant 9p connection between two machines William Gunnells
@ 2020-07-27 3:55 ` Alex Musolino
0 siblings, 0 replies; 2+ messages in thread
From: Alex Musolino @ 2020-07-27 3:55 UTC (permalink / raw)
To: 9front
There is indeed a better way. See rcpu(1).
Adding custom entries to 9fs is something I have done by having my own
9fs script in $home/bin/rc which falls through to /rc/bin/9fs if it
doesn't find a match. E.g.
#!/bin/rc
switch($1){
case wdnas
if(! test -e /srv/wdnas)
cifs -s wdnas wdnas Public
mount /srv/wdnas /n/wdnas
bind /n/wdnas/public /n/wdnas
case hg
bind -ac /dist/plan9front /
case *
exec /rc/bin/9fs $*
}
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-07-27 3:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-27 3:43 instant 9p connection between two machines William Gunnells
2020-07-27 3:55 ` [9front] " Alex Musolino
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).