All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hans Reiser <reiser@namesys.com>
To: Peter Foldiak <Peter.Foldiak@st-andrews.ac.uk>
Cc: reiserfs-list@namesys.com
Subject: Re: Interview with Hans on KernelTrap
Date: Wed, 14 Sep 2005 12:59:21 -0700	[thread overview]
Message-ID: <43288119.9000605@namesys.com> (raw)
In-Reply-To: <432820E8.9080201@st-andrews.ac.uk>

Peter Foldiak wrote:

> Hans, in the interview you give the example:
>
>  cat /home/reiser/mp3s/..../childcat > /dev/dsp
>
> to illustrate concatenation.
>
> I sorry for repeating myself, but still think it would be a lot cooler
> to be able to simply do:
>
>  cat /home/reiser/mp3s > /dev/dsp
>
> to achieve the same effect.

True.

> (We had a discussion of this (as part of the huge "file as directory"
> thread on the lists)
> http://www.ussg.iu.edu/hypermail/linux/kernel/0411.3/0044.html
> http://www.ussg.iu.edu/hypermail/linux/kernel/0505.1/0365.html
> and you seemed to agree then
> http://www.ussg.iu.edu/hypermail/linux/kernel/0505.1/0423.html
> )
> The convention (I think also approved(suggested?) by Linus at some
> point) could be that where you say
>
>  /home/reiser/mp3s
>
> you get a the file (or concatenation, if the directory has no "file"
> content itself), but when you say
>
>  /home/reiser/mp3s/
>
> (with the trailing "/"), you get the directory.
>
> So
>  book/chapter3/paragraph2
> is the second paragraph of the third chapter
> (or even better, a la XPath:
>  book/chapter[3]/paragraph[2]
> )
>
>  book/chapter3
> is the chapter
>
>  book
> is the whole book.
>
> The user (or tools) don't even have to know which is the "real" file,
> which are "parts of real files" and which are "concatenations of real
> files". This is really good for namespace unification across
> part-whole hierarchies. If you are required to use /..../ in the
> middle, it breaks this I think. Could we get rid of requiring "...."
> in the middle? (Would that break too much?)    Peter
>
In this specific instance, yes, but other pseudofiles would still need it.

My example was not a good one, I should have found a better one, sorry
for that.

>
>


  parent reply	other threads:[~2005-09-14 19:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-13 17:01 Interview with Hans on KernelTrap Hubert Chan
2005-09-14 13:08 ` Peter Foldiak
2005-09-14 14:11   ` Yiannis Mavroukakis
2005-09-14 14:59     ` Bruce Israel
2005-09-14 15:20   ` Peter Foldiak
2005-09-14 19:59   ` Hans Reiser [this message]
2005-09-15  8:02     ` Peter Foldiak
2005-09-15 16:20       ` Hans Reiser
  -- strict thread matches above, loose matches on Subject: below --
2005-09-16 10:24 Tomasz Chmielewski
2005-09-16 15:38 ` Tom Vier
2005-09-16 16:19   ` Edward Shishkin

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=43288119.9000605@namesys.com \
    --to=reiser@namesys.com \
    --cc=Peter.Foldiak@st-andrews.ac.uk \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.