9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: giacomo@tesio.it (Giacomo Tesio)
Subject: [9fans] Backgrounding a task
Date: Wed, 25 Oct 2017 01:13:24 +0200	[thread overview]
Message-ID: <CAHL7psGp_erxVD_KAOhJqxm9G0fOwwxKkn1F=xhRr7NYkgZuzQ@mail.gmail.com> (raw)
In-Reply-To: <CB6F33E1-2F8C-4507-BEB0-0F15323C19CE@gmail.com>

Here it is: https://github.com/JehanneOS/jehanne/blob/master/sys/src/cmd/ns/clone.c

I'll leave the modifications to the plumber for another boring night...


Giacomo

2017-10-25 1:00 GMT+02:00 Chris McGee <newton688 at gmail.com>:
>
>> Think about multiple processes owned by multiple users running on a
>> cpu server.  Which processes should be allowed to join which
>> namespaces?
>>
>> Perhaps allowing only the hostowner to join namespaces for debugging
>> and administration purposes would be acceptable.
>
> Ah, right. What about only allowing a process to join another namespace if the user is the same?
>
>> This seems a contrived example.  Would you really spend HOURS working
>> on setting up a namespace by hand?  Surely you would instead be
>> working on a script that builds the namespace for you; make the
>> computer do the work.  Then when you mess up, you can modify the
>> script, create a new window, and try again.
>
> Yes, good point. That's the best way to do it. Also screen file can help add commands to the script post facto. The hours term isn't so much in the development of the environment but more to do with the amount of time you could be working in that shell instance. All the while not remembering all of the things you did to the namespace and environment in that time.
>
> Cheers,
> Chris
>



  reply	other threads:[~2017-10-24 23:13 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-24 14:21 Alex Musolino
2017-10-24 19:18 ` Giacomo Tesio
2017-10-24 22:07   ` Giacomo Tesio
2017-10-24 23:00 ` Chris McGee
2017-10-24 23:13   ` Giacomo Tesio [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-10-24  3:54 Alex Musolino
2017-10-24 11:19 ` Chris McGee
2017-10-06 23:33 Chris McGee
2017-10-07  1:42 ` Erik Quanstrom
2017-10-07  4:04 ` Skip Tavakkolian
2017-10-07 12:21   ` Chris McGee
2017-10-23 17:20     ` Yaroslav Kolomiiets
2017-10-24  1:48       ` Chris McGee

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='CAHL7psGp_erxVD_KAOhJqxm9G0fOwwxKkn1F=xhRr7NYkgZuzQ@mail.gmail.com' \
    --to=giacomo@tesio.it \
    /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).