Given e.g. a gzipped textfile file.txt.gz, how to create a special file file.txt that on reading yields the (interactively) decompressed contents of the .gz file, and on writing a) re-gzips the new content or b) denies write-access?
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
Under Linux (or FreeBSD, NetBSD, MacOS X) FUSE comes to mind, it already features some Archive File Systems, that you should have a look at. If the FUSE-mounted virtual file system just passes through non-archive-files, this could be what you want. |
|||||||||||||||
|

zcat? – jordanm Jan 14 at 16:42gzipwas just an example, next time it could betaror an entirely different program that (transparently) converts (one-way or two-way) between two data formats – Tobias Kienzler Jan 14 at 17:20