From: "Lyndon Nerenberg (VE6BBM/VE7TFX)" <lyndon@orthanc.ca>
To: 9fans@9fans.net
Subject: Re: [9fans] Man pages for add-ons
Date: Fri, 26 Mar 2010 09:45:11 -0700 [thread overview]
Message-ID: <116f80ebe8eb00f5abc98350c8159bb7@yyc.orthanc.ca> (raw)
In-Reply-To: <twig.1269579741.2777@swcp.com>
You're making this way more complicated than it needs to be.
For 3rd party stuff, I put the source tree in /usr/lyndon/src/<foo>,
adjust the mkfiles to install in /usr/lyndon/bin/$objtype, and say
'mk install'. I keep a shadow man tree under /usr/lyndon/lib/man,
and then bind it all on top of the system directories:
bind -a $home/bin/rc /bin
bind -a $home/bin/rcaux /bin/aux
bind -a $home/bin/$cputype /bin
bind -a $home/lib/man/1 /sys/man/1
bind -a $home/lib/man/2 /sys/man/2
bind -a $home/lib/man/3 /sys/man/3
bind -a $home/lib/man/4 /sys/man/4
bind -a $home/lib/man/5 /sys/man/5
bind -a $home/lib/man/6 /sys/man/6
bind -a $home/lib/man/7 /sys/man/7
bind -a $home/lib/man/8 /sys/man/8
(I use this for contrib packages as well, after getting burned a few
times with contrib stuff breaking builds in /sys/src. Rather than
use the package tool I copy the sources into $home/src and build as
above. The extra work is minimal.)
If you need to distinguish between your own and site-wide 3rd-party
bits, create a new user to own the public 3rd party code, mirror the
above structure, and do the appropriate binds in the system-wide
namespace files.
The only time I contemplate using a /bin/<foo> subdirectory is when
there are significant command name collisions. Over the last 10+
years it's only happened to me once. It's almost always easier to
just rename the conflicting file.
To use Plan 9 properly you must understand what namespaces provide,
and how to manipulate them.
--lyndon
next prev parent reply other threads:[~2010-03-26 16:45 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
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) [this message]
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=116f80ebe8eb00f5abc98350c8159bb7@yyc.orthanc.ca \
--to=lyndon@orthanc.ca \
--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).