9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Dan Cross <cross@math.psu.edu>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Installed Plan 9, now what?
Date: Mon,  8 Dec 2003 22:00:28 -0500	[thread overview]
Message-ID: <200312090300.hB930Sl24241@augusta.math.psu.edu> (raw)
In-Reply-To: Your message of "Mon, 08 Dec 2003 20:36:26 EST." <E1ATWnd-0003il-47@t40.swtch.com>

"Russ Cox" <rsc@swtch.com> writes:
> > Bearing in mind that right now there's no benefit to site, since it
> > doesn't exist,
>
> this isn't fair -- the question is what the benefit would be
> if it were there.

Fair enough.

> > the only thing I could thing of would be to override
> > applyopts (e.g., to strip out -u).  Other users might come along,
> > such as doing the `srv -AWP' trick, etc.  Other than that?  No, not
> > right now, anyway.  Since it's a zero-cost thing, plugging it in for
> > the future wouldn't hurt much, though.
>
> well, no.  it does add to the complexity of the system,

What complexity?  An if and a `.'?  I understand the argument that if
you add an if and a . everywhere, pretty soon we end up with a bloated
system, but I don't think this is the straw that's going to break the
camel's back.

> and as presotto said there are a lot of redirects already.

I didn't understand that comment then, and I don't really understand it
now.  What's being redirected here?  The idea is just to provide a
mechanism to interject local policy.

> i intended from the very beginning for people to customize
> /dist/replica/plan9 to suit their local systems.
>
> if there are more sensible defaults, i'd rather get them
> done right in the files to begin with than require everyone
> to edit /dist/replica/site.

The point isn't to require anything, but to provide mechanism.

Of course, optimizing for the common case by providing sensible
defaults so the majority can ignore /dist/replica/site should remain
the primary goal, but I don't understand how adding
`site=/dist/replica/site; if ( test -r $site ) .  $site' is going to
hurt much.  Or, even better, have the scripts dot a defaults file,
which might look for a site override.  So much of the replica scripts
are boilerplate, it just seems like a mistake not to provide a
defaulting mechanism.

	- Dan C.



  reply	other threads:[~2003-12-09  3:00 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-08 12:48 David Presotto
2003-12-08 15:10 ` andrey mirtchovski
2003-12-08 16:21   ` David Presotto
2003-12-08 19:30   ` Dan Cross
2003-12-08 21:14     ` david presotto
2003-12-08 22:20       ` Dan Cross
2003-12-09  0:55         ` David Presotto
2003-12-09  1:20           ` Russ Cox
2003-12-09  1:29             ` Dan Cross
2003-12-09  1:36               ` Russ Cox
2003-12-09  3:00                 ` Dan Cross [this message]
2003-12-09  4:02                   ` Geoff Collyer
2003-12-09  3:44                     ` mirtchov
2003-12-09  4:10                     ` Scott Schwartz
2003-12-07  9:59                       ` Charles Forsyth
2003-12-07 10:28                         ` Charles Forsyth
2003-12-09  4:33                       ` Geoff Collyer
2003-12-09  4:54                     ` Dan Cross
2003-12-09  7:47                       ` okamoto
2003-12-09 11:23                       ` a
2003-12-09 12:12                         ` boyd, rounin
2003-12-09 18:33                       ` splite
2003-12-09 19:23                         ` Brantley Coile
  -- strict thread matches above, loose matches on Subject: below --
2003-12-09  7:55 YAMANASHI Takeshi
2003-12-09 13:49 ` David Presotto
2003-12-08 11:36 Tiit Lankots
2003-12-08 14:51 ` ron minnich
2003-12-08 15:00 ` Russ Cox
2003-12-08 10:08 Sujan Gautam
2003-12-08 13:53 ` mirtchov

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=200312090300.hB930Sl24241@augusta.math.psu.edu \
    --to=cross@math.psu.edu \
    --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).