9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Steve Simon <steve@quintile.net>
To: 9front@9front.org
Subject: Re: [9front] Invers of partfs
Date: Thu, 10 Feb 2022 19:07:03 +0000	[thread overview]
Message-ID: <2B66F3F0-47FA-4FC4-B6CD-ECDDC16A514D@quintile.net> (raw)
In-Reply-To: <875ypmd3er.fsf@turtle-trading.net>

unmount?

probably the easiest would be to put your tests in a script with “rfork ne” at the top.

this will ensure that when your script ends the namespace and environment will evaporate. partfs will also close as its input is closed as part of the namspace going.

-Steve


On 10 Feb 2022, at 6:40 pm, Benjamin Riefenstahl <b.riefenstahl@turtle-trading.net> wrote:

Hi all,

I would like to use partfs and disksim for testing.  As most of you
probably know, these services create devices similar to /dev/sdXXX from
memory or files.  One thing that I can't figure out is how to
close/unmount/unbind these, for cleanup and so that I can re-use the
names.  How do I do that?

Thanks, benny

  reply	other threads:[~2022-02-11 10:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-10 17:42 Benjamin Riefenstahl
2022-02-10 19:07 ` Steve Simon [this message]
2022-02-11 11:44   ` Benjamin Riefenstahl
2022-02-14 19:06     ` Benjamin Riefenstahl

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=2B66F3F0-47FA-4FC4-B6CD-ECDDC16A514D@quintile.net \
    --to=steve@quintile.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).