All of lore.kernel.org
 help / color / mirror / Atom feed
* Interview with Hans on KernelTrap
@ 2005-09-13 17:01 Hubert Chan
  2005-09-14 13:08 ` Peter Foldiak
  0 siblings, 1 reply; 11+ messages in thread
From: Hubert Chan @ 2005-09-13 17:01 UTC (permalink / raw)
  To: reiserfs-list

For those who missed it on Slashdot, there's an interview with Hans on
KernelTrap.

http://kerneltrap.org/node/5654?comments_per_page=1

The Slashdot article is here:

http://hardware.slashdot.org/article.pl?sid=05/09/13/1455238

-- 
Hubert Chan <hubert@uhoreg.ca> - http://www.uhoreg.ca/
PGP/GnuPG key: 1024D/124B61FA
Fingerprint: 96C5 012F 5F74 A5F7 1FF7  5291 AF29 C719 124B 61FA
Key available at wwwkeys.pgp.net.   Encrypted e-mail preferred.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Interview with Hans on KernelTrap
  2005-09-13 17:01 Hubert Chan
@ 2005-09-14 13:08 ` Peter Foldiak
  2005-09-14 14:11   ` Yiannis Mavroukakis
                     ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Peter Foldiak @ 2005-09-14 13:08 UTC (permalink / raw)
  To: Hans Reiser; +Cc: reiserfs-list

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.
(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


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Interview with Hans on KernelTrap
  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
  2 siblings, 1 reply; 11+ messages in thread
From: Yiannis Mavroukakis @ 2005-09-14 14:11 UTC (permalink / raw)
  To: reiserfs-list

Peter Foldiak wrote:

> Hans, in the interview you give the example:
>
>  cat /home/reiser/mp3s/..../childcat > /dev/dsp
>
> to illustrate concatenation.
> [...]
>  
> 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.
>
If cool is the first perceived benefit, then why do it ? Besides, it's 
quite easy through force of habit or mistype to add a '/'

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Interview with Hans on KernelTrap
  2005-09-14 14:11   ` Yiannis Mavroukakis
@ 2005-09-14 14:59     ` Bruce Israel
  0 siblings, 0 replies; 11+ messages in thread
From: Bruce Israel @ 2005-09-14 14:59 UTC (permalink / raw)
  To: Yiannis Mavroukakis; +Cc: reiserfs-list

On Wed, Sep 14, 2005 at 03:11:21PM +0100, Yiannis Mavroukakis wrote:
> Peter Foldiak wrote:
> 
> >Hans, in the interview you give the example:
> >
> > cat /home/reiser/mp3s/..../childcat > /dev/dsp
> >
> >to illustrate concatenation.
> >[...]
> > 
> >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.
> >
> If cool is the first perceived benefit, then why do it ? Besides, it's 
> quite easy through force of habit or mistype to add a '/'

Plus often shell completions (e.g. TAB in bash) often add the
trailing slash automatically.  Though there's an argument to be made
for that being what you want; i.e. how often do you really do a 'cat
<dir>' to look at the inside of the directory?  Though I guess if I
were doing a 'chown -R <user> <directory>', I'd be miffed if it just
changed the files below and not the directory because of a mis-typed
(or mis-completed) slash.

Bruce

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Interview with Hans on KernelTrap
  2005-09-14 13:08 ` Peter Foldiak
  2005-09-14 14:11   ` Yiannis Mavroukakis
@ 2005-09-14 15:20   ` Peter Foldiak
  2005-09-14 19:59   ` Hans Reiser
  2 siblings, 0 replies; 11+ messages in thread
From: Peter Foldiak @ 2005-09-14 15:20 UTC (permalink / raw)
  To: Hans Reiser; +Cc: reiserfs-list

Peter Foldiak wrote:

> The convention (I think also approved(suggested?) by Linus at some 
> point)... 

P.S. I found the reference, I was referring here to
http://www.ussg.iu.edu/hypermail/linux/kernel/0408.3/0537.html

By "cool", I mean more than just elegant, though elegant is often the 
sign of really useful. And obviously I don't see all possible (good and 
bad) consequences.    Peter

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Interview with Hans on KernelTrap
  2005-09-14 13:08 ` Peter Foldiak
  2005-09-14 14:11   ` Yiannis Mavroukakis
  2005-09-14 15:20   ` Peter Foldiak
@ 2005-09-14 19:59   ` Hans Reiser
  2005-09-15  8:02     ` Peter Foldiak
  2 siblings, 1 reply; 11+ messages in thread
From: Hans Reiser @ 2005-09-14 19:59 UTC (permalink / raw)
  To: Peter Foldiak; +Cc: reiserfs-list

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.

>
>


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Interview with Hans on KernelTrap
  2005-09-14 19:59   ` Hans Reiser
@ 2005-09-15  8:02     ` Peter Foldiak
  2005-09-15 16:20       ` Hans Reiser
  0 siblings, 1 reply; 11+ messages in thread
From: Peter Foldiak @ 2005-09-15  8:02 UTC (permalink / raw)
  To: Hans Reiser; +Cc: reiserfs-list

Hans Reiser wrote:

>>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.
>  
>
Sure, you can have only one "default" behaviour. (For instance, you 
would also need some metafiles to specify the details of how exactly the 
concatenation should be done, (e.g. what ordering (or structure) to use, 
whether to put something in between the files, etc.) in addition to all 
the other ones.)    Peter

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Interview with Hans on KernelTrap
  2005-09-15  8:02     ` Peter Foldiak
@ 2005-09-15 16:20       ` Hans Reiser
  0 siblings, 0 replies; 11+ messages in thread
From: Hans Reiser @ 2005-09-15 16:20 UTC (permalink / raw)
  To: Peter Foldiak; +Cc: reiserfs-list

Peter Foldiak wrote:

> Hans Reiser wrote:
>
>>> 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.
>>  
>>
> Sure, you can have only one "default" behaviour. (For instance, you
> would also need some metafiles to specify the details of how exactly
> the concatenation should be done, (e.g. what ordering (or structure)
> to use, whether to put something in between the files, etc.) in
> addition to all the other ones.)    Peter
>
>
Yes, true.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Interview with Hans on KernelTrap
@ 2005-09-16 10:24 Tomasz Chmielewski
  2005-09-16 15:38 ` Tom Vier
  0 siblings, 1 reply; 11+ messages in thread
From: Tomasz Chmielewski @ 2005-09-16 10:24 UTC (permalink / raw)
  To: reiserfs-list

> For those who missed it on Slashdot, there's an interview with Hans on
> KernelTrap.
> 
> http://kerneltrap.org/node/5654?comments_per_page=1
> 
> The Slashdot article is here:
> 
> http://hardware.slashdot.org/article.pl?sid=05/09/13/1455238

Nice interview.

The compression plugin is mentioned in that article:


Jeremy Andrews: You mention that you want to stabilize the compression 
plugin by 2.6.14. What is important about 2.6.14?

Hans Reiser: Umh, anytime I can double performance and halve space 
usage, it is a priority for me and I want it now! ;-)


So does it mean that Linux will finally have a stable fs with 
journalling and compression, within a month?

Or Reiser4 won't go to 2.6.14 stable kernel, and will be available only 
as a separate patch?


On the other hand, when I looked at the 2.6.14-rc1 changelog on 
www.kernel.org, no plugin/compression is mentioned in reiserfs changes?


-- 
Tomek
http://wpkg.org
Automated software installation and upgrades with Samba


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Interview with Hans on KernelTrap
  2005-09-16 10:24 Interview with Hans on KernelTrap Tomasz Chmielewski
@ 2005-09-16 15:38 ` Tom Vier
  2005-09-16 16:19   ` Edward Shishkin
  0 siblings, 1 reply; 11+ messages in thread
From: Tom Vier @ 2005-09-16 15:38 UTC (permalink / raw)
  To: reiserfs-list

Regarding the compression plugin, it only compresses file data and not fs
structures, right?

-- 
Tom Vier <tmv@comcast.net>
DSA Key ID 0x15741ECE

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Interview with Hans on KernelTrap
  2005-09-16 15:38 ` Tom Vier
@ 2005-09-16 16:19   ` Edward Shishkin
  0 siblings, 0 replies; 11+ messages in thread
From: Edward Shishkin @ 2005-09-16 16:19 UTC (permalink / raw)
  To: Tom Vier; +Cc: reiserfs-list

Tom Vier wrote:

>Regarding the compression plugin, it only compresses file data and not fs
>structures, right?
>
>  
>
yes

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2005-09-16 16:19 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-16 10:24 Interview with Hans on KernelTrap Tomasz Chmielewski
2005-09-16 15:38 ` Tom Vier
2005-09-16 16:19   ` Edward Shishkin
  -- strict thread matches above, loose matches on Subject: below --
2005-09-13 17:01 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
2005-09-15  8:02     ` Peter Foldiak
2005-09-15 16:20       ` Hans Reiser

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.