9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@cse.psu.edu, Eoghan Sherry <ejsherry@gmail.com>
Subject: [9fans] bringing down vacfs in p9p
Date: Thu,  9 Mar 2006 06:57:55 -0600	[thread overview]
Message-ID: <20060309125755.2A4D210C69@dexter-peak.quanstro.net> (raw)
In-Reply-To: <a2d238df0603090208w29f13e76r@mail.gmail.com>

the unix domain sockets in `{namespace} don't need to be removed;
9pserve -- not vacfs -- creats the socket file. it is not removed,
regardless of how things exit.

since vacfs doesn't do rfork(RFNOTEG), hitting delete in the 9term
window from which vacfs was started should kill vacfs off.

i don't see how that could be dangerous since vacfs is only a cache.

- erik

"Eoghan Sherry" <ejsherry@gmail.com> writes

|
| I can't figure out how to gracefully stop vacfs (or any other
| file server for that matter) in p9p.
|
| In plan 9 I can do an rm /srv/vacfs.test which immediately
| removes the file causing vacfs to exit.
|
| It'd be nice if rm `{namespace}^/vacfs.test would do the
| same in p9p but it doesn't since unix won't remove the socket file
| until vacfs closes it. I've resorted to 9 kill vacfs | rc
| which doesn't seem right.
|
| Is there something I'm missing? Is kill not that bad?
|
| eoghan


  reply	other threads:[~2006-03-09 12:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-09 10:08 Eoghan Sherry
2006-03-09 12:57 ` erik quanstrom [this message]
2006-03-09 14:01 ` Russ Cox

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=20060309125755.2A4D210C69@dexter-peak.quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@cse.psu.edu \
    --cc=ejsherry@gmail.com \
    /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).