9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Alex Musolino <alex@musolino.id.au>
To: 9front@9front.org
Subject: Re: [9front] instant 9p connection between two machines
Date: Mon, 27 Jul 2020 13:25:47 +0930	[thread overview]
Message-ID: <3EE7A8C01175A8C6CB1A0C01E6B92BD8@musolino.id.au> (raw)
In-Reply-To: <D7970E64-DABC-408E-A13D-C3DFD5360DE8@gmail.com>

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 $*
}


      reply	other threads:[~2020-07-27  3:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-27  3:43 William Gunnells
2020-07-27  3:55 ` Alex Musolino [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3EE7A8C01175A8C6CB1A0C01E6B92BD8@musolino.id.au \
    --to=alex@musolino.id.au \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).