9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "EBo" <ebo@sandien.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net>,
	"Skip Tavakkolian" <9nut@9netics.com>
Subject: Re: [9fans] 9vx patch to read environment var PLAN9
Date: Wed, 14 Apr 2010 13:01:37 -0600	[thread overview]
Message-ID: <twig.1271271697.97703@swcp.com> (raw)
In-Reply-To: <2a13f4556b5b2430836b81136e5ba71f@9netics.com>


> the point is that any default is bound to be wrong.  my guess is that
> '/home/rsc/...' default was introduced early in the development and
> before '-r' was added.  it might be more useful to lobby for a default
> location like '/usr/lib/9vx'.
>
> secondly writing
>
> $ NINEROOT=/usr/ebo/9vxroot 9vx
>
> is less pleasant than:
>
> $ 9vx -r /usr/ebo/9vxroot
>
> it's true that NINEROOT can be set and forgotten about, but the same
> argument could be made for writing a shell function that aliases 9vx
> to '9vx -r ...' etc -- and probably in the same place, e.g. .profile.

excellent, some constructive feedback, and thank all of you who have done so.

We already have -r so that we can either alias 9vx, or write a two line
wrapper as also previously suggested.

Now lets debate if there should be any hard coded paths in the program.  Where
are the most appropraite locations?  We could of course open up the /opt
/usr/local debate again, but there is also putting it into /usr/share/9vx and
/usr/lib/9vx as suggested. We could hash out what is suggested with the Linux
Standard Base, or throw the whole thing out the window.

What I have decided to do for my current work is to put it in /usr/local.
Why?  I am working on Tvx, and their standard install is in /usr/local/${package}

I'll take consensus on the NINEROOT and ${home}/ if people do not mind that
complexity.

  EBo --




  reply	other threads:[~2010-04-14 19:01 UTC|newest]

Thread overview: 81+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-01 10:13 [9fans] how about intel D510MO Alex
2010-04-08  3:53 ` John Barham
2010-04-08 13:04   ` erik quanstrom
2010-04-11 17:06     ` [9fans] 9vx patch to read environment var PLAN9 EBo
2010-04-11 17:11       ` erik quanstrom
2010-04-11 17:24         ` Devon H. O'Dell
2010-04-11 17:30           ` erik quanstrom
2010-04-11 17:48             ` Devon H. O'Dell
2010-04-11 17:52               ` erik quanstrom
2010-04-11 21:01                 ` [9fans] /sys/lib/newuser patch EBo
2010-04-11 21:48                   ` erik quanstrom
2010-04-11 22:04                     ` EBo
2010-04-11 23:06                       ` Iruata Souza
2010-04-12  3:58                         ` EBo
2010-04-11 23:19                       ` Anthony Sorace
2010-04-12  3:49                         ` EBo
2010-04-12  5:34                         ` EBo
2010-04-12 12:28                           ` erik quanstrom
2010-04-12 13:13                             ` EBo
2010-04-12 13:28                             ` hiro
2010-04-12 13:37                               ` erik quanstrom
2010-04-12 14:11                                 ` hiro
2010-04-12 14:35                                   ` Devon H. O'Dell
2010-04-12 14:40                                     ` erik quanstrom
2010-04-12 15:01                                       ` Devon H. O'Dell
2010-04-12 15:28                                         ` erik quanstrom
2010-04-12 15:08                                       ` hiro
2010-04-12 15:23                                       ` hiro
2010-04-13  2:23                                         ` Anthony Sorace
2010-04-13  2:53                                           ` EBo
2010-04-13  3:14                                             ` Anthony Sorace
2010-04-13  3:23                                               ` EBo
2010-04-13  4:05                                                 ` EBo
2010-04-12 13:38                             ` EBo
2010-04-13 13:37                           ` maht
2010-04-13 13:59                             ` EBo
2010-04-11 18:03               ` [9fans] 9vx patch to read environment var PLAN9 EBo
2010-04-11 17:32         ` EBo
2010-04-11 17:42           ` Devon H. O'Dell
2010-04-11 17:47             ` EBo
2010-04-12  0:43       ` Russ Cox
2010-04-12  3:22         ` EBo
2010-04-12 10:46           ` Francisco J Ballesteros
2010-04-12 11:38             ` EBo
2010-04-12 12:36               ` erik quanstrom
2010-04-13  4:47               ` Skip Tavakkolian
2010-04-13  5:20                 ` EBo
2010-04-13  5:43                   ` Skip Tavakkolian
     [not found]                   ` <43c85712dd833ad7544f72b7c66a3b2e@9netics.com>
2010-04-13  6:19                     ` EBo
2010-04-13  6:33                       ` Skip Tavakkolian
2010-04-13  6:47                         ` EBo
2010-04-14 16:22                   ` Ethan Grammatikidis
2010-04-14 18:10                     ` EBo
2010-04-14 18:23                       ` Federico G. Benavento
2010-04-14 18:33                         ` lucio
2010-04-14 18:38                         ` EBo
2010-04-14 22:51                           ` Ethan Grammatikidis
2010-04-15  0:30                             ` Patrick Kelly
2010-04-15  4:32                               ` Russ Cox
2010-04-15  6:48                                 ` EBo
2010-04-15  8:26                                   ` Ethan Grammatikidis
2010-04-15  7:39                               ` EBo
2010-04-15  9:22                                 ` Ethan Grammatikidis
2010-04-15 13:55                                 ` Devon H. O'Dell
2010-04-15 14:01                                   ` EBo
2010-04-14 18:36                       ` erik quanstrom
2010-04-14 18:50                         ` EBo
2010-04-14 18:44                       ` Skip Tavakkolian
2010-04-14 19:01                         ` EBo [this message]
2010-04-15  8:44                     ` Balwinder S Dheeman
2010-04-15 10:11                       ` Ethan Grammatikidis
2010-04-15 13:06                         ` EBo
2010-04-15 14:29                         ` Balwinder S Dheeman
2010-04-15 15:38                           ` hiro
2010-04-16  7:52                             ` Ethan Grammatikidis
2010-04-16 12:08                               ` erik quanstrom
2010-04-16  8:20                           ` Ethan Grammatikidis
2010-04-16 10:57                             ` hiro
2010-04-26  8:43 ` [9fans] how about intel D510MO Pavel Klinkovsky
2010-04-15 16:52 [9fans] 9vx patch to read environment var PLAN9 Chad Brown
2010-04-15 17:03 ` erik quanstrom

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=twig.1271271697.97703@swcp.com \
    --to=ebo@sandien.com \
    --cc=9fans@9fans.net \
    --cc=9nut@9netics.com \
    /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).