9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] /lib/namespace vs /rc/bin/*rc
@ 2007-04-24 21:36 erik quanstrom
  2007-04-24 21:47 ` Russ Cox
  0 siblings, 1 reply; 4+ messages in thread
From: erik quanstrom @ 2007-04-24 21:36 UTC (permalink / raw)
  To: 9fans

why are some devices bound in /lib/namespace while some others
are bound in /rc/bin/*rc?  for example: '#$'.

- erik


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

* Re: [9fans] /lib/namespace vs /rc/bin/*rc
  2007-04-24 21:36 [9fans] /lib/namespace vs /rc/bin/*rc erik quanstrom
@ 2007-04-24 21:47 ` Russ Cox
  2007-04-24 22:01   ` erik quanstrom
  0 siblings, 1 reply; 4+ messages in thread
From: Russ Cox @ 2007-04-24 21:47 UTC (permalink / raw)
  To: 9fans

> why are some devices bound in /lib/namespace while some others
> are bound in /rc/bin/*rc?  for example: '#$'.

/lib/namespace gets run every time you
create a fresh name space.
termrc and cpurc are for initializing the machine.

for example,
'#t' should be in the termrc/cpurc so that the
bootup programs can have it, but it doesn't
need to be in everyone's.

russ



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

* Re: [9fans] /lib/namespace vs /rc/bin/*rc
  2007-04-24 21:47 ` Russ Cox
@ 2007-04-24 22:01   ` erik quanstrom
  2007-04-24 22:08     ` Russ Cox
  0 siblings, 1 reply; 4+ messages in thread
From: erik quanstrom @ 2007-04-24 22:01 UTC (permalink / raw)
  To: 9fans

right.  i'm not sure i see the advantage of hiding #t.  surely
this isn't a performance argument?

- erik

On Tue Apr 24 17:47:12 EDT 2007, rsc@swtch.com wrote:
> > why are some devices bound in /lib/namespace while some others
> > are bound in /rc/bin/*rc?  for example: '#$'.
> 
> /lib/namespace gets run every time you
> create a fresh name space.
> termrc and cpurc are for initializing the machine.
> 
> for example,
> '#t' should be in the termrc/cpurc so that the
> bootup programs can have it, but it doesn't
> need to be in everyone's.
> 
> russ


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

* Re: [9fans] /lib/namespace vs /rc/bin/*rc
  2007-04-24 22:01   ` erik quanstrom
@ 2007-04-24 22:08     ` Russ Cox
  0 siblings, 0 replies; 4+ messages in thread
From: Russ Cox @ 2007-04-24 22:08 UTC (permalink / raw)
  To: 9fans

> right.  i'm not sure i see the advantage of hiding #t.  surely
> this isn't a performance argument?

i see no point to putting a file into everyone's
name space when only one user has permission
to open it or when approximately everyone will
have no need for it.

you are free to customize the system if you wish
to use it in a different way.

russ



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

end of thread, other threads:[~2007-04-24 22:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-24 21:36 [9fans] /lib/namespace vs /rc/bin/*rc erik quanstrom
2007-04-24 21:47 ` Russ Cox
2007-04-24 22:01   ` erik quanstrom
2007-04-24 22:08     ` 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).