> The other day I was presented with the following patches from David Rufion
> <daverufino@xxxxxxxxxxxxxx>, which make Fam compile and successfully run
> under FreeBSD.
Thanks, I'll put this in the download area & update the "news" page. A few
questions, though:
- I'd like to add a bit at the top about the exact patch command to run.
Just to make sure, "cd fam-oss-2.6.4 ; patch -p 1 < this_patch" works
on FreeBSD?
- Actually, I'd prefer to integrate the patch into fam so that people don't
have to do that on FreeBSD, but the legal requirements in mntent_compat.c
make me nervous. There's no unencumbered or GPL version available? If
getmntent() just parses /etc/mtab or whatever & stuffs its entries into
structs, could a version be copied from glibc/linux/wherever?
- Does FreeBSD uses some software installation database (like inst on IRIX,
rpm or dpkg on Linux, etc.)? If you have a patch for building installable
images, I'll take it... :)
- This patch doesn't appear to use FMON. (Is that correct? Using this
patch, fam will always poll on FreeBSD?) There's a note at
http://oss.sgi.com/projects/fam/news.html about using FMON (and a link to
the FMON web page), but what it says there is all I know about it.
If any user process can make multiple requests to FMON, then you could patch
libfam's FAMOpen() etc. to call fmon_open(), and each client would talk to
FMON through libfam, instead of talking to fam. This would be much better
than having fam poll, if it works, and if it's a "standard" FreeBSD thing,
etc. (Actually, if you could do that, we could do away with all the
mntent_compat stuff, since you wouldn't need to build fam itself on FreeBSD.)
--Rusty
--
Source code, list archive, and docs: http://oss.sgi.com/projects/fam/
To unsubscribe: echo unsubscribe fam | mail majordomo@xxxxxxxxxxx
|