9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] bind, kill, tlssrv question
@ 2001-12-13 14:49 Moroo Jun
  0 siblings, 0 replies; 2+ messages in thread
From: Moroo Jun @ 2001-12-13 14:49 UTC (permalink / raw)
  To: 9fans

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9fans] bind, kill, tlssrv question
@ 2001-12-13 15:29 forsyth
  0 siblings, 0 replies; 2+ messages in thread
From: forsyth @ 2001-12-13 15:29 UTC (permalink / raw)
  To: 9fans; +Cc: moroo

[-- 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-12-13 15:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-13 14:49 [9fans] bind, kill, tlssrv question Moroo Jun
2001-12-13 15:29 forsyth

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).