public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: cachefs on linux
@ 2003-06-09 19:26 Leonardo H. Machado
  2003-06-09 20:42 ` Matthias Schniedermeyer
  0 siblings, 1 reply; 13+ messages in thread
From: Leonardo H. Machado @ 2003-06-09 19:26 UTC (permalink / raw)
  To: linux-kernel



 	Dear Sirs,

 	I'm using linux and solaris for a while and, after seaching all
 the web, newsgroups, and mailing lists I could not find the answer for a
 very simple question. Before emailing Alan Cox or any other guru (that
 might not answer me) I will try to ask you. Here is my simple question:

 	Why has Solaris a CacheFS file system, while linux doesn't? Is it
 because cachefs is VERY difficult to implement (It should be no barrier
 for our gurus), or because there's no such a big demand for this marvelous
 FS, or else, because no one thought of it?

 	There are certanly some cacheFS implementations around the web,
 like CODA, but they are not free and not even so good as Solaris CacheFS.

 	Would you please help me with this question or at least tell me
 where are the answers?

 Thank you very much.


 //leoh
 main(){int j=1234;char t[]=":@abcdefghijklmnopqrstuvwxyz.\n"
 ,*i = "iqgbgxmlvivuc\n:wwnfwsdoi"; char *strchr(char *,int);
 while(*i){j+=strchr(t,*i++)-t;j%=sizeof t-1;putchar(t[j]);}}




^ permalink raw reply	[flat|nested] 13+ messages in thread
* Re: cachefs on linux
@ 2003-06-10  7:53 john
  0 siblings, 0 replies; 13+ messages in thread
From: john @ 2003-06-10  7:53 UTC (permalink / raw)
  To: core, ms; +Cc: leoh, linux-kernel

> Anyway, linux also does not have unionFS. If it was that big of a deal,
> someone would write it. As it is, it's a whizbang no one cares about enough.

BSD has had a UnionFS for a while now, by the way.

There are a lot of things we _could_ add to filesystems, E.G.:

* Appending to a read-only filesystem on a separate volume

* File versioning

* Transparent, variable compression

* Format conversion, (I.E. write a png file to a filesystem, and it is
			   automatically visible as half a dozen other
			   formats, without them actually existing on
			   the disk)

* Priorities, (E.G. temp files could have a bit to indicate that we
		    don't really care how long they remain in
		    write-cache, instead of flushing them along with
		    other more-important-to-get-to-the-oxide data)

* WORM mode, (I.E. start at block 1 and use blocks sequentially, never
		   re-using blocks - makes a tape somewhat usable as a
		   block device)

Some of these are available in some form or another already.  There is
plenty we can do, given enough time :-).

John.

^ permalink raw reply	[flat|nested] 13+ messages in thread
* RE: cachefs on linux
@ 2003-06-11 21:01 Perez-Gonzalez, Inaky
  0 siblings, 0 replies; 13+ messages in thread
From: Perez-Gonzalez, Inaky @ 2003-06-11 21:01 UTC (permalink / raw)
  To: 'john@grabjohn.com',
	'lkml (linux-kernel@vger.kernel.org)'



> From: john@grabjohn.com [mailto:john@grabjohn.com]
> 
> ...
>
> There are a lot of things we _could_ add to filesystems, E.G.:
> 
> * Appending to a read-only filesystem on a separate volume

That can be done with a union fs.

> * File versioning

There was a thread one or two months ago regarding all this,
grep the archives.

> * Transparent, variable compression

There was a project to do this in ext2, but I don't remember
what happened to it - I think that at the end is simpler to
do that at the user level (think something like Gnome VFS or
KDE's KIOs).

> * Format conversion, (I.E. write a png file to a filesystem, and it is
> 			   automatically visible as half a dozen other
> 			   formats, without them actually existing on
> 			   the disk)

Mr. Van Riel? Where are you?

> * Priorities, (E.G. temp files could have a bit to indicate that we
> 		    don't really care how long they remain in
> 		    write-cache, instead of flushing them along with
> 		    other more-important-to-get-to-the-oxide data)

Having a tmpfs mounted in /tmp does the trick, more or less. 
Then it is a matter of discipline: if a file is temporary, 
stick it somewhere in /tmp.

> * WORM mode, (I.E. start at block 1 and use blocks sequentially, never
> 		   re-using blocks - makes a tape somewhat usable as a
> 		   block device)

What for? They are too slow; given the price of a gigabyte now, 
and taking into account that IDE drives can store more than tapes,
it makes little sense (I would even say for long-term storage).
YMMV, though.

Cheers,

Iñaky Pérez-González -- Not speaking for Intel -- all opinions are my own
(and my fault)

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

end of thread, other threads:[~2003-06-11 22:13 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-09 19:26 cachefs on linux Leonardo H. Machado
2003-06-09 20:42 ` Matthias Schniedermeyer
2003-06-09 20:49   ` Shawn
2003-06-09 20:56     ` Matthias Schniedermeyer
2003-06-10  8:29     ` Sean Hunter
2003-06-10 19:15       ` Rob Landley
2003-06-10 20:39         ` Anton Altaparmakov
2003-06-11  0:51           ` Rob Landley
2003-06-11 10:03         ` Bernd Eckenfels
2003-06-11 11:12           ` Hirokazu Takahashi
2003-06-11 22:26             ` J.A. Magallon
  -- strict thread matches above, loose matches on Subject: below --
2003-06-10  7:53 john
2003-06-11 21:01 Perez-Gonzalez, Inaky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox