From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Diego ." Subject: Re: BeFS Date: Fri, 18 Jul 2008 10:10:03 +0200 Message-ID: <530d01580807180110n3677a150y6b55e2050711d34@mail.gmail.com> References: <530d01580807170455h4650765cw496818ff838b4d5b@mail.gmail.com> <20080717211242.GC6239@webber.adilger.int> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: linux-fsdevel@vger.kernel.org To: "Andreas Dilger" Return-path: Received: from an-out-0708.google.com ([209.85.132.241]:18967 "EHLO an-out-0708.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751599AbYGRIKE (ORCPT ); Fri, 18 Jul 2008 04:10:04 -0400 Received: by an-out-0708.google.com with SMTP id d40so216814and.103 for ; Fri, 18 Jul 2008 01:10:03 -0700 (PDT) In-Reply-To: <20080717211242.GC6239@webber.adilger.int> Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Wow, thanks andreas! Can you point me to some web where i can get updated info about fsdevel in general? ( kernel apis.. etc..) thanks!! 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. > >