From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Dilger Subject: Re: BeFS Date: Sun, 20 Jul 2008 23:05:10 -0600 Message-ID: <20080721050510.GC3370@webber.adilger.int> References: <530d01580807170455h4650765cw496818ff838b4d5b@mail.gmail.com> <20080717211242.GC6239@webber.adilger.int> <530d01580807180110n3677a150y6b55e2050711d34@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7BIT Cc: linux-fsdevel@vger.kernel.org To: "Diego ." Return-path: Received: from sca-es-mail-1.Sun.COM ([192.18.43.132]:40200 "EHLO sca-es-mail-1.sun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932113AbYGUFFN (ORCPT ); Mon, 21 Jul 2008 01:05:13 -0400 Received: from fe-sfbay-09.sun.com ([192.18.43.129]) by sca-es-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id m6L55Cnt012232 for ; Sun, 20 Jul 2008 22:05:12 -0700 (PDT) Received: from conversion-daemon.fe-sfbay-09.sun.com by fe-sfbay-09.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) id <0K4C00H01BCBVZ00@fe-sfbay-09.sun.com> (original mail from adilger@sun.com) for linux-fsdevel@vger.kernel.org; Sun, 20 Jul 2008 22:05:12 -0700 (PDT) In-reply-to: <530d01580807180110n3677a150y6b55e2050711d34@mail.gmail.com> Content-disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Jul 18, 2008 10:10 +0200, Diego . wrote: > Can you point me to some web where i can get updated info about > fsdevel in general? ( kernel apis.. etc..) Reading linux/Documentation/filesystems/vfs.txt is a good start, along with other documents there. Maybe kernenewbies has some wiki pages also. > On Thu, Jul 17, 2008 at 11:12 PM, Andreas Dilger wrote: > > On Jul 17, 2008 13:55 +0200, Diego . wrote: > >> My question comes when i tried to finish befs port ( write mode ) on > >> the kernel sources.. > >> How can i make the extensible attributes and live queries available to > >> linux user/programs? > >> > >> Is there some way to register this services? > > > > I'm guessing that xattrs (via sys_{get,set,list}xattr(), used by > > user tools getfattr/setfattr/libattr) will get you much of what you > > want. > > > > In order to notify applications about "live queries" you may want to > > look at the dnotify or inotify mechanisms, having an application > > get a notification on a "virtual search" file, or similar. Cheers, Andreas -- Andreas Dilger Sr. Staff Engineer, Lustre Group Sun Microsystems of Canada, Inc.