9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Anthony Sorace <a@9srv.net>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Man pages for add-ons
Date: Fri, 26 Mar 2010 01:59:56 -0400	[thread overview]
Message-ID: <20AAD8EC-F932-4BFD-9056-04B15A337687@9srv.net> (raw)
In-Reply-To: <twig.1269579741.2777@swcp.com>

[-- Attachment #1: Type: text/plain, Size: 2018 bytes --]

	Unix has two camps for approaching this problem /usr/local and /opt.
While they're almost never followed well on modern unix systems, the
idea is basically a global local overlay vs. a per-package overlay.

	The /usr/local approach takes all packages not part of the base
system and creates a "local root", a global mirror of (roughly) the
root file system. Those poor souls don't have bind to work with, so
everything ends up "knowing" to look in /bin and /usr/local/bin, /etc
and /usr/local/etc, and so on. Packages from multiple sources are all
intermixed in one /usr/local, so you've basically got the base system
vs. everything else. EBo's /sys_aps is basically a recreation of /usr/
local.

	The /opt model creates per-package trees under /opt, for example /opt/
SomePackage. Within, it gets a similar looking overlay, but specific
to that package. It's then up to the user or site admin to determine
which packages get installed. Based on a similar (but much shorter)
conversation on inferno-list, a few of us are trying out this model
for third-party packages within Inferno.

	The Plan 9 approach today is either install everything in / (/386/
bin, /sys/include, &c) or in your personal home dir and bind as
needed. The later is irritating on multi-user systems, and the former
can make maintenance a lot harder. Replica's -c and -s help, but it
still requires more vigilance from the admin than it seems like it
ought to.

	Personally, I've always preferred the /opt model, as it makes it
easier to tell at a glance what's installed and to work with
components individually. The (non-)overlay can get unwieldy on Unix,
but our namespaces make that much easier for us. It also give both
admins and users package-level control over what gets included.

	Like I said, I and a few others have started playing with this in
Inferno. If it works reasonably there, I intend to try something
similar in Plan 9. Anyone likes to beat me to it, I'd love to hear
about your results.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 201 bytes --]

  parent reply	other threads:[~2010-03-26  5:59 UTC|newest]

Thread overview: 102+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-25 11:49 tlaronde
2010-03-25 13:37 ` erik quanstrom
2010-03-25 15:31   ` tlaronde
2010-03-25 15:36     ` erik quanstrom
2010-03-26  1:07       ` EBo
2010-03-25 16:03     ` Steve Simon
2010-03-25 18:11   ` lucio
2010-03-25 19:05     ` Tim Newsham
2010-03-25 19:36       ` lucio
2010-03-25 19:42         ` erik quanstrom
2010-03-26  0:52   ` EBo
2010-03-26  1:36     ` Jacob Todd
2010-03-26  2:05       ` ron minnich
2010-03-26  5:02       ` EBo
2010-03-26  5:52         ` Federico G. Benavento
2010-03-26 13:33           ` erik quanstrom
2010-03-26  5:59         ` Anthony Sorace [this message]
2010-03-26  6:09           ` Federico G. Benavento
2010-03-26  6:12           ` EBo
2010-03-26  6:24             ` Federico G. Benavento
2010-03-26  7:08               ` EBo
2010-03-26 13:24                 ` erik quanstrom
2010-03-26 13:09           ` erik quanstrom
2010-03-26 16:45         ` Lyndon Nerenberg (VE6BBM/VE7TFX)
2010-03-26 16:55           ` erik quanstrom
2010-03-26 17:00             ` ron minnich
2010-03-26 17:12               ` erik quanstrom
2010-03-26 17:10             ` Lyndon Nerenberg (VE6BBM/VE7TFX)
2010-03-26 17:13               ` erik quanstrom
2010-03-26 17:15                 ` Lyndon Nerenberg (VE6BBM/VE7TFX)
2010-03-26 17:21                   ` erik quanstrom
2010-03-26 17:31                     ` Lyndon Nerenberg (VE6BBM/VE7TFX)
2010-03-26 17:36                       ` erik quanstrom
2010-03-26 17:56                         ` Lyndon Nerenberg (VE6BBM/VE7TFX)
2010-03-26 18:44                           ` erik quanstrom
2010-03-26 18:57                             ` Lyndon Nerenberg (VE6BBM/VE7TFX)
2010-03-26 21:17                             ` Ethan Grammatikidis
2010-03-26 21:30                               ` erik quanstrom
2010-03-26 21:49                                 ` Ethan Grammatikidis
2010-03-26 17:31                 ` Federico G. Benavento
2010-03-26 17:34                   ` Lyndon Nerenberg (VE6BBM/VE7TFX)
2010-03-26 21:15                     ` Ethan Grammatikidis
2010-03-26 21:32                       ` erik quanstrom
2010-03-26 22:37                         ` Ethan Grammatikidis
2010-03-27  4:32                           ` lucio
2010-03-27 17:39                           ` Tim Newsham
2010-03-27 22:37                       ` Lyndon Nerenberg (VE6BBM/VE7TFX)
2010-03-26 16:56           ` ron minnich
2010-03-26 17:05             ` erik quanstrom
2010-03-26 21:50             ` tlaronde
2010-03-27  4:15               ` lucio
2010-03-27  7:53                 ` Steve Simon
2010-03-27  8:40                   ` lucio
2010-03-27  9:30                     ` Federico G. Benavento
2010-03-27 13:41                       ` erik quanstrom
2010-03-27 13:08                   ` Anthony Sorace
2010-03-27 11:20                 ` tlaronde
2010-03-28 13:17               ` [9fans] Man pages for add-ons: pax? tlaronde
2010-03-28 13:20                 ` erik quanstrom
2010-03-28 18:39                 ` hiro
2010-03-26 17:05           ` [9fans] Man pages for add-ons Anthony Sorace
2010-03-26 20:21         ` Ethan Grammatikidis
2010-03-27 16:46           ` Tim Newsham
2010-03-27 16:54             ` erik quanstrom
2010-03-27 17:58               ` Federico G. Benavento
2010-03-27 18:09                 ` erik quanstrom
     [not found]                   ` <f4d8fa41003271132k7d7e839fk78999c75ddf4b6af@mail.gmail.com>
