From owner-freebsd-questions@FreeBSD.ORG Tue Jul 19 22:51:53 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 28DC916A41F for ; Tue, 19 Jul 2005 22:51:53 +0000 (GMT) (envelope-from svein-freebsd-questions@theloosingend.net) Received: from merke.itea.ntnu.no (merke.itea.ntnu.no [129.241.7.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id A9CC743D45 for ; Tue, 19 Jul 2005 22:51:52 +0000 (GMT) (envelope-from svein-freebsd-questions@theloosingend.net) Received: from localhost (localhost [127.0.0.1]) by merke.itea.ntnu.no (Postfix) with ESMTP id 240B713C697 for ; Wed, 20 Jul 2005 00:51:51 +0200 (CEST) Received: from maren.thelosingend.net (maren.math.ntnu.no [129.241.211.48]) by merke.itea.ntnu.no (Postfix) with SMTP for ; Wed, 20 Jul 2005 00:51:50 +0200 (CEST) Received: (qmail 49004 invoked by uid 1001); 20 Jul 2005 00:51:50 +0200 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 20 Jul 2005 00:51:50 +0200 Date: Wed, 20 Jul 2005 00:51:50 +0200 (CEST) From: Svein Halvor Halvorsen X-X-Sender: sveinhal@maren.thelosingend.net To: Lowell Gilbert In-Reply-To: <44d5peixay.fsf@be-well.ilk.org> Message-ID: <20050720004530.B48721@maren.thelosingend.net> References: <20050718163250.D28772@maren.thelosingend.net> <44d5peixay.fsf@be-well.ilk.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Content-Scanned: with sophos and spamassassin at mailgw.ntnu.no. Cc: freebsd-questions@freebsd.org Subject: Re: Some sort of filter based filesystem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2005 22:51:53 -0000 * Svein Halvor Halvorsen writes: > > What would be nice, is some kind of nullfs-like read only filesystem > > that would send all files through a configurable filter when opened. > > That way I could put all my music in FLAC format on hdd, and then, > > when I wanted to transfer some tracks to my portable player, I could > > grab the files from the ogg-directory. Or when I wanted to burn to > > CD-A, I could grab 'em from the wav-dir. * Lowell Gilbert [2005-07-19 12:18 -0400] > It's a clever idea, but not really very useful; usually a virtual > filesystem approach is good when you can generate the data as needed. > For something like this, you would need to pregenerate the various > forms anyway, so you wouldn't save disk space. Why would the various forms need to be pre-generated? I can easily imagine some mechanism where my flac files are filtered through a flac decoder and into a vorbis encoder on-the-fly. The same goes for iconv conversion, image processing, etc. In fact, this is the sole purpose of my suggestion.