fam
[Top] [All Lists]

Re: [fam] fam on FreeBSD

To: clovejoy@xxxxxxxxxxxxxx
Subject: Re: [fam] fam on FreeBSD
From: "Rusty Ballinger" <rusty@xxxxxxxxxxxxxxxxxx>
Date: Tue, 6 Jun 2000 13:48:58 -0700
Cc: fam@xxxxxxxxxxx
In-reply-to: Chap Lovejoy <clovejoy@xxxxxxxxxxxxxx> "[fam] fam on FreeBSD" (Jun 6, 2:38am)
References: <20000606023838.F32093@xxxxxxxx>
Reply-to: rusty@xxxxxxx
Sender: owner-fam@xxxxxxxxxxx
> Has anyone made any progress toward getting fam to build on freebsd?

I don't think so; you're the first person who's asked about it on the list.

> The major stopping
> point appears to be in the way that the checks for an NFS filesystem are
> handled in FileSystemTable.c++.  This uses constants and functions from
> mntent.h which does not exist on BSD systems.  A similar result can be
> obtained from the getfsstat call on BSD.  I'm not very versed in the
> ways of configure scripts and have yet to find a suitable way to detect
> these differences so that the BSD style code can be used instead on BSD
> systems.

Tell you what--make whatever changes you need to get it to build on your
box, and send me a patch, and I'll worry about adding tests to the configure
script & #ifdefs to the code if you'd prefer.  (I'll have to send you some
test versions to make sure my changes still work on your box... I don't have
a FreeBSD box to test on.)

> fam seems like a very good system, although I haven't had a chance to
> actually use it yet.  I know much of the current effort is focused on
> having a 100% functional linux port, however if ports to other operating
> systems are desired it may be advantageous to begin adding a layer of
> abstration between the fam code and the interface to imon or other
> similar services.

Hey, it's got that!  There are three modules which handle the platform-
specific interface to imon (IMonIrix, IMonLinux, and IMonNone), and the
configure script figures out which one to build.  If you get fam working on
FreeBSD, we should be able to isolate all the FMon stuff in a new module.
(Other platform-specific differences like mntent.h, getfsstat, etc. will
have to be handled by configure-script tests and #ifdefs.)  If you get it
building, I will mess with the configure script.  (Unless you want to do
that... on the list of things that I like, m4 ranks slightly lower than
abdominal cramping and loose stools.)

--Rusty

--
Source code, list archive, and docs: http://oss.sgi.com/projects/fam/
To unsubscribe: echo unsubscribe fam | mail majordomo@xxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>
  • [fam] fam on FreeBSD, Chap Lovejoy
    • Message not available
      • Re: [fam] fam on FreeBSD, Rusty Ballinger <=