9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: forsyth@vitanuova.com
To: 9fans@cse.psu.edu
Cc: moroo@nifty.com
Subject: Re: [9fans] bind, kill, tlssrv question
Date: Thu, 13 Dec 2001 15:29:37 +0000	[thread overview]
Message-ID: <20011213152309.9583319A32@mail.cse.psu.edu> (raw)

[-- Attachment #1: Type: text/plain, Size: 648 bytes --]

1. binds are undone by unmount (described on the same manual page as bind, namely bind(1))

2. you can't kill another's process unless you are the owner of a terminal or cpu server
	and even then you need to change the mode of the process file before killing it.

		% ps
		forsyth           1    0:00   0:00      64K Wait     init
			...
		none            847    0:00   0:00    1284K Open     httpd
		forsyth         848    0:00   0:00      56K Read     ps
		%
		% echo kill >/proc/847/ctl
		/proc/847/ctl: rc: can't open
		% chmod 666 /proc/847/ctl
		% echo kill >/proc/847/ctl

3. i don't think tlssrv has been distributed yet


[-- Attachment #2: Type: message/rfc822, Size: 2306 bytes --]

To: 9fans@cse.psu.edu
Subject: [9fans] bind, kill, tlssrv question
Date: Thu, 13 Dec 2001 23:49:41 +0900
Message-ID: <p04320400b83e6f33bef0@[192.168.1.31]>

I used Plan9 for some month.

I have some questions for plan9.
Are there any web page FAQ for new users like this? I know Plan9 FAQ by FYWSS.

1. bind
Can I unbind directory?

For example
% cat /usr/jun/a/t
This is a
% cat /usr/jun/b/t
This is b
% bind /usr/jun/a /usr/jun/b
% ls /usr/jun/b
/usr/jun/b/t
% cat /usr/jun/b/t
This is a
%

In this case, how can I access to b's original t? or can I unbind 'a' from 'b'?

2. kill process
Can I kill other owner's process?

For example
% ip/httpd/httpd
% ps
...
none	157	0:00	0:00	1284K Open httpd
% kill httpd
% (No message)

How can I kill httpd?

3. Imap4 with SSL
In /bin/service.auth/tcp993, it execute "tlssrv". Where can I find it?

--
Moroo Jun

             reply	other threads:[~2001-12-13 15:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-13 15:29 forsyth [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-12-13 14:49 Moroo Jun

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=20011213152309.9583319A32@mail.cse.psu.edu \
    --to=forsyth@vitanuova.com \
    --cc=9fans@cse.psu.edu \
    --cc=moroo@nifty.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).