9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Russ Cox" <rsc@plan9.bell-labs.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] backwards-incompatible changes
Date: Tue, 25 Mar 2003 21:20:26 -0500	[thread overview]
Message-ID: <d9ef55a15c89e9a36a21c08b5eea8a6b@plan9.bell-labs.com> (raw)
In-Reply-To: <200303260209.h2Q29Qt20533@augusta.math.psu.edu>

> Which already has another well-defined meaning and is commonly.

We have about 20 namespace.$sysname files here, and every
one of them was only appending to the standard name space
rather than replacing it.  And they weren't doing a good job either --
many of them had diverged from namespace since being created.
The common case thus appears to be append rather than replace.
Further, we couldn't see any reason you'd really want to replace.
Hence we changed the default interpretation.   The only reason we
added the ``clear'' verb was to make a smooth transition possible.

I think the only reason namespace.$sysname sounds weird to you
for ``things to run after running namespace'' is that you've already
got it stuck to ``things to run instead of running namespace.''  
I don't think there's anything inherently strange about the new
convention.

> Why overload the meaning of /lib/namespace.$sysname?

We didn't overload it.  We replaced it.  /lib/addns.$sysname
sounded clunky, and we didn't have any better ideas.
Think of it as fixing a bug in the way namespace.$sysname
works. 

> But we're already being forced to customize /lib/namespace.$sysname,
> something that is already established and in common use.  How's that
> different from maintaining /lib/namespace.local?  How is having
> /lib/namespace.local `forcing' you to customize?

The fact that newns consults /lib/namespace.$sysname is useful.
Unless I misunderstand you, you are proposing that /lib/namespace
should include /lib/namespace.local, which should, if the user feels
like it, include /lib/namespace.$sysname.  So you're forced to create
/lib/namespace.local in order to get this useful commonly-used 
not-really-local feature of including namespace.$sysname.
That feels like a mistake.

Russ



  reply	other threads:[~2003-03-26  2:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-25 21:58 Russ Cox
2003-03-26  1:43 ` Dan Cross
2003-03-26  1:53   ` Russ Cox
2003-03-26  2:09     ` Dan Cross
2003-03-26  2:20       ` Russ Cox [this message]
2003-03-26  2:34       ` Geoff Collyer
2003-03-26  1:35 Russ Cox

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=d9ef55a15c89e9a36a21c08b5eea8a6b@plan9.bell-labs.com \
    --to=rsc@plan9.bell-labs.com \
    --cc=9fans@cse.psu.edu \
    /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).