From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 3 Sep 2001 10:25:05 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 3 Sep 2001 10:24:56 -0400 Received: from humbolt.nl.linux.org ([131.211.28.48]:2309 "EHLO humbolt.nl.linux.org") by vger.kernel.org with ESMTP id ; Mon, 3 Sep 2001 10:24:44 -0400 Content-Type: text/plain; charset=US-ASCII From: Daniel Phillips To: Alan Cox , ingo.oeser@informatik.tu-chemnitz.de (Ingo Oeser) Subject: Re: Editing-in-place of a large file Date: Mon, 3 Sep 2001 16:31:55 +0200 X-Mailer: KMail [version 1.3.1] Cc: alan@lxorguk.ukuu.org.uk (Alan Cox), linux-kernel@vger.kernel.org, mcelrath+linux@draal.physics.wisc.edu (Bob McElrath) In-Reply-To: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Message-Id: <20010903142500Z16351-32383+3245@humbolt.nl.linux.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On September 3, 2001 12:48 pm, Alan Cox wrote: > > That is reimplementing file system functionality in user space. > > I'm in doubts that this is considered good design... > > Keeping things out of the kernel is good design. Your block indirections > are no different to other database formats. Perhaps you think we should > have fsql_operation() and libdb in kernel 8) For that matter, he could use a database file. I don't know if Postgres (for example) supports streaming read/write from a database record, but if it doesn't it could be made to. Or if he doesn't want to hack Postgres today, he can put his "metadata" in a database file and the video data in a separate file. -- Daniel