From owner-fam@oss.sgi.com Mon Aug 5 02:24:49 2002 Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.12.5/8.12.5) with ESMTP id g759OnRw002364 for ; Mon, 5 Aug 2002 02:24:49 -0700 Received: (from majordomo@localhost) by oss.sgi.com (8.12.5/8.12.3/Submit) id g759Ong6002363 for fam-outgoing; Mon, 5 Aug 2002 02:24:49 -0700 X-Authentication-Warning: oss.sgi.com: majordomo set sender to owner-fam@oss.sgi.com using -f Received: from knatte.nada.kth.se (knatte.nada.kth.se [130.237.226.102]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id g759OiRw002360 for ; Mon, 5 Aug 2002 02:24:45 -0700 Received: from localhost (d94-ebr@localhost) by knatte.nada.kth.se (8.9.3+Sun/8.9.3) with ESMTP id LAA03866 for ; Mon, 5 Aug 2002 11:26:34 +0200 (MEST) X-Authentication-Warning: knatte.nada.kth.se: d94-ebr owned process doing -bs Date: Mon, 5 Aug 2002 11:26:34 +0200 (MEST) From: Emil Brink To: Subject: [fam] FAM-using project, link request Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-fam@oss.sgi.com Precedence: bulk Hi! First, a big "thank you" for developing and making available the FAM technology, it is really sweet and I do believe it will help make GUI tools easier to use and more trustworthy by keeping their display in synch with the underlying file system. So, thanks. Anyway, I'm the author of an open source file manager for, well, most UN*X systems supporting GTK+ I guess. I've just added support for FAM in a recent release, and would of course love to have a link from your Links page. The program is called "gentoo", and the official home page is at . Regards, /Emil -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Wed Aug 7 13:58:54 2002 Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.12.5/8.12.5) with ESMTP id g77KwsRw019385 for ; Wed, 7 Aug 2002 13:58:54 -0700 Received: (from majordomo@localhost) by oss.sgi.com (8.12.5/8.12.3/Submit) id g77KwsC9019384 for fam-outgoing; Wed, 7 Aug 2002 13:58:54 -0700 X-Authentication-Warning: oss.sgi.com: majordomo set sender to owner-fam@oss.sgi.com using -f Received: from ilmattino.it ([151.8.193.73]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id g77KwnRw019380 for ; Wed, 7 Aug 2002 13:58:50 -0700 Received: from sistemi_1.napoli.edime.ilmattino (sistemi_1 [138.10.1.207]) by ilmattino.it (8.11.0/8.11.0) with ESMTP id g77Ku8O06523 for ; Wed, 7 Aug 2002 22:56:09 +0200 Subject: [fam] Monitoring more directories From: Leopoldo Centore To: fam@oss.sgi.com X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-OlkEid: 2AA406228716993A5DAAD611991F00D0590FDC2A Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.2-5mdk Date: 07 Aug 2002 23:57:21 +0200 Message-Id: <1028757443.2350.0.camel@sistemi_1> Mime-Version: 1.0 Sender: owner-fam@oss.sgi.com Precedence: bulk Hi, I'm a beginner in the use of fam and I have a very difficult problem to resolve. I have written a code that use fam to check that one or more files are created in some directories. Since the directories are more than one, I insert FAMMonitorDirectory2 function in a loop cycle. All works fine and when a new file has created in a directory a signal is emitted ("FAMCreated"). Yet, if i try to read "filename" in a struct "FAMEvent" (ev.filename), I have only the name of the file and not the absolute path ... so I don't know in which directories it has been created. Please, can someone help me ?. Thanks -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Wed Aug 7 14:08:32 2002 Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.12.5/8.12.5) with ESMTP id g77L8GRw019511 for ; Wed, 7 Aug 2002 14:08:21 -0700 Received: (from majordomo@localhost) by oss.sgi.com (8.12.5/8.12.3/Submit) id g77L81ox019509 for fam-outgoing; Wed, 7 Aug 2002 14:08:01 -0700 X-Authentication-Warning: oss.sgi.com: majordomo set sender to owner-fam@oss.sgi.com using -f Received: from post.webmailer.de (natwar.webmailer.de [192.67.198.70]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id g77L7eRw019503 for ; Wed, 7 Aug 2002 14:07:56 -0700 Received: from B0803.pppool.de (B0803.pppool.de [213.7.8.3]) by post.webmailer.de (8.9.3/8.8.7) with ESMTP id XAA06617 for ; Wed, 7 Aug 2002 23:09:24 +0200 (MEST) Subject: Re: [fam] Monitoring more directories From: Christian Kreibich To: FAM In-Reply-To: <1028757443.2350.0.camel@sistemi_1> References: <1028757443.2350.0.camel@sistemi_1> Content-Type: text/plain Organization: Message-Id: <1028754528.604.28.camel@Gonzo> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.1.0.99 (Preview Release) Date: 07 Aug 2002 23:08:49 +0200 Content-Transfer-Encoding: 7bit Sender: owner-fam@oss.sgi.com Precedence: bulk On Wed, 2002-08-07 at 23:57, Leopoldo Centore wrote: > Hi, > > I'm a beginner in the use of fam and I have a very difficult problem to > resolve. > > I have written a code that use fam to check that one or more files are > created in some directories. > > Since the directories are more than one, I insert FAMMonitorDirectory2 > function in a loop cycle. > > All works fine and when a new file has created in a directory a signal > is emitted ("FAMCreated"). > > Yet, if i try to read "filename" in a struct "FAMEvent" (ev.filename), I > have only the name of the file and not the absolute path ... > > so I don't know in which directories it has been created. > > Please, can someone help me ?. Leopoldo, you need to make use of the FAMRequest values you obtain from each FAMMonitorDirectory2() call to distinguish them. Cheers, Christian. -- ________________________________________________________________________ http://www.whoop.org -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Wed Aug 7 18:29:49 2002 Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.12.5/8.12.5) with ESMTP id g781TnRw022637 for ; Wed, 7 Aug 2002 18:29:49 -0700 Received: (from majordomo@localhost) by oss.sgi.com (8.12.5/8.12.3/Submit) id g781TnIl022636 for fam-outgoing; Wed, 7 Aug 2002 18:29:49 -0700 X-Authentication-Warning: oss.sgi.com: majordomo set sender to owner-fam@oss.sgi.com using -f Received: from dingo.adacel.com.au (DADA137629-1.gw.connect.com.au [210.8.233.153] (may be forged)) by oss.sgi.com (8.12.5/8.12.5) with SMTP id g781TbRw022631 for ; Wed, 7 Aug 2002 18:29:39 -0700 Received: from adacel.com (localhost [127.0.0.1]) by dingo.adacel.com.au (SGI-8.9.3/8.9.3) with ESMTP id LAA38136; Thu, 8 Aug 2002 11:30:22 +1000 (EST) Message-ID: <3D51C9AE.4AA3AF7E@adacel.com> Date: Thu, 08 Aug 2002 11:30:22 +1000 From: Michael Wardle Organization: Adacel Technologies Limited X-Mailer: Mozilla 4.79C-SGI [en] (X11; I; IRIX64 6.5 IP27) X-Accept-Language: en MIME-Version: 1.0 To: Leopoldo Centore CC: fam@oss.sgi.com Subject: Re: [fam] Monitoring more directories References: <1028757443.2350.0.camel@sistemi_1> Content-Type: multipart/mixed; boundary="------------27559D2F9F95A88004DFA777" Sender: owner-fam@oss.sgi.com Precedence: bulk This is a multi-part message in MIME format. --------------27559D2F9F95A88004DFA777 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi Leopoldo Centore wrote: [...] > Yet, if i try to read "filename" in a struct "FAMEvent" (ev.filename), I > have only the name of the file and not the absolute path ... > > so I don't know in which directories it has been created. > > Please, can someone help me ?. IIRC the FAM test program stores the file's path in FAMEvent->userdata: you might like to do the same. See test/test.c++ in the FAM sources for more information. HTH -- MICHAEL WARDLE SGI Desktop and Sysadmin Team Adacel Technologies Limited --------------27559D2F9F95A88004DFA777 Content-Type: text/x-vcard; charset=us-ascii; name="michael.wardle.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Michael Wardle Content-Disposition: attachment; filename="michael.wardle.vcf" begin:vcard n:Wardle;Michael tel;cell:+61-415-439-838 tel;work:+61-2-6024-2699 x-mozilla-html:FALSE url:http://www.adacel.com/ org:Adacel Technologies Limited;Advanced Software Engineering adr:;;19 Stanley Street;Wodonga;Victoria;3690;Australia version:2.1 email;internet:michael.wardle@adacel.com title:Trainee Software Engineer x-mozilla-cpt:;16992 fn:Michael Wardle end:vcard --------------27559D2F9F95A88004DFA777-- -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Sat Aug 17 05:00:58 2002 Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.12.5/8.12.5) with ESMTP id g7HC0wRw024757 for ; Sat, 17 Aug 2002 05:00:58 -0700 Received: (from majordomo@localhost) by oss.sgi.com (8.12.5/8.12.3/Submit) id g7HC0wC5024756 for fam-outgoing; Sat, 17 Aug 2002 05:00:58 -0700 X-Authentication-Warning: oss.sgi.com: majordomo set sender to owner-fam@oss.sgi.com using -f Received: from ilmattino.it ([151.8.193.73]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id g7HC0rRw024753 for ; Sat, 17 Aug 2002 05:00:54 -0700 Received: from sistemi_1.napoli.edime.ilmattino (sistemi_1 [138.10.1.207]) by ilmattino.it (8.11.0/8.11.0) with ESMTP id g7HBwCO30201 for ; Sat, 17 Aug 2002 13:58:13 +0200 Subject: [fam] R: Monitoring more directories From: Leopoldo Centore To: fam@oss.sgi.com X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Importance: Normal In-Reply-To: <1028757443.2350.0.camel@sistemi_1> X-OlkEid: 2A240C22981A046EE8B1D611991F00D0590FDC2A Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.2-5mdk Date: 17 Aug 2002 16:04:26 +0200 Message-Id: <1029593068.2382.8.camel@sistemi_1> Mime-Version: 1.0 Sender: owner-fam@oss.sgi.com Precedence: bulk Thanks for your help, it works fine. But I have another problem to resolve : The files that arrive in the directories source must be copied in directories destination. I have noticed that FAMCreated is emitted immediately and not when the process of copy is finished, while FAMChanged is emitted during the writing process more times. In this way, if the file size is large, there is the possibility that only a partial file is copied. How can I avoid that this happens? I need the signal after the file has been entirely copied in the source directory. Thanks in advance. -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Sun Aug 18 08:52:08 2002 Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.12.5/8.12.5) with ESMTP id g7IFq8Rw015698 for ; Sun, 18 Aug 2002 08:52:08 -0700 Received: (from majordomo@localhost) by oss.sgi.com (8.12.5/8.12.3/Submit) id g7IFq8LN015697 for fam-outgoing; Sun, 18 Aug 2002 08:52:08 -0700 X-Authentication-Warning: oss.sgi.com: majordomo set sender to owner-fam@oss.sgi.com using -f Received: from post.webmailer.de (natwar.webmailer.de [192.67.198.70]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id g7IFq1Rw015693 for ; Sun, 18 Aug 2002 08:52:02 -0700 Received: from A3c69.pppool.de (A3c69.pppool.de [213.6.60.105]) by post.webmailer.de (8.9.3/8.8.7) with ESMTP id RAA00299 for ; Sun, 18 Aug 2002 17:54:43 +0200 (MEST) Subject: Re: [fam] R: Monitoring more directories From: Christian Kreibich To: FAM In-Reply-To: <1029593068.2382.8.camel@sistemi_1> References: <1029593068.2382.8.camel@sistemi_1> Content-Type: text/plain Organization: Message-Id: <1029686120.668.12.camel@Gonzo> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.1.0.99 (Preview Release) Date: 18 Aug 2002 17:55:58 +0200 Content-Transfer-Encoding: 7bit Sender: owner-fam@oss.sgi.com Precedence: bulk On Sat, 2002-08-17 at 16:04, Leopoldo Centore wrote: > Thanks for your help, it works fine. > > But I have another problem to resolve : > > The files that arrive in the directories source must be copied in > directories destination. > > I have noticed that FAMCreated is emitted immediately and not when the > process of copy is finished, > while FAMChanged is emitted during the writing process more times. > > In this way, if the file size is large, there is the possibility that only > a partial file is copied. > > How can I avoid that this happens? > > I need the signal after the file has been entirely copied in the source > directory. I don't think there's a way to do that using FAM, since it can only tell you when something changed, and not when something doesn't change :) Maybe you could queue the copy operation for the files and start the copying when you haven't seen any FAMChanged's for a reasonable amount of time (i.e. sort of an idle handler)? Cheers, Christian. -- ________________________________________________________________________ http://www.whoop.org -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Sun Aug 18 09:53:42 2002 Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.12.5/8.12.5) with ESMTP id g7IGrgRw016049 for ; Sun, 18 Aug 2002 09:53:42 -0700 Received: (from majordomo@localhost) by oss.sgi.com (8.12.5/8.12.3/Submit) id g7IGrgvK016048 for fam-outgoing; Sun, 18 Aug 2002 09:53:42 -0700 X-Authentication-Warning: oss.sgi.com: majordomo set sender to owner-fam@oss.sgi.com using -f Received: from kheops.no-ip.org (host217-39-67-46.in-addr.btopenworld.com [217.39.67.46]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id g7IGrcRw016045 for ; Sun, 18 Aug 2002 09:53:39 -0700 Received: from kheops.no-ip.org (localhost.localdomain [127.0.0.1]) by kheops.no-ip.org (Postfix) with SMTP id C75246F3460 for ; Sun, 18 Aug 2002 17:55:59 +0100 (BST) Date: Sun, 18 Aug 2002 17:55:59 +0100 From: Michael Blatt To: fam@oss.sgi.com Subject: [fam] email client using fam? Message-Id: <20020818175559.0a013fa4.m.i.blatt@lse.ac.uk> X-Mailer: Sylpheed version 0.7.3 (GTK+ 1.2.10; i586-mandrake-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-fam@oss.sgi.com Precedence: bulk Hi everyone, I guess the subject of the email is clear enough :) I was wondering if any email client has been developed to use fam to look for incoming email under /var/spool/mail or similar. So far I haven't seen anything, but you guys might know? It would be much more convenient than, say, polling every 5 minutes because then mail would be displayed as soon as it arrives, in an Exchange Server sort of way - I hope this makes sense? Please CC me on the reply as I am not subscribed to the list. Thanks to all of you for your time and effort with fam! cheers Michael -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From owner-fam@oss.sgi.com Wed Aug 21 06:56:07 2002 Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.12.5/8.12.5) with ESMTP id g7LDu7EC031606 for ; Wed, 21 Aug 2002 06:56:07 -0700 Received: (from majordomo@localhost) by oss.sgi.com (8.12.5/8.12.3/Submit) id g7LDu7Fj031605 for fam-outgoing; Wed, 21 Aug 2002 06:56:07 -0700 X-Authentication-Warning: oss.sgi.com: majordomo set sender to owner-fam@oss.sgi.com using -f Received: from viefep14-int.chello.at (viefep14-int.chello.at [213.46.255.13]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id g7LDu3EC031602 for ; Wed, 21 Aug 2002 06:56:04 -0700 Received: from i-one.at ([212.17.95.228]) by viefep14-int.chello.at (InterMail vM.5.01.03.06 201-253-122-118-106-20010523) with ESMTP id <20020821135900.PQFO2977.viefep14-int.chello.at@i-one.at> for ; Wed, 21 Aug 2002 15:59:00 +0200 Message-ID: <3D639CB7.8010500@i-one.at> Date: Wed, 21 Aug 2002 15:59:19 +0200 From: Oliver Martin User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.0.0) Gecko/20020530 X-Accept-Language: de-at, de, en-us, en MIME-Version: 1.0 To: FAM List Subject: [fam] DNotify patch Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-fam@oss.sgi.com Precedence: bulk Hello, is there any DNotify patch for the current version? Or has the patch already merged into the source tree? The one mentioned in the FAQ seems to be for 2.6.7. I'm running Linux 2.4.19. Thanks, -- Oliver -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com From ralf@oss.sgi.com Fri Aug 23 16:41:22 2002 Received: with ECARTIS (v1.0.0; list fam); Fri, 23 Aug 2002 16:44:19 -0700 (PDT) Received: from shaft19-f87.dialo.tiscali.de (shaft19-f87.dialo.tiscali.de [62.246.19.87]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id g7NNf19D002570; Fri, 23 Aug 2002 16:41:02 -0700 Received: (ralf@lappi.linux-mips.net) by ralf.linux-mips.org id ; Sat, 24 Aug 2002 01:44:11 +0200 Date: Sat, 24 Aug 2002 01:44:11 +0200 From: Ralf Baechle To: undisclosed-recipients:; Subject: ADMIN: New mailing list software on oss Message-ID: <20020824014411.A10670@bacchus.dhis.org> Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i X-Accept-Language: de,en,fr Content-Transfer-Encoding: 8bit X-archive-position: 1 X-ecartis-version: Ecartis v1.0.0 Sender: fam-bounce@oss.sgi.com Errors-to: fam-bounce@oss.sgi.com X-original-sender: ralf@oss.sgi.com Precedence: bulk X-list: fam After a long time we're finally retiring Majordomo as mailing list manager for oss.sgi.com and have replaced it with Ecartis. From a user perspective Ecartis is similar to Majordomo, that is subscribing and unsubscribing do work the same way. In addition we now offer new features such as a digest mode. For more information send an email containing the word "help" to Ecartis@oss.sgi.com. For a while we'll still have it available under the old majordomo@oss.sgi.com address as well. Ralf