From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263995AbTDWK5f (ORCPT ); Wed, 23 Apr 2003 06:57:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263996AbTDWK5f (ORCPT ); Wed, 23 Apr 2003 06:57:35 -0400 Received: from mxout4.netvision.net.il ([194.90.9.27]:41104 "EHLO mxout4.netvision.net.il") by vger.kernel.org with ESMTP id S263995AbTDWK5e (ORCPT ); Wed, 23 Apr 2003 06:57:34 -0400 Date: Wed, 23 Apr 2003 14:20:38 +0200 From: Nir Livni Subject: Re: FileSystem Filter Driver To: linux-kernel@vger.kernel.org Cc: Nir L Message-id: <000d01c30992$c35e7ad0$4ee1db3e@pinguin> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Mailer: Microsoft Outlook Express 5.00.2919.6700 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT X-Priority: 3 X-MSMail-priority: Normal References: <000501c30983$1ffb8950$ade1db3e@pinguin> <20030423010518.GA6009@wind.cocodriloo.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org > On Wed, Apr 23, 2003 at 12:28:33PM +0200, Nir Livni wrote: > > Hi all, > > I am looking for information about writing a FileSystem Filter Driver on RH. > > Any documentation or source code samples whould be appreciated. > > > > Please make sure you CC' me on any answer for this post, because I am not > > registered (yet ?) > > > > Thanks, > > Nir > > The reference implementation for a filesystem is ext2fs, which > you can have a look at in fs/ext2 on a unpacked kernel tree. > Have also a look at fs/ramfs which is a bit simpler but does > not deal with block devices. > My goal is to write a driver that runs above the filesystem driver, and filters calls to this driver. Actually, it should pass all calls to the filesystem driver, except very few that it should fail for "Access Denied". Are there any simple examples for that matter ? Thanks, Nir > Also have a look at the linux-kernel and linux-fsdevel mailing list > archives. > > Greets, Antonio. >