9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: rob@plan9.att.com rob@plan9.att.com
Subject: remote device access
Date: Fri, 28 Apr 1995 12:04:48 -0400	[thread overview]
Message-ID: <19950428160448.GD62DRYEba-H1aScGWA7tucbWFU7G8z1FpC-pZwwdGM@z> (raw)

getting rid of the '#c' stuff is only hard because it's a widely used convention.
the notation was invented as an expedient way to address drivers before the
name space was established, a function it serves well.  it was never claimed
to be clean or elegant.  other ways may be cleaner or more elegant, but i think
	/driver/c
or some such is neither.  this is a syntactic fudge that pretends to hide the real
problem, which is that there is no name space at the dawn of time.  pretending
to have one by introducing such a notation tells a lie.  looking at it one way,
who walks these names?  if you access them by walk at all, you have a name
space and you've reduced down to a previously unsolved problem.  if you have
another access mechanism, well, you have another access mechanism and it
will not generalize.  when a mechanism doesn't generalize, i prefer the notation
to be distinct.  when what's going on is fundamentally nasty, it is polite to say
so; hence #c.

on the other hand, if one
were to attach all drivers to the name space automatically, avoiding the need for
a (public, at least) #c, building up /driver or /dev or whatever, one would go
against the grain of plan 9, where what is in the name space is what is needed
rather than all that's available.  besides, this latter form implies an attach has
been done, a semantically heavy operation best left until the driver is really
needed.






             reply	other threads:[~1995-04-28 16:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-04-28 16:04 rob [this message]
  -- strict thread matches above, loose matches on Subject: below --
1995-04-29  6:54 David
1995-04-29  6:51 David
1995-04-29  6:09 serge
1995-04-28 21:39 serge
1995-04-28  8:26 forsyth
1995-04-28  6:52 Boyd
1995-04-28  0:18 serge
1995-04-27  8:29 forsyth

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=19950428160448.GD62DRYEba-H1aScGWA7tucbWFU7G8z1FpC-pZwwdGM@z \
    --to=rob@plan9.att.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).