9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Kris Maglione <bsdaemon@comcast.net>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] URI scheme for 9P2000 resources
Date: Sun,  1 Jul 2007 05:15:05 -0400	[thread overview]
Message-ID: <20070701091505.GZ28917@kris.home> (raw)
In-Reply-To: <009a9ae2f5f2a8e9baaa3bd932012eb0@quintile.net>

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

On Sun, Jul 01, 2007 at 10:05:16AM +0100, Steve Simon wrote:
>Wouldn't a heuristic be enough here? if the host specified is the localhost
>then forst try to attach to a Unix domain socket, if that fails then try
>an IN connection to the localhost instead, the port number would become
>the socket's path.
>
>If this where ever used on plan9 the name would (I guess) become the name in /srv
>where the fd was posted.

That's what I suggested earlier, elsewhere. The point is that it 
has to be decided on, and universal. I'm not happy that it would 
have a different meaning on (say) Windows, though.

9p:///tmp/ns.foo.:0/acme/1/
9p://localhost/tmp/foo
9p://plan9.bell-labs.com:wiki/installing_plan9_on_your_toaster/index.html

But my point was that any protocol other than TCP or unix would 
seem to go unused, and break consistency with other URI types 
(none that I know of allow you to name a protocol). If there 
comes a time when it's a must, something (as suggested) like 
this:

9p-il://ken/cc/

-- 
Kris Maglione

Writings prepared without understanding must fail in the
first objective of communication -- informing
the uninformed.

[-- Attachment #2: Type: application/pgp-signature, Size: 194 bytes --]

  reply	other threads:[~2007-07-01  9:15 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-30 11:47 Enrico Weigelt
2007-06-30 12:02 ` erik quanstrom
2007-06-30 15:32   ` David Arnold
2007-06-30 17:11     ` Enrico Weigelt
2007-06-30 17:46     ` Lyndon Nerenberg
     [not found] ` <12cc024df6f0b86decfe2af2a1ab42f1@coraid.com>
2007-06-30 12:12   ` Enrico Weigelt
2007-06-30 19:34     ` erik quanstrom
2007-06-30 20:26       ` Uriel
2007-06-30 22:54         ` Skip Tavakkolian
2007-06-30 22:59           ` Kris Maglione
2007-07-01  6:13             ` Skip Tavakkolian
2007-07-01  6:24               ` Kris Maglione
2007-07-01  8:54                 ` matt
2007-07-01  9:04                   ` Kris Maglione
2007-07-01  9:05                 ` Steve Simon
2007-07-01  9:15                   ` Kris Maglione [this message]
2007-07-01 11:21                     ` erik quanstrom
2007-07-01 11:11                   ` 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=20070701091505.GZ28917@kris.home \
    --to=bsdaemon@comcast.net \
    --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).