linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "David Dabbs" <david@dabbs.net>
To: "'Hans Reiser'" <reiser@namesys.com>
Cc: <linux-fsdevel@vger.kernel.org>,
	"'ReiserFS List'" <reiserfs-list@namesys.com>
Subject: RE: [RFC] Pathname Semantics with //
Date: Thu, 9 Sep 2004 22:06:48 -0500	[thread overview]
Message-ID: <20040910030206.E29B015D9E@mail03.powweb.com> (raw)
In-Reply-To: <4140FA21.50101@namesys.com>



> Hans Reiser wrote:
> 
> David Dabbs wrote:
> 
> >>Use of : in addition to / is a bad idea, see The Hideous Name by Rob
> >>Pike for why.
> >>
> >>Hans
> >>
> >
> >I've read The Hideous Name, and I think you're taking Pike out of
> context.
> >He wrote that document when device files were still only a part of a
> >research version of UNIX. His main point is that programs should not be
> >saddled with understanding physical devices when constructing filenames.
> >
> No, it was more than that.  It was that hierarchy requires only one
> delimiter.

Of course his essay was about more than that! Where you quote me above, I
was referring to his main point /about use of the colon/. Perhaps my message
was truncated and you didn't get to read a bit later where I acknowledge

>Regarding slashes, I can't find anywhere that Pike criticizes slashes.
>Now, I can see where the proposal runs afoul of his advice that:
>
>The syntax should be clean and uniform; every new syntactic rule requires
>at least one, and usually many, semantic rules to resolve peculiarities
>introduced by the new syntax. If the name space is a tree or any other kind
>of graph, a single character should be used to separate nodes in a name.
>
>Well, the only reason two trailing slashes are required is that we need
>some way to distinguish a directory's named streams from its entries. What
>is worse, one extra slash at the end of a directory (or two for a file) or
>"/metas"?

I completely agree with Pike on the one delimiter thing -- it is certainly
much more elegant. And we can have that simplicity/elegance as long as
directories are prohibited from having metadata. Do you have a proposal to
expose metadata on a directory such that it 

a) allows one to distinguish a directory entry from directory metadata,
b) uses only already-reserved pathname character(s),
c) doesn't require any reserved name,
d) is the same delimiter used for file metadata and
e) doesn't butt heads with Sus?


In a different post you said 
>Oh, and yes, I understand that minimizing the cost of change by 
>being artful is desirable.

Isn't it artful to try for the most innovation with the least breakage;
taking as little from the namespace and breaking only as many eggs as are
needed to make that innovative new omelet? I'm certainly willing to break as
many eggs as needed, but no more.

I don't claim to know as much about closure (or free trade) as do you. My
mental gifts are in other matters. ;-)


David





  reply	other threads:[~2004-09-10  3:02 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-09 10:41 [RFC] Pathname Semantics with // David Dabbs
2004-09-08 16:13 ` Hans Reiser
2004-09-09 16:36   ` Peter Foldiak
2004-09-09 19:21   ` David Dabbs
2004-09-10  0:49     ` Hans Reiser
2004-09-10  3:06       ` David Dabbs [this message]
2004-09-10  5:40         ` Hans Reiser
2004-09-09 21:51   ` David Dabbs
2004-09-09  6:10     ` Hans Reiser
2004-09-09 17:33 ` Christian Mayrhuber
2004-09-09 20:17   ` David Dabbs
2004-09-09 20:41     ` Andreas Dilger
2004-09-10  9:11       ` Markus   Törnqvist
2004-09-10 10:37     ` Christian Mayrhuber
2004-09-09 23:03   ` Jamie Lokier
2004-09-10  1:37     ` David Dabbs
2004-09-10  9:53       ` [SPAM] " Jamie Lokier
2004-09-10 17:11         ` David Dabbs
2004-09-10 11:47       ` Christian Mayrhuber
2004-09-10 11:06     ` Christian Mayrhuber
  -- strict thread matches above, loose matches on Subject: below --
2004-09-10 17:49 David Dabbs
2004-09-09 18:03 ` Hans Reiser

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=20040910030206.E29B015D9E@mail03.powweb.com \
    --to=david@dabbs.net \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=reiser@namesys.com \
    --cc=reiserfs-list@namesys.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).