I want a compressing filesystem for Linux similar to doublespace or stacker but with some important changes. Preferred format is either gzip or bzip2 but other formats are just as good. It has to compress at least as good as gzip tho.
I don´t want it to use a big-*** file where the stored files are inside, compressed. Instead I want it to compress each normal file itself, I just want them to access transparently. The compressed files are still accessible on the outside, but just in their compressed form. e.g. there is this zlib library. I can use it to access each gzip compressed file. If I want to read samba-manual.html.gz I just call "lynx samba-manual.html"
This library then, transparently, loads and uncompresses the file, since it recognizes the open() call for the filename without .gz: it appends .gz, loads the file, gunzips it and finally creates a temporary uncompressed file so lynx can load it. Lynx doesn´t know anything about the work behind the scenes. For lynx this is just another fopen() call like any other. The trouble with this scheme is, a "ls" or a filemanager still show all the .gz files. and windows programs which access these files via samba are totally confused by all this, since they don´t believe me that a "samba-manual.html" exists since their directory listing doesn´t show one. There´s only a samba-manual.html.gz so they say.
So basically I want the described scheme without the mandatory "gz" endings. does anyone know of such a beast ?
I don´t want it to use a big-*** file where the stored files are inside, compressed. Instead I want it to compress each normal file itself, I just want them to access transparently. The compressed files are still accessible on the outside, but just in their compressed form. e.g. there is this zlib library. I can use it to access each gzip compressed file. If I want to read samba-manual.html.gz I just call "lynx samba-manual.html"
This library then, transparently, loads and uncompresses the file, since it recognizes the open() call for the filename without .gz: it appends .gz, loads the file, gunzips it and finally creates a temporary uncompressed file so lynx can load it. Lynx doesn´t know anything about the work behind the scenes. For lynx this is just another fopen() call like any other. The trouble with this scheme is, a "ls" or a filemanager still show all the .gz files. and windows programs which access these files via samba are totally confused by all this, since they don´t believe me that a "samba-manual.html" exists since their directory listing doesn´t show one. There´s only a samba-manual.html.gz so they say.
So basically I want the described scheme without the mandatory "gz" endings. does anyone know of such a beast ?