public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Lexington Luthor <Lexington.Luthor@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Re: "Why Reuser 4 still is not in" doc
Date: Mon, 17 Jul 2006 17:38:11 +0100	[thread overview]
Message-ID: <e9gedp$m22$1@sea.gmane.org> (raw)
In-Reply-To: <Pine.LNX.4.61.0607171132430.11447@yvahk01.tjqt.qr>

Jan Engelhardt wrote:
> Yes, it changes the semantics. Suddenly you can "cd linux-2.6.17.tar.bz2". 
> But what will stat() return? S_IFDIR? S_IFREG? S_IFANY? A .tar parser in 
> kernelspace is almost never the right thing. And then a cpio parser, 
> because that's what initramfs'es are made of. Not to forget .zip, because 
> that's omnipresent. Oh of course we'd also need bzip2 and gzip decoder. 
> BASE64 and UU anyone?

Is there any particular reason that the parsers need to be in 
kernel-space. The reiser4 plugins seem like an ideal counterpart to 
FUSE. Imagine being able to automatically FUSE-mount a tar file as a 
filesystem when you cd into it. stat() need not return S_IFDIR since 
everything is a directory anyway (only normal directories need S_IFDIR, 
just like currently). When you cd into a tar file, a FUSE-fs kicks in 
and provides access to the tar file as a normal filesystem inside it - 
from userspace.

> I wish you a lot of fun with users in LDAP or other exotic storage methods.
> By making Everything possible through echo, you are violating the unix 
> philosophy that one tool should do one thing (though echo does just that). 
> And in this case, echo would be chown, chmod, tar, bzip2 all at once. This 
> sounds familiar, I think I have seen this with explorer.exe (and its 
> uncountable DLLs), which lets you change everything within the same 
> window.

And why can meta-data not be accessed as files? To me, a lowly userspace 
developer, it seems even more inline with the UNIX way of things. bzip2 
can be in userspace while still providing data to kernel space via a 
FUSE-like interface.

Regards,
LL


  reply	other threads:[~2006-07-17 16:39 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-16 16:16 reiserFS? Xavier Roche
2006-07-16 16:28 ` reiserFS? Christian Trefzer
2006-07-16 16:56   ` reiserFS? Theodore Tso
2006-07-16 17:26     ` reiserFS? Lexington Luthor
2006-07-16 17:48       ` reiserFS? Theodore Tso
2006-07-16 20:01         ` "Why Reuser 4 still is not in" doc (was: 'reiserFS?') Diego Calleja
2006-07-16 21:11           ` "Why Reuser 4 still is not in" doc Lexington Luthor
2006-07-16 21:28             ` Joshua Hudson
2006-07-16 22:53               ` Lexington Luthor
2006-07-17  9:42                 ` Jan Engelhardt
2006-07-17 16:38                   ` Lexington Luthor [this message]
2006-07-20  6:52           ` Tilman Schmidt
2006-07-16 17:46     ` reiserFS? Dr. David Alan Gilbert
2006-07-16 18:14       ` reiserFS? Theodore Tso
2006-07-17 15:01   ` reiserFS? Matthias Andree
2006-07-17 21:07   ` reiserFS? Helge Hafting
  -- strict thread matches above, loose matches on Subject: below --
2006-07-17 11:25 "Why Reuser 4 still is not in" doc Al Boldi
2006-07-17 14:33 ` Jan Engelhardt
2006-07-17 18:41   ` Horst von Brand

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='e9gedp$m22$1@sea.gmane.org' \
    --to=lexington.luthor@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /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