From owner-fam@oss.sgi.com Sun Feb 3 11:24:30 2002 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g13JOUZ31445 for fam-outgoing; Sun, 3 Feb 2002 11:24:30 -0800 Received: from mail.funport.com (mail.funport.com [216.199.19.6]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g13JOSA31442 for ; Sun, 3 Feb 2002 11:24:28 -0800 Received: from hastys.net ([]) by mail.funport.com (Merak 4.2.2) with ESMTP id JFB36580 for ; Sun, 03 Feb 2002 13:24:22 -0500 Message-ID: <3C5D83B7.F20C8FEF@hastys.net> Date: Sun, 03 Feb 2002 13:38:47 -0500 From: Donald Knecht X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.4-4GB i686) X-Accept-Language: en MIME-Version: 1.0 To: fam@oss.sgi.com Subject: [fam] 2.4.7 patch problem Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-fam@oss.sgi.com Precedence: bulk i get the following: "patch: **** malformed patch at line 387: if (bprm.file)" any way to fix it? TIA, don -- 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 Fri Feb 8 10:31:21 2002 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g18IVLl06902 for fam-outgoing; Fri, 8 Feb 2002 10:31:21 -0800 Received: from gamledampen.gnett.her (ti221110a080-0928.bb.online.no [80.212.219.160]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g18IVGA06886 for ; Fri, 8 Feb 2002 10:31:16 -0800 Received: from localhost (localhost.localdomain [127.0.0.1]) by gamledampen.gnett.her (8.11.6/8.11.6) with ESMTP id g18IVA503357 for ; Fri, 8 Feb 2002 19:31:10 +0100 Received: from 192.168.1.4 ( [192.168.1.4]) as user ragnar@localhost by ragnar.mine.nu with HTTP; Fri, 8 Feb 2002 19:31:09 +0100 Message-ID: <1013193069.3c64196dd45f3@ragnar.mine.nu> Date: Fri, 8 Feb 2002 19:31:09 +0100 From: =?ISO-8859-1?B?UmFnbmFyIFdpc2z4ZmY=?= To: fam@oss.sgi.com Subject: [fam] fam and X-terminals MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 User-Agent: Internet Messaging Program (IMP) 3.0 X-Originating-IP: 192.168.1.4 X-MIME-Autoconverted: from 8bit to quoted-printable by gamledampen.gnett.her id g18IVA503357 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by oss.sgi.com id g18IVHA06890 Sender: owner-fam@oss.sgi.com Precedence: bulk I'm running a Red Hat Linux 7.2 i386 machine as an application server for a set of thin X-terminals. The thin clients are booted using LTSP (etherboot) and use KDE as their desktop. They run 2.4.9 kernels and have their root file systems mounted using NFS. X runs locally and apps are run on the application server. I am sure people on this list knows all about this type of setup. I've seen lockups and poor performance form the clients at this server, which have not been evident on other machines running differernt Linux distros. The syslog of the server showed frequent messages of the form fam X write error: broken pipe where X was an increasing integer. I disabled the xinetd-based sgi_fam service and the performance went through the roof, no more lockups. I'm sure there is an explanation to this, and I was wondering if anyone here knows it. Also, if fam is desirable, can I tune it somehow (pam.conf says local_only is ignored when run through inetd)? As far as I can tell, fam is used to notify client programs that files have changed so they can update displays etc. But Konqueror still updates its panel if I e.g. create a new directory. It seems I miss no functionality and add performance by not using fam. What am I missing? Any comments appreciated. -- Mvh Ragnar Wisløff ------------------ life is a reach. then you gybe. -- 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 Fri Feb 8 11:13:46 2002 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g18JDkf07751 for fam-outgoing; Fri, 8 Feb 2002 11:13:46 -0800 Received: from devserv.devel.redhat.com (nat-pool-meridian.redhat.com [12.107.208.200]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g18JDgA07748 for ; Fri, 8 Feb 2002 11:13:43 -0800 Received: from localhost (alexl@localhost) by devserv.devel.redhat.com (8.11.0/8.11.0) with ESMTP id g18JDbT07363; Fri, 8 Feb 2002 14:13:37 -0500 X-Authentication-Warning: devserv.devel.redhat.com: alexl owned process doing -bs Date: Fri, 8 Feb 2002 14:13:37 -0500 (EST) From: Alex Larsson X-X-Sender: alexl@devserv.devel.redhat.com To: =?ISO-8859-1?B?UmFnbmFyIFdpc2z4ZmY=?= cc: fam@oss.sgi.com Subject: Re: [fam] fam and X-terminals In-Reply-To: <1013193069.3c64196dd45f3@ragnar.mine.nu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 X-MIME-Autoconverted: from 8bit to quoted-printable by devserv.devel.redhat.com id g18JDbT07363 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by oss.sgi.com id g18JDhA07749 Sender: owner-fam@oss.sgi.com Precedence: bulk On Fri, 8 Feb 2002, Ragnar Wisløff wrote: > I'm running a Red Hat Linux 7.2 i386 machine as an application server > for a set of thin X-terminals. The thin clients are booted using LTSP > (etherboot) and use KDE as their desktop. They run 2.4.9 kernels and > have their root file systems mounted using NFS. X runs locally and apps > are run on the application server. I am sure people on this list knows > all about this type of setup. > > I've seen lockups and poor performance form the clients at this server, > which have not been evident on other machines running differernt Linux > distros. The syslog of the server showed frequent messages of the form > > fam X write error: broken pipe > > where X was an increasing integer. http://oss.sgi.com/bugzilla/show_bug.cgi?id=105 So. Upgrade to fam 2.6.7 should fix it. / Alex -- 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 Fri Feb 8 12:06:46 2002 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g18K6ke09016 for fam-outgoing; Fri, 8 Feb 2002 12:06:46 -0800 Received: from gamledampen.gnett.her (ti221110a080-0928.bb.online.no [80.212.219.160]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g18K6gA09013 for ; Fri, 8 Feb 2002 12:06:43 -0800 Received: from localhost (localhost.localdomain [127.0.0.1]) by gamledampen.gnett.her (8.11.6/8.11.6) with ESMTP id g18K6S504386; Fri, 8 Feb 2002 21:06:28 +0100 Received: from 192.168.1.4 ( [192.168.1.4]) as user ragnar@localhost by ragnar.mine.nu with HTTP; Fri, 8 Feb 2002 21:06:27 +0100 Message-ID: <1013198787.3c642fc3e7e60@ragnar.mine.nu> Date: Fri, 8 Feb 2002 21:06:27 +0100 From: =?ISO-8859-1?B?UmFnbmFyIFdpc2z4ZmY=?= To: Alex Larsson Cc: fam@oss.sgi.com Subject: Re: [fam] fam and X-terminals References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 User-Agent: Internet Messaging Program (IMP) 3.0 X-Originating-IP: 192.168.1.4 X-MIME-Autoconverted: from 8bit to quoted-printable by gamledampen.gnett.her id g18K6S504386 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by oss.sgi.com id g18K6hA09014 Sender: owner-fam@oss.sgi.com Precedence: bulk Sitat Alex Larsson : > > http://oss.sgi.com/bugzilla/show_bug.cgi?id=105 > > So. Upgrade to fam 2.6.7 should fix it. Found it on rawhide, no updates on RH mirors for fam. Recompiled, installed ok from src.rpm. Will see if symptoms disappear. Thanks for prompt response. -- Mvh Ragnar Wisløff ------------------ life is a reach. then you gybe. -- 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 Mon Feb 11 09:43:33 2002 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g1BHhXn14201 for fam-outgoing; Mon, 11 Feb 2002 09:43:33 -0800 Received: from montecarlo.DNAMERICAN.COM ([66.109.177.66]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g1BHhQ914197 for ; Mon, 11 Feb 2002 09:43:28 -0800 Received: from [66.109.177.115] by montecarlo.DNAMERICAN.COM (NTMail 3.02.13) with ESMTP id la069665 for ; Mon, 11 Feb 2002 11:58:01 -0500 Message-ID: <3C67F45D.50102@dnamerican.com> Date: Mon, 11 Feb 2002 11:42:05 -0500 From: John Fluharty User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020204 X-Accept-Language: en-us MIME-Version: 1.0 To: fam@oss.sgi.com Subject: [fam] not getting 'created' notifications Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-fam@oss.sgi.com Precedence: bulk Equiptment: The problem is identical on the two test machines described below. 1) Sony VIAO notebook 500Mhz, 256MB RAM, Mandrake Linux 8.0, fam 2.6.7 2) Dual 933Mhz Zeon, 512MB ram, Redhat Linux 7.1, fam 2.6.5 Both machines have been upgraded to gcc 3.0.2 but are otherwise the standard distributions as indicated above. The Setting: We have a c program that, given the name of a directory on the command line, has fam monitor the directory. It then sits on theFAM socket and waits for messages. all messages received are dumped to the terminal. When a 'create' or an 'exists' is received for a folder, the program tells FAM to monitor the directory. The Problem: When we decompress (tar xvfz) an archive with a fair number of files (>50) and folders (>10) into the montored folder, fam does not send a 'create' for all of the new files and folders. It always sends an 'exists' but not always 'created'. Sometimes only the first folder in the archive gets the 'created' and the rest are 'exists' and other times 1/4 to 1/2 (random?) of the files generate a 'created' the rest only 'exists'. My assumption is that fam cannot keep up, that the whole thing happens too quickly. Could this be the case? This same situtation applies if I copy an existing tree (via cp -a) into the monitored folder. If you need any additional information, let me know. I can even email the test program my co-worker wrote if it would be helpful. -- 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 Mon Feb 11 15:23:56 2002 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g1BNNuJ18981 for fam-outgoing; Mon, 11 Feb 2002 15:23:56 -0800 Received: from arnie.adacel.com.au (arnie.adacel.com.au [203.36.26.147]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g1BNNo918977 for ; Mon, 11 Feb 2002 15:23:50 -0800 Received: (qmail 32296 invoked from network); 11 Feb 2002 22:37:45 -0000 Received: from intmail.adacel.com (HELO proton.adacel.com.au) (root@203.8.85.90) by arnie.adacel.com.au with SMTP; 11 Feb 2002 22:37:45 -0000 Received: from hera.wodonga.adacel.com.au ([192.168.75.251]) by proton.adacel.com.au (8.8.8+Sun/8.8.8) with SMTP id JAA27371 for ; Tue, 12 Feb 2002 09:25:59 +1100 (EST) Received: (qmail 30309 invoked from network); 11 Feb 2002 22:18:06 -0000 Received: from selene.wodonga.adacel.com.au (HELO adacel.com) (192.168.75.20) by hera.wodonga.adacel.com.au with SMTP; 11 Feb 2002 22:18:06 -0000 Message-ID: <3C68452B.9010700@adacel.com> Date: Tue, 12 Feb 2002 09:26:51 +1100 From: Michael Wardle Organization: Adacel Technologies User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.8) Gecko/20020204 X-Accept-Language: en-au, en-us, en-gb, en, eo, de- MIME-Version: 1.0 To: John Fluharty CC: fam@oss.sgi.com Subject: Re: [fam] not getting 'created' notifications References: <3C67F45D.50102@dnamerican.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-fam@oss.sgi.com Precedence: bulk Hi John. John Fluharty wrote: > The problem is identical on the two test machines described below. > > 1) Sony VIAO notebook 500Mhz, 256MB RAM, Mandrake Linux 8.0, fam 2.6.7 > 2) Dual 933Mhz Zeon, 512MB ram, Redhat Linux 7.1, fam 2.6.5 We never released a FAM 2.6.5; I think Red Hat 7.1 would have come with FAM 2.6.4. Out of interest, do you know what kernel monitor they're using (it would be DNotify if you're using Red Hat FAM RPMs)? Unfortunately, there's no really easy way of determining this (but I'm working on it!). [...] > When we decompress (tar xvfz) an archive with a fair number of files > (>50) and folders (>10) into the montored folder, fam does not send a > 'create' for all of the new files and folders. It always sends an > 'exists' but not always 'created'. Sometimes only the first folder in > the archive gets the 'created' and the rest are 'exists' and other times > 1/4 to 1/2 (random?) of the files generate a 'created' the rest only > 'exists'. My assumption is that fam cannot keep up, that the whole > thing happens too quickly. Could this be the case? Yes, it could. I'll look into it. > If you need any additional information, let me know. I can even email > the test program my co-worker wrote if it would be helpful. Sure. Perhaps you could attach the source to the bug I filed. http://oss.sgi.com/bugzilla/show_bug.cgi?id=124 Regards -- MICHAEL WARDLE | WORK +61-2-6024-2699 SGI Desktop & Admin Software | MOBILE +61-415-439-838 Adacel Technologies Limited | WEB http://www.adacel.com/ -- 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 Mon Feb 11 17:48:33 2002 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g1C1mXl22377 for fam-outgoing; Mon, 11 Feb 2002 17:48:33 -0800 Received: from arnie.adacel.com.au (arnie.adacel.com.au [203.36.26.147]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g1C1mP922374 for ; Mon, 11 Feb 2002 17:48:26 -0800 Received: (qmail 12049 invoked from network); 12 Feb 2002 01:02:00 -0000 Received: from intmail.adacel.com (HELO proton.adacel.com.au) (root@203.8.85.90) by arnie.adacel.com.au with SMTP; 12 Feb 2002 01:02:00 -0000 Received: from hera.wodonga.adacel.com.au ([192.168.75.251]) by proton.adacel.com.au (8.8.8+Sun/8.8.8) with SMTP id LAA05497 for ; Tue, 12 Feb 2002 11:50:14 +1100 (EST) Received: (qmail 30396 invoked from network); 12 Feb 2002 00:42:19 -0000 Received: from selene.wodonga.adacel.com.au (HELO adacel.com) (192.168.75.20) by hera.wodonga.adacel.com.au with SMTP; 12 Feb 2002 00:42:19 -0000 Message-ID: <3C6866F9.6080505@adacel.com> Date: Tue, 12 Feb 2002 11:51:05 +1100 From: Michael Wardle Organization: Adacel Technologies User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.8) Gecko/20020204 X-Accept-Language: en-au, en-us, en-gb, en, eo, de- MIME-Version: 1.0 To: John Fluharty CC: fam@oss.sgi.com Subject: Re: [fam] not getting 'created' notifications References: <3C67F45D.50102@dnamerican.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-fam@oss.sgi.com Precedence: bulk John Fluharty wrote: [...] > When we decompress (tar xvfz) an archive with a fair number of files > (>50) and folders (>10) into the montored folder, fam does not send a > 'create' for all of the new files and folders. It always sends an > 'exists' but not always 'created'. You're not expecting files in newly created subdirectories to be reported, tho, are you? FAM should only report files (including directories) created in exactly that directory, for instance I don't think monitoring / reports any change to any file on the system (and it probably shouldn't): it only reports new entries directly in /. It'd probably be easy for me to reproduce (and I will try when I get time), but if you'd sent the output of your own program and fam (running with -d), and clarify exactly what you expect, it would be helpful. (Again, it might be best to attach this stuff to the bug if you have access to http://oss.sgi.com/bugzilla/.) Thanks. -- MICHAEL WARDLE | WORK +61-2-6024-2699 SGI Desktop & Admin Software | MOBILE +61-415-439-838 Adacel Technologies Limited | WEB http://www.adacel.com/ -- 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 Tue Feb 12 07:01:49 2002 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g1CF1nM02331 for fam-outgoing; Tue, 12 Feb 2002 07:01:49 -0800 Received: from montecarlo.DNAMERICAN.COM ([66.109.177.66]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g1CF1g902327 for ; Tue, 12 Feb 2002 07:01:42 -0800 Received: from [66.109.177.115] by montecarlo.DNAMERICAN.COM (NTMail 3.02.13) with ESMTP id aa069758 for ; Tue, 12 Feb 2002 09:16:18 -0500 Message-ID: <3C689368.1060509@dnamerican.com> Date: Mon, 11 Feb 2002 23:00:40 -0500 From: John Fluharty User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020204 X-Accept-Language: en-us MIME-Version: 1.0 To: fam@oss.sgi.com Subject: Re: [fam] not getting 'created' notifications References: <3C67F45D.50102@dnamerican.com> <3C6866F9.6080505@adacel.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-fam@oss.sgi.com Precedence: bulk Michael Wardle wrote: > John Fluharty wrote: > > [...] > >> When we decompress (tar xvfz) an archive with a fair number of files >> (>50) and folders (>10) into the montored folder, fam does not send a >> 'create' for all of the new files and folders. It always sends an >> 'exists' but not always 'created'. > > > You're not expecting files in newly created subdirectories to be > reported, tho, are you? FAM should only report files (including > directories) created in exactly that directory, for instance I don't > think monitoring / reports any change to any file on the system (and > it probably shouldn't): it only reports new entries directly in /. > > It'd probably be easy for me to reproduce (and I will try when I get > time), but if you'd sent the output of your own program and fam > (running with -d), and clarify exactly what you expect, it would be > helpful. > > (Again, it might be best to attach this stuff to the bug if you have > access to http://oss.sgi.com/bugzilla/.) > > Thanks. > I understand that you only get notified of changes immediately within directories being monitored, and not in subdirectories. As soon as we get a 'created' message for a directory, we monitor the directory, so (in theory) we should be individually monitoring each directory in the tree, starting from when it is created. I think that's where the problem lies. If I untar an archive that creates a subdirectory in the directory I am monitoring followed by a slew of files within this subdirectory, by the time my code catches the 'created' message from FAM and tells FAM to monitor the new subdirectory, half the files in the subdirectory have already been created (untarred) and all I get is 'exists' messages for them. So, I don't think its a problem with the speed of FAM, or any kind of bug within FAM for that matter. What I really need is a way to tell FAM to monitor an entire directory tree, including all existing and newly created subdirectories. Is there a way to get it to do this? -- 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 Thu Feb 21 21:36:31 2002 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g1M5aVj20830 for fam-outgoing; Thu, 21 Feb 2002 21:36:31 -0800 Received: from sierra.seas.upenn.edu (root@sierra.seas.upenn.edu [158.130.64.180]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g1M5aS920827 for ; Thu, 21 Feb 2002 21:36:29 -0800 Received: from oersted.seas.upenn.edu (viprasad@OERSTED.SEAS.UPENN.EDU [158.130.64.192]) by sierra.seas.upenn.edu (8.9.3/8.9.3) with ESMTP id XAA26801 for ; Thu, 21 Feb 2002 23:36:26 -0500 (EST) Received: (from viprasad@localhost) by oersted.seas.upenn.edu (8.9.3/8.9.3) id XAA17236 for fam@oss.sgi.com; Thu, 21 Feb 2002 23:36:26 -0500 (EST) From: Vikram Prasad Message-Id: <200202220436.XAA17236@oersted.seas.upenn.edu> Subject: [fam] installation help To: fam@oss.sgi.com Date: Thu, 21 Feb 2002 23:36:25 -0500 (EST) X-Mailer: ELM [version 2.4 PL23-upenn3.3] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-fam@oss.sgi.com Precedence: bulk hi, i am trying to install fam and imon for a school project. but when i try to configure i get the following configure error: checking mntent.h for MNTTYPE_NFS... no configure: error: Didn't find MNTTYPE_NFS in mntent.h has anyone else encountered this problem? can you suggest how i get around it or solve it? also, once i install fam-2.6.7 does that give me imon as well? thanks, vikram -- 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 Thu Feb 21 21:44:36 2002 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g1M5iaH20929 for fam-outgoing; Thu, 21 Feb 2002 21:44:36 -0800 Received: from arnie.adacel.com.au (arnie.adacel.com.au [203.36.26.147]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g1M5iW920926 for ; Thu, 21 Feb 2002 21:44:32 -0800 Received: (qmail 25710 invoked from network); 22 Feb 2002 05:00:14 -0000 Received: from intmail.adacel.com (HELO proton.adacel.com.au) (root@203.8.85.90) by arnie.adacel.com.au with SMTP; 22 Feb 2002 05:00:14 -0000 Received: from hera.wodonga.adacel.com.au ([192.168.75.251]) by proton.adacel.com.au (8.8.8+Sun/8.8.8) with SMTP id PAA02243 for ; Fri, 22 Feb 2002 15:46:44 +1100 (EST) Received: (qmail 8830 invoked from network); 22 Feb 2002 04:38:05 -0000 Received: from selene.wodonga.adacel.com.au (HELO adacel.com) (192.168.75.20) by hera.wodonga.adacel.com.au with SMTP; 22 Feb 2002 04:38:05 -0000 Message-ID: <3C75CD73.3070409@adacel.com> Date: Fri, 22 Feb 2002 15:47:47 +1100 From: Michael Wardle Organization: Adacel Technologies User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.8) Gecko/20020204 X-Accept-Language: en-au, en-us, en-gb, en, eo, de- MIME-Version: 1.0 To: Vikram Prasad CC: fam@oss.sgi.com Subject: Re: [fam] installation help References: <200202220436.XAA17236@oersted.seas.upenn.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-fam@oss.sgi.com Precedence: bulk Vikram Prasad wrote: > i am trying to install fam and imon for a school project. but when i try > to configure i get the following configure error: > checking mntent.h for MNTTYPE_NFS... no > configure: error: Didn't find MNTTYPE_NFS in mntent.h Hi Vikram. What platform are you trying to use FAM on, and does it have a mntent header file (look in /usr/src/include or similar)? Maybe also have a look at the configure log file (I think it's called config.log) to see what might be going wrong. These are just some questions to help us get started to figure out the problem. Yours -- MICHAEL WARDLE | WORK +61-2-6024-2699 SGI Desktop & Admin Software | MOBILE +61-415-439-838 Adacel Technologies Limited | WEB http://www.adacel.com/ -- 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 Fri Feb 22 10:14:23 2002 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g1MIENA16780 for fam-outgoing; Fri, 22 Feb 2002 10:14:23 -0800 Received: from lazo.lazo.ca (h24-67-128-246.sbm.shawcable.net [24.67.128.246]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g1MIEL916777 for ; Fri, 22 Feb 2002 10:14:21 -0800 Received: from ripple.lazo.ca (ripple.lazo.ca [172.27.21.97]) by lazo.lazo.ca (8.12.2.Beta3/8.12.0.Beta19) with ESMTP id g1MHEKPT012030 for ; Fri, 22 Feb 2002 09:14:20 -0800 (PST) Date: Fri, 22 Feb 2002 09:14:20 -0800 (PST) From: Mark Sutton To: fam@oss.sgi.com Subject: Re: [fam] installation help Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-fam@oss.sgi.com Precedence: bulk Hello, This looks like the same errors I get trying to configure on Solaris. It does not appear that this patch has been applied to 2.6.7 http://www.in.tum.de/~kreibich/downloads/fam-oss-2.6.4.patch The include would be on Solaris. But that is just the beginning and the patch fails on 38 of 76 hunks in the configure file alone. The rest of the patch is not as bad but I've not looked at what would have to be changed yet. mark -- 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 Fri Feb 22 15:26:42 2002 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g1MNQgo22768 for fam-outgoing; Fri, 22 Feb 2002 15:26:42 -0800 Received: from mailrelay1.lrz-muenchen.de (mailrelay1.lrz-muenchen.de [129.187.254.101]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g1MNQc922765 for ; Fri, 22 Feb 2002 15:26:38 -0800 Received: from [212.224.54.174] by mailout.lrz-muenchen.de with ESMTP for fam@oss.sgi.com; Fri, 22 Feb 2002 23:26:34 +0100 Message-Id: <3C76C515.72C12CEF@informatik.tu-muenchen.de> Date: Fri, 22 Feb 2002 23:24:21 +0100 From: Christian Kreibich X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.3 i686) X-Accept-Language: en MIME-Version: 1.0 To: fam@oss.sgi.com Subject: Re: [fam] installation help References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-fam@oss.sgi.com Precedence: bulk Hi, Mark Sutton wrote: > > Hello, > This looks like the same errors I get trying to configure on > Solaris. It does not appear that this patch has been applied to 2.6.7 > > http://www.in.tum.de/~kreibich/downloads/fam-oss-2.6.4.patch > > The include would be on Solaris. But that is just the > beginning and the patch fails on 38 of 76 hunks in the configure file > alone. The rest of the patch is not as bad but I've not looked at what > would have to be changed yet. Just a little note on this one -- I put that together ages ago and don't have access to the Suns I used back then anymore, so I can't support it any longer. I had received a good deal of reports that it worked back then, though. If you're still interested in the patch, it's up on http://www.whoop.org/downloads/fam-oss-2.6.4.patch by now. 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 Sat Feb 23 11:03:30 2002 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g1NJ3U210349 for fam-outgoing; Sat, 23 Feb 2002 11:03:30 -0800 Received: from smtp.albany.edu (mail1.csc.albany.edu [169.226.1.133]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g1NJ3P910346 for ; Sat, 23 Feb 2002 11:03:25 -0800 Received: from acunix1.albany.edu (acunix1.albany.edu [169.226.1.101]) by smtp.albany.edu (8.11.6/8.11.6) with ESMTP id g1NI3M613606 for ; Sat, 23 Feb 2002 13:03:22 -0500 (EST) Received: from localhost (am1129@localhost) by acunix1.albany.edu (8.12.2/8.12.2/Submit) with ESMTP id g1NI3LBD021401 for ; Sat, 23 Feb 2002 13:03:21 -0500 (EST) X-Authentication-Warning: acunix1.albany.edu: am1129 owned process doing -bs Date: Sat, 23 Feb 2002 13:03:21 -0500 (EST) From: Andy MacNamara To: fam@oss.sgi.com Subject: [fam] Some questions Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-fam@oss.sgi.com Precedence: bulk Hi guys, I'm new to this project, I saw it on Enlightenment's page, and I have some questions: (All of these questions deal with FAM with the IMon backend, not polling.) 1) What's the status on kernel acceptance? 2) Can you disable the network use as a configuration option, i.e. if you want to turn off the remote FAM use? 3) What is the internal API like? The reason I am wondering is, I was thinking about looking into support for device driver notification, as in Windows 2000, where if you unplug your network cable it lets you know. Is this supported, first of all, and how hard would it be to hack in? I was thinking along the lines of a /proc entry for the device driver which a userspace process could then use FAM on... obviously I'd need to hack the device driver, but how feasible is this? 4) If you use FAM on a directory, and a file is created inside it, will the library let you know which file was created, or is the program then responsible for rereading the entire directory? Thanks, Andy -- 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 Feb 23 17:13:58 2002 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g1O1Dwj15190 for fam-outgoing; Sat, 23 Feb 2002 17:13:58 -0800 Received: from nexus.adacel.com (shelob.adacel.com.au [203.36.26.146] (may be forged)) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g1O1Dn915187 for ; Sat, 23 Feb 2002 17:13:49 -0800 Received: (qmail 30404 invoked from network); 24 Feb 2002 00:00:39 -0000 Received: from unknown (HELO adacel.com) (198.142.148.98) by nexus.adacel.com with SMTP; 24 Feb 2002 00:00:39 -0000 Message-ID: <3C782FF7.9000803@adacel.com> Date: Sun, 24 Feb 2002 11:12:39 +1100 From: Michael Wardle User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:0.9.8) Gecko/20020204 X-Accept-Language: en-us MIME-Version: 1.0 To: Andy MacNamara CC: fam@oss.sgi.com Subject: Re: [fam] Some questions References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-fam@oss.sgi.com Precedence: bulk Hi Andy. Andy MacNamara wrote: > I'm new to this project, I saw it on Enlightenment's page, and I have some > questions: > > (All of these questions deal with FAM with the IMon backend, not polling.) > > 1) What's the status on kernel acceptance? IMon is unlikely to be included in the standard kernel distribution. The latest IMon patch we have is for 2.4.7 if I remember correctly. An alternative to IMon on Linux is DNotify. This seems to be the best option for the future, rather than having us maintain Linux IMon patches. You can find a patch adding DNotify support to FAM in our downloads area. > 2) Can you disable the network use as a configuration option, i.e. if you > want to turn off the remote FAM use? We had been looking at an option to not monitor any file systems that were too slow (e.g. some remote NFS mounts) to monitor. If a list of file systems could be specified as a configuration option, would this provide what you want? What exactly did you want? Did you want FAM to not generate *any* traffic at all (remember this means we have to turn of a lot of things, such as NIS lookups)? > 3) What is the internal API like? The reason I am wondering is, I was > thinking about looking into support for device driver notification, as in > Windows 2000, where if you unplug your network cable it lets you know. Is > this supported, first of all, and how hard would it be to hack in? I was > thinking along the lines of a /proc entry for the device driver which > a userspace process could then use FAM on... obviously I'd need to hack > the device driver, but how feasible is this? At first this sounded like it'd be pretty difficult, but maybe it would be feasible to simply monitor the /proc entry, and FAM would send a Changed event, so the client could check what changed and act accordingly. On the other hand, if the /proc entry frequently changed (with information such as packets transmitted, packets dropped, etc.), then you'd get an overwhelming number of Changed events, making the whole idea a bit more difficult. Sorry I can't be more helpful on this one. > 4) If you use FAM on a directory, and a file is created inside it, will > the library let you know which file was created, or is the program then > responsible for rereading the entire directory? Yes, FAM will notify the client that a file was created, returning a struct including the new file name. This only applies to files created at that level (i.e. it does not report files created in subdirectories). I think it's pretty easy to see exactly what happens if you run the test program supplied (in the test subdirectory of the source distribution). I hope this helped. -- MICHAEL WARDLE SGI Desktop and Admin Software Adacel Technologies Limited -- 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 Feb 23 18:45:49 2002 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g1O2jnm16216 for fam-outgoing; Sat, 23 Feb 2002 18:45:49 -0800 Received: from smtp.albany.edu (mail1.csc.albany.edu [169.226.1.133]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g1O2jf916213 for ; Sat, 23 Feb 2002 18:45:41 -0800 Received: from acunix2.albany.edu (acunix2.albany.edu [169.226.1.42]) by smtp.albany.edu (8.11.6/8.11.6) with ESMTP id g1O1jb616504 for ; Sat, 23 Feb 2002 20:45:37 -0500 (EST) Received: from localhost (am1129@localhost) by acunix2.albany.edu (8.12.2/8.12.2/Submit) with ESMTP id g1O1jZeZ022262 for ; Sat, 23 Feb 2002 20:45:35 -0500 (EST) X-Authentication-Warning: acunix2.albany.edu: am1129 owned process doing -bs Date: Sat, 23 Feb 2002 20:45:35 -0500 (EST) From: Andy MacNamara To: fam@oss.sgi.com Subject: Re: [fam] Some questions In-Reply-To: <3C782FF7.9000803@adacel.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-fam@oss.sgi.com Precedence: bulk Thanks for the reply. On Sun, 24 Feb 2002, Michael Wardle wrote: > > 1) What's the status on kernel acceptance? > > IMon is unlikely to be included in the standard kernel distribution. > > The latest IMon patch we have is for 2.4.7 if I remember correctly. > > An alternative to IMon on Linux is DNotify. This seems to be the best > option for the future, rather than having us maintain Linux IMon > patches. You can find a patch adding DNotify support to FAM in our > downloads area. Great, I'll look into it. > > 2) Can you disable the network use as a configuration option, i.e. if you > > want to turn off the remote FAM use? > > We had been looking at an option to not monitor any file systems that > were too slow (e.g. some remote NFS mounts) to monitor. If a list of > file systems could be specified as a configuration option, would this > provide what you want? What exactly did you want? Did you want FAM to > not generate *any* traffic at all (remember this means we have to turn > of a lot of things, such as NIS lookups)? Well, I was looking for an option to not generate any kind of network traffic at all. I read in the FAQ about in the case of NFS filesystems, FAM will try to contact a remote FAM to get notifications. Also, there was something about how FAM/IMon will consider clients untrusted if they do not come from a local Unix socket owned/readable by the process's UID. Basically, I'd like for it to be that a Unix socket is the ONLY way to connect to the FAM information. This is for security concerns, disregarding the obvious firewalling solution. Is there any kind of white paper or documentation on how the network part is implemented? > > 3) What is the internal API like? The reason I am wondering is, I was > > thinking about looking into support for device driver notification, as in > > Windows 2000, where if you unplug your network cable it lets you know. Is > > this supported, first of all, and how hard would it be to hack in? I was > > thinking along the lines of a /proc entry for the device driver which > > a userspace process could then use FAM on... obviously I'd need to hack > > the device driver, but how feasible is this? > > At first this sounded like it'd be pretty difficult, but maybe it would > be feasible to simply monitor the /proc entry, and FAM would send a > Changed event, so the client could check what changed and act > accordingly. On the other hand, if the /proc entry frequently changed > (with information such as packets transmitted, packets dropped, etc.), > then you'd get an overwhelming number of Changed events, making the > whole idea a bit more difficult. > > Sorry I can't be more helpful on this one. No, that was quite encouraging actually :) Basically, I'd have the drivers split up all the information into separate /proc files - for example, a network driver will publish information about whether or not its adapter is "plugged in" in a file, say /proc/sys/net/whatever/eth0/plugged. Any other kinds of information can be split into another file, allowing some granularity in determining what events have occurred. In any case, the specific idea I had was to write a dock applet to say whether an interface was unplugged, which now seems feasible. > I hope this helped. It did, thank you very much for the information. -Andy -- 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 Feb 23 18:47:40 2002 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g1O2leS16252 for fam-outgoing; Sat, 23 Feb 2002 18:47:40 -0800 Received: from smtp.albany.edu (mail1.csc.albany.edu [169.226.1.133]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g1O2lc916249 for ; Sat, 23 Feb 2002 18:47:38 -0800 Received: from acunix2.albany.edu (acunix2.albany.edu [169.226.1.42]) by smtp.albany.edu (8.11.6/8.11.6) with ESMTP id g1O1lY616615 for ; Sat, 23 Feb 2002 20:47:34 -0500 (EST) Received: from localhost (am1129@localhost) by acunix2.albany.edu (8.12.2/8.12.2/Submit) with ESMTP id g1O1lXhJ022266 for ; Sat, 23 Feb 2002 20:47:33 -0500 (EST) X-Authentication-Warning: acunix2.albany.edu: am1129 owned process doing -bs Date: Sat, 23 Feb 2002 20:47:33 -0500 (EST) From: Andy MacNamara To: fam@oss.sgi.com Subject: Re: [fam] Some questions In-Reply-To: <3C782FF7.9000803@adacel.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-fam@oss.sgi.com Precedence: bulk Actually, one more question... > An alternative to IMon on Linux is DNotify. This seems to be the best > option for the future, rather than having us maintain Linux IMon > patches. You can find a patch adding DNotify support to FAM in our > downloads area. How featureful is DNotify? How does it compare to IMon? Can you do the same things with the two? Thanks, -Andy -- 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 Feb 24 17:47:02 2002 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g1P1l2a09939 for fam-outgoing; Sun, 24 Feb 2002 17:47:02 -0800 Received: from arnie.adacel.com.au (arnie.adacel.com.au [203.36.26.147]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g1P1kp909936 for ; Sun, 24 Feb 2002 17:46:52 -0800 Received: (qmail 23359 invoked from network); 25 Feb 2002 01:03:01 -0000 Received: from intmail.adacel.com (HELO proton.adacel.com.au) (root@203.8.85.90) by arnie.adacel.com.au with SMTP; 25 Feb 2002 01:03:01 -0000 Received: from hera.wodonga.adacel.com.au ([192.168.75.251]) by proton.adacel.com.au (8.8.8+Sun/8.8.8) with SMTP id LAA15443 for ; Mon, 25 Feb 2002 11:49:06 +1100 (EST) Received: (qmail 15081 invoked from network); 25 Feb 2002 00:40:19 -0000 Received: from selene.wodonga.adacel.com.au (HELO adacel.com) (192.168.75.20) by hera.wodonga.adacel.com.au with SMTP; 25 Feb 2002 00:40:19 -0000 Message-ID: <3C798A48.9010303@adacel.com> Date: Mon, 25 Feb 2002 11:50:16 +1100 From: Michael Wardle Organization: Adacel Technologies User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.8) Gecko/20020204 X-Accept-Language: en-au, en-us, en-gb, en, eo, de- MIME-Version: 1.0 To: Andy MacNamara CC: fam@oss.sgi.com Subject: Re: [fam] Some questions References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-fam@oss.sgi.com Precedence: bulk Andy MacNamara wrote: > Actually, one more question... > > >>An alternative to IMon on Linux is DNotify. This seems to be the best >>option for the future, rather than having us maintain Linux IMon >>patches. You can find a patch adding DNotify support to FAM in our >>downloads area. >> > > How featureful is DNotify? How does it compare to IMon? Can you do the > same things with the two? They both provide the same basic functionality. Red Hat Linux is using FAM/DNotify, and it seems to be doing everything it needs to. There is some documentation on DNotify in the Linux kernel sources, or you can get it online here: I think the best documentation of IMon is probably the source, but there's some documentation here: (If that's the best documentation there is, then it's time to make a new one.) The first difference I notice is in the events each will report: EVENT | IMon | DNotify | -----------|------------|-------------| accessed | - | DN_ACCESS | modified | Changed? | DN_MODIFY | created | Created | DN_CREATE | deleted | Deleted | DN_DELETE | renamed | Moved* | DN_RENAME | changed | Changed? | DN_ATTRIB | begin run | Executing | - | end run | Exited | - | other | Exists | - | other | EndExist | - | * moved is currently unsupported This table is a quick comparison, and is not authoritative. Please don't rely on this information. If anybody has additions or corrections, let me know, and I'll put a table like this on the FAM project pages someday. In essence, it seems that IMon can report if a file has been executed, and DNotify can report if a file has been accessed. Otherwise, they both handle the same basic functions. There was also discussion about what happens if a large number of files are monitored simultaneously. It is my understanding that DNotify uses a separate file descriptor for every file it watches, but IMon only uses one per drectory. There was some discussion about this between the previous maintainer and the list. I have not looked into this, so do not know what exactly happens. Please see the archives for more details. On the other hand, I believe IMon uses a hash of fixed size to keep all the interests, so it is possible that monitoring a really large number of files (larger than the hash can handle) could cause problems. Further to your original question, I am not sure whether either can handle pseudo-filesystems such as /proc and /dev. Give it a try and let me know what you find out (please!). Regards -- MICHAEL WARDLE | WORK +61-2-6024-2699 SGI Desktop & Admin Software | MOBILE +61-415-439-838 Adacel Technologies Limited | WEB http://www.adacel.com/ -- 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 Feb 24 18:07:12 2002 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g1P27C110333 for fam-outgoing; Sun, 24 Feb 2002 18:07:12 -0800 Received: from arnie.adacel.com.au (arnie.adacel.com.au [203.36.26.147]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g1P276910330 for ; Sun, 24 Feb 2002 18:07:06 -0800 Received: (qmail 25565 invoked from network); 25 Feb 2002 01:23:19 -0000 Received: from intmail.adacel.com (HELO proton.adacel.com.au) (root@203.8.85.90) by arnie.adacel.com.au with SMTP; 25 Feb 2002 01:23:19 -0000 Received: from hera.wodonga.adacel.com.au ([192.168.75.251]) by proton.adacel.com.au (8.8.8+Sun/8.8.8) with SMTP id MAA16650 for ; Mon, 25 Feb 2002 12:09:24 +1100 (EST) Received: (qmail 15094 invoked from network); 25 Feb 2002 01:00:36 -0000 Received: from selene.wodonga.adacel.com.au (HELO adacel.com) (192.168.75.20) by hera.wodonga.adacel.com.au with SMTP; 25 Feb 2002 01:00:36 -0000 Message-ID: <3C798F0A.7010206@adacel.com> Date: Mon, 25 Feb 2002 12:10:34 +1100 From: Michael Wardle Organization: Adacel Technologies User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.8) Gecko/20020204 X-Accept-Language: en-au, en-us, en-gb, en, eo, de- MIME-Version: 1.0 To: Andy MacNamara CC: fam@oss.sgi.com Subject: Re: [fam] Some questions References: <3C798A48.9010303@adacel.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-fam@oss.sgi.com Precedence: bulk Michael Wardle wrote: [...] >> How featureful is DNotify? How does it compare to IMon? Can you do the >> same things with the two? [...] > The first difference I notice is in the events each will report: > > EVENT | IMon | DNotify | > -----------|------------|-------------| > accessed | - | DN_ACCESS | > modified | Changed? | DN_MODIFY | > created | Created | DN_CREATE | > deleted | Deleted | DN_DELETE | > renamed | Moved* | DN_RENAME | > changed | Changed? | DN_ATTRIB | > begin run | Executing | - | > end run | Exited | - | > other | Exists | - | > other | EndExist | - | It seems that some aspects of /accessed/ may be encompassed in the IMon Changed event (for instance, it reports if the ctime changes, so it might do so if the atime changes). This basically depends on how IMon was patched into the Linux kernel, something I'm not fully up to speed on. The Moved/Renamed event would require a little bit of poking around to see exactly what it should, does, and does not do. -- MICHAEL WARDLE | WORK +61-2-6024-2699 SGI Desktop & Admin Software | MOBILE +61-415-439-838 Adacel Technologies Limited | WEB http://www.adacel.com/ -- 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 Mon Feb 25 14:20:53 2002 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g1PMKrd31048 for fam-outgoing; Mon, 25 Feb 2002 14:20:53 -0800 Received: from sgi.com (sgi-too.SGI.COM [204.94.211.39]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g1PMKp931045 for ; Mon, 25 Feb 2002 14:20:51 -0800 Received: from rlyeh.corp.sgi.com (rlyeh.corp.sgi.com [134.15.21.226]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id NAA08308 for ; Mon, 25 Feb 2002 13:20:50 -0800 (PST) mail_from (rusty@rlyeh.corp.sgi.com) Received: (from rusty@localhost) by rlyeh.corp.sgi.com (SGI-8.9.3/8.9.3) id NAA19664; Mon, 25 Feb 2002 13:17:30 -0800 (PST) From: "Rusty Ballinger" Message-Id: <10202251317.ZM19661@rlyeh.corp.sgi.com> Date: Mon, 25 Feb 2002 13:17:29 -0800 In-Reply-To: Andy MacNamara "Re: [fam] Some questions" (Feb 23, 8:45pm) References: X-Face: #)4}U4e`O6YEe%oBzE}>ycmT!Xt?Myiqo~|p3Wh'UuQ[N7)&4\4?8:1n)bmPX]b@#k94%!VojpODdmk:sCr1b\-aXD&P:wjBqupMB:ag6}BwVseJZM@K{$E|0J9}&,Rpdg{&N4/Y8&PTm6>|r[,gI2T*qN!`AZhl>Bdy7JR`dDvP(/pz.}?Q@dg':mlV`RX51Z_ZG?Gta|Q!iA[MaOh Reply-To: rusty@sgi.com X-Mailer: Z-Mail (3.2.3 08feb96 MediaMail) To: am1129@albany.edu Subject: Re: [fam] Some questions Cc: fam@oss.sgi.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-fam@oss.sgi.com Precedence: bulk > Basically, I'd like for it > to be that a Unix socket is the ONLY way to connect to the FAM > information. fam -L, or "local_only = true" in the config file, mostly does this. I don't think it keeps fam from trying to contact the remote fam when a monitored file is on NFS, though. --Rusty -- 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 Feb 27 17:01:40 2002 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g1S11e723975 for fam-outgoing; Wed, 27 Feb 2002 17:01:40 -0800 Received: from mail.homestead-inc.com ([209.157.70.2]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g1S11c923972 for ; Wed, 27 Feb 2002 17:01:38 -0800 Content-Class: urn:content-classes:message Subject: [fam] FAM on Solaris MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Date: Wed, 27 Feb 2002 15:59:38 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 Message-ID: <9B9B61FC5C65A94EAFC1950F2E58FCF8090D98@postal.ksi.homestead-corp.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: FAM on Solaris Thread-Index: AcG/6tCO0ExiS8iBSKSsVMQrGDhd5A== From: "Ben Rockwood" To: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by oss.sgi.com id g1S11c923973 Sender: owner-fam@oss.sgi.com Precedence: bulk Hello. I'm curious what the projects position is on Solaris portablity. Christian did a port of 2.6.4 awhile back, but it'll is quickly slipping out of date. Also, using FAM on Solaris (Christians port) I've had segfaults occur, where FAM outputs the following like several hundred times before faulting: fam[13409]: couldn't open /etc/mnttab for input Solaris does indeed have /etc/mnttab, but it is not writable. Nor should it. Does the word "input" imply RW access? Any ideas? Thank You. Ben Rockwood brockwood@homstead-inc.com benr@cuddletech.com -- 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 Feb 27 17:15:16 2002 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g1S1FGm24312 for fam-outgoing; Wed, 27 Feb 2002 17:15:16 -0800 Received: from arnie.adacel.com.au (arnie.adacel.com.au [203.36.26.147]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g1S1FB924307 for ; Wed, 27 Feb 2002 17:15:11 -0800 Received: (qmail 1069 invoked from network); 27 Feb 2002 23:21:23 -0000 Received: from intmail.adacel.com (HELO proton.adacel.com.au) (root@203.8.85.90) by arnie.adacel.com.au with SMTP; 27 Feb 2002 23:21:23 -0000 Received: from hera.wodonga.adacel.com.au ([192.168.75.251]) by proton.adacel.com.au (8.8.8+Sun/8.8.8) with SMTP id LAA07734 for ; Thu, 28 Feb 2002 11:17:27 +1100 (EST) Received: (qmail 17316 invoked from network); 28 Feb 2002 00:08:30 -0000 Received: from selene.wodonga.adacel.com.au (HELO adacel.com) (192.168.75.20) by hera.wodonga.adacel.com.au with SMTP; 28 Feb 2002 00:08:30 -0000 Message-ID: <3C7D7764.4060301@adacel.com> Date: Thu, 28 Feb 2002 11:18:44 +1100 From: Michael Wardle Organization: Adacel Technologies User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.8+) Gecko/20020226 X-Accept-Language: en-au, en-us, en-gb, en, eo, de- MIME-Version: 1.0 To: Ben Rockwood CC: fam@oss.sgi.com Subject: Re: [fam] FAM on Solaris References: <9B9B61FC5C65A94EAFC1950F2E58FCF8090D98@postal.ksi.homestead-corp.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-fam@oss.sgi.com Precedence: bulk Hi Ben. Ben Rockwood wrote: > I'm curious what the projects position is on Solaris portablity. > Christian did a port of 2.6.4 awhile back, but it'll is quickly > slipping out of date. I have no idea how things are going on Solaris, but I would be happy to have it working, and will help (with limited time) where I can to get it working and into the tree. > Also, using FAM on Solaris (Christians port) I've had segfaults occur, > where FAM outputs the following like several hundred times before > faulting: > fam[13409]: couldn't open /etc/mnttab for input > > Solaris does indeed have /etc/mnttab, but it is not writable. Nor > should it. Does the word "input" imply RW access? Any ideas? I did a quick grep of the sources, and noticed the error message in FileSystemTable.c++. Looking around a little more, I notice at line 109, the mtab (or equivalent) file is being opened with mode "r+" (read-write existing file). I agree that there is no obvious reason why the file should be opened read-write. I'll file a bug and make a patch. -- MICHAEL WARDLE | WORK +61-2-6024-2699 SGI Desktop & Admin Software | MOBILE +61-415-439-838 Adacel Technologies Limited | WEB http://www.adacel.com/ -- 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 Feb 27 17:26:17 2002 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g1S1QH524639 for fam-outgoing; Wed, 27 Feb 2002 17:26:17 -0800 Received: from arnie.adacel.com.au (arnie.adacel.com.au [203.36.26.147]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g1S1Q9924625 for ; Wed, 27 Feb 2002 17:26:10 -0800 Received: (qmail 2103 invoked from network); 27 Feb 2002 23:32:07 -0000 Received: from intmail.adacel.com (HELO proton.adacel.com.au) (root@203.8.85.90) by arnie.adacel.com.au with SMTP; 27 Feb 2002 23:32:07 -0000 Received: from hera.wodonga.adacel.com.au ([192.168.75.251]) by proton.adacel.com.au (8.8.8+Sun/8.8.8) with SMTP id LAA08304 for ; Thu, 28 Feb 2002 11:28:12 +1100 (EST) Received: (qmail 17323 invoked from network); 28 Feb 2002 00:19:15 -0000 Received: from selene.wodonga.adacel.com.au (HELO adacel.com) (192.168.75.20) by hera.wodonga.adacel.com.au with SMTP; 28 Feb 2002 00:19:15 -0000 Message-ID: <3C7D79E8.2020705@adacel.com> Date: Thu, 28 Feb 2002 11:29:28 +1100 From: Michael Wardle Organization: Adacel Technologies User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.8+) Gecko/20020226 X-Accept-Language: en-au, en-us, en-gb, en, eo, de- MIME-Version: 1.0 To: Ben Rockwood CC: fam@oss.sgi.com Subject: Re: [fam] FAM on Solaris References: <9B9B61FC5C65A94EAFC1950F2E58FCF8090D98@postal.ksi.homestead-corp.com> <3C7D7764.4060301@adacel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-fam@oss.sgi.com Precedence: bulk Michael Wardle wrote: > > Also, using FAM on Solaris (Christians port) I've had segfaults occur, > > where FAM outputs the following like several hundred times before > > faulting: > > fam[13409]: couldn't open /etc/mnttab for input > > I'll file a bug and make a patch. Please see bug 129: Try the patch and let me know how it goes. Regards -- MICHAEL WARDLE | WORK +61-2-6024-2699 SGI Desktop & Admin Software | MOBILE +61-415-439-838 Adacel Technologies Limited | WEB http://www.adacel.com/ -- 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 Thu Feb 28 14:32:59 2002 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g1SMWx526773 for fam-outgoing; Thu, 28 Feb 2002 14:32:59 -0800 Received: from mail.homestead-inc.com ([209.157.70.2]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g1SMWs926770 for ; Thu, 28 Feb 2002 14:32:54 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 Content-Class: urn:content-classes:message Subject: RE: [fam] FAM on Solaris MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Date: Thu, 28 Feb 2002 13:30:54 -0800 Message-ID: <9B9B61FC5C65A94EAFC1950F2E58FCF8090D99@postal.ksi.homestead-corp.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [fam] FAM on Solaris Thread-Index: AcG/7kHTud2MqFz0QhKJ6pl/ytR/hgAsJ3cV From: "Ben Rockwood" To: "Michael Wardle" Cc: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by oss.sgi.com id g1SMWs926771 Sender: owner-fam@oss.sgi.com Precedence: bulk Thank you very much. That fixed the problem. I will note, however, I've currently applied this patch to cK's version of FAM (fam-oss-2.6.4) which builds cleanly on Solaris, and now also seems to work cleanly. I have numberous problems with fam 2.6.7, but I plan to look into these problems and hopefully submit a patch sometime next week (i hope). Thank you for resolving this issue so quickly! benr@cuddletech brockwood@homestead-inc.com -----Original Message----- From: Michael Wardle [mailto:michael.wardle@adacel.com] Sent: Wed 2/27/2002 4:29 PM To: Ben Rockwood Cc: fam@oss.sgi.com Subject: Re: [fam] FAM on Solaris Michael Wardle wrote: > > Also, using FAM on Solaris (Christians port) I've had segfaults occur, > > where FAM outputs the following like several hundred times before > > faulting: > > fam[13409]: couldn't open /etc/mnttab for input > > I'll file a bug and make a patch. Please see bug 129: Try the patch and let me know how it goes. Regards -- MICHAEL WARDLE | WORK +61-2-6024-2699 SGI Desktop & Admin Software | MOBILE +61-415-439-838 Adacel Technologies Limited | WEB http://www.adacel.com/ -- Source code, list archive, and docs: http://oss.sgi.com/projects/fam/ To unsubscribe: echo unsubscribe fam | mail majordomo@oss.sgi.com