mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Al Boldi <a1426z@gawab.com>
To: linux-fsdevel@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: Re: "Why Reuser 4 still is not in" doc
Date: Mon, 17 Jul 2006 14:25:19 +0300	[thread overview]
Message-ID: <200607171425.19816.a1426z@gawab.com> (raw)

Jan Engelhardt wrote:
> >> > (aside from the VFS integration debate)
> >>
> >> Anybody know what's in Reiser4 that VFS doesn't like (link please)?
> >
> > Reiser4 plug-ins have (had?) the ability to alter the semantics of
> > things, like making files into directories inside
>
> 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?

Using this as an argument against plug-ins is a bit strange.  I suppose 
somebody could go overboard and use plug-ins to implement a subKernel.  
Would this then imply that plug-ins are wrong?

> > which you could see meta-files like
> > file/uid and file/size which contained meta-data and such accessible as
> > normal files to all the unix tools (which is a very good idea IMO). You
> > could get things like chmod by just 'echo root
> >
> >> file/owner' or something, very nice.
>
> 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). 

The unix philosophy would hold with plug-ins, as this would aid flexibility.  
Using plug-ins is a form of modularization, much like the 'one tool should 
do one thing' approach.

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

Nothing wrong with that, unless you have an allergy against explorer.

> What I think is promising are the compression/encryption plugins. ext2
> and 3 had an attribute (`lsattr`) for compression but it does not seem
> like ever implemented.

Now that's a great example for using a plug-in in the wright place.

> > This was frowned upon by kernel developers who felt that it belonged in
> > the kernel VFS (if at all), rather than in reiser4 directly.

This is really the crux of the issue.  Introducing plug-ins into the FS is 
really the wrong place, when we already have an abstracted VFS that allows 
this to be fanned out to its children.

Thanks!

--
Al


             reply	other threads:[~2006-07-17 11:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-17 11:25 Al Boldi [this message]
2006-07-17 14:33 ` Jan Engelhardt
2006-07-17 18:41   ` Horst von Brand
  -- strict thread matches above, loose matches on Subject: below --
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
2006-07-20  6:52           ` Tilman Schmidt

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=200607171425.19816.a1426z@gawab.com \
    --to=a1426z@gawab.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --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

all inboxes | Powered by JetHome®