9front - general discussion about 9front
 help / color / mirror / Atom feed
From: qwx@sciops.net
To: 9front@9front.org
Subject: Re: [9front] plumber: remove $plumbsrv, add optional srvname, usage check
Date: Thu, 09 Sep 2021 20:05:53 +0200	[thread overview]
Message-ID: <77387482B8540CE428C9FD12FF4184CB@wopr.sciops.net> (raw)
In-Reply-To: <DF56C1D1686EBB0EE1834795CC36C186@qak>

> My point is that with the -m flag you might not need to post the
> srv file to start with and the plumber process would go away
> together with the namespace.
[...]
> The option I implied is only posting the srv file when requested
> whence you wouldn't need to clean it up afterwards in the usual
> case.

Yeah, I see what you mean.  Right now, the plumber doesn't have an
option not to post a srv file, and I'm not sure -m will work nicely
because libplumb relies on it being mounted there.

It makes sense that $plumbsrv be ejected, and I don't see anyone
or anything using it;  on the other hand, I'm not sure we can only
optionally post a service file without breaking people's setups.
I think being able to specify another name is enough.  The program
doesn't use postmountsrv(2) or other srv(2) shit, so we'd have to
add more code for an option to disable this or refactor or
something, I don't know.

I propose that we just push the patch as is unless someone sees a
better solution.

Thanks!
qwx

  reply	other threads:[~2021-09-09 18:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-07 17:46 qwx
2021-09-07 22:06 ` umbraticus
2021-09-08  8:51   ` sirjofri
2021-09-08 14:18 ` ori
2021-09-08 14:29 ` kvik
2021-09-08 17:35   ` qwx
2021-09-09 15:07     ` kvik
2021-09-09 15:21     ` kvik
2021-09-09 18:05       ` qwx [this message]
2021-09-09 18:16         ` qwx
2021-09-10 21:05         ` qwx

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=77387482B8540CE428C9FD12FF4184CB@wopr.sciops.net \
    --to=qwx@sciops.net \
    --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).