2010-03-27 18:33                     ` hiro
2010-03-27 23:45               ` Lyndon Nerenberg (VE6BBM/VE7TFX)
2010-03-28  0:39                 ` erik quanstrom
2010-03-27 23:56               ` Tim Newsham
2010-03-28  0:45                 ` erik quanstrom
2010-03-28  0:52                   ` Lyndon Nerenberg (VE6BBM/VE7TFX)
2010-03-28  0:55                     ` erik quanstrom
2010-03-28  1:02                       ` Lyndon Nerenberg (VE6BBM/VE7TFX)
2010-03-28 19:06               ` Ethan Grammatikidis
2010-03-28 19:36                 ` Federico G. Benavento
2010-03-28 20:04                   ` erik quanstrom
2010-03-28 22:59                   ` Ethan Grammatikidis
2010-03-28 23:28                     ` hiro
2010-03-29  0:59                       ` Ethan Grammatikidis
2010-03-29  2:11                         ` Iruata Souza
2010-03-29  9:07                           ` Patrick Kelly
2010-03-29 11:29                             ` Ethan Grammatikidis
2010-03-29 12:14                               ` Patrick Kelly
2010-03-29 12:41                                 ` Connor Lane Smith
2010-03-29 13:05                                   ` Patrick Kelly
2010-03-29 13:23                                     ` Connor Lane Smith
2010-03-29 13:58                                       ` Steve Simon
2010-03-29 19:29                                 ` Georg Lehner
2010-03-29 22:35                                   ` Patrick Kelly
2010-03-29 14:14                               ` blstuart
2010-03-29  1:00                     ` erik quanstrom
2010-03-27 17:49             ` Federico G. Benavento
2010-03-28 18:56             ` Ethan Grammatikidis
2010-03-28 20:09               ` erik quanstrom
2010-03-28 21:27           ` Jacob Todd
2010-03-25 14:07 ` Steve Simon
2010-03-25 15:48   ` tlaronde
2010-03-26  2:02 ` Ethan Grammatikidis
2010-03-26  2:04   ` erik quanstrom
2010-03-29 10:12 Hiro
2010-03-29 12:33 Hiro

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=20AAD8EC-F932-4BFD-9056-04B15A337687@9srv.net \
    --to=a@9srv.net \
    --cc=9fans@9fans.net \
    /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).