lkml.org 
[lkml]   [2004]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: silent semantic changes with reiser4
From
Date
Am Donnerstag, den 26.08.2004, 16:05 +0200 schrieb Adrian Bunk:

> > Yes, this was part of the plan, tar file-directory plugins would be cute.
>
> Silly question:
>
> GNU Midnight Commander allows for ages to go into e.g. tar files, so I
> know the benefits of this. Additionally, in GNU Midnight Commander, this
> works no matter which file system I use (e.g. it works on iso9660), and
> it even works the same way on other OS's like e.g. Solaris and NetBSD.
>
> What is the technical reason why a tar plugin should be reiser4
> specific, instead of a generic VFS or userspace solution that would
> allow the same also on other fs like e.g. iso9660?

I don't think that this should be done inside the kernel. tar is a
perfectly valid userspace application.

What reiser4 can do, but the VFS can't is to insert or remove data in
the middle of a file. Adding this above the page cache would probably be
almost impossible (truncate seems already complicated enough).

But below page-cache and thus invisible from the VFS or the applications
it is extremely useful for the compression plugin. When changing some
data in the middle of the file the compressed data might grow in size.
reiser4 can handle this inside the storage layer and doesn't mess with
the rest of the filesystem.

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 14:05    [from the cache]
©2003-2011 Jasper Spaans