9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] couple namespace question
@ 2005-05-07  8:44 Sergey Reva
  2005-05-07 12:56 ` Russ Cox
  0 siblings, 1 reply; 2+ messages in thread
From: Sergey Reva @ 2005-05-07  8:44 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Hello Fans,

Why most process have 'ns' file with entryes:
    bind / /
    bind /net /net
    bind /n /n
This is artifactes or some special functionality?

Where is sane way to use proc fs:
'#p/34/ctl' or '/proc/34/ctl'


-- 
http://rs-rlab.narod.ru                          mailto:rs_rlab@mail.ru



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

* Re: [9fans] couple namespace question
  2005-05-07  8:44 [9fans] couple namespace question Sergey Reva
@ 2005-05-07 12:56 ` Russ Cox
  0 siblings, 0 replies; 2+ messages in thread
From: Russ Cox @ 2005-05-07 12:56 UTC (permalink / raw)
  To: Sergey Reva, Fans of the OS Plan 9 from Bell Labs

> Why most process have 'ns' file with entryes:
>     bind / /
>     bind /net /net
>     bind /n /n
> This is artifactes or some special functionality?

This sets up the first entry of a union mount.
In older versions you couldn't bind -a or -b
until you had explicitly started a mount point
using something like the above, but now the 
kernel does them for you when necessary.

> Where is sane way to use proc fs:
> '#p/34/ctl' or '/proc/34/ctl'

Almost always use /proc.  If you use #p then the tool
does not play well with others like snapfs or 
import remote-machine /proc.

Russ


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

end of thread, other threads:[~2005-05-07 12:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-07  8:44 [9fans] couple namespace question Sergey Reva
2005-05-07 12:56 ` Russ Cox

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