fam
[Top] [All Lists]

Re: [fam] FAM on Solaris

To: Ben Rockwood <BRockwood@xxxxxxxxxxxxxxxxx>
Subject: Re: [fam] FAM on Solaris
From: Michael Wardle <michael.wardle@xxxxxxxxxx>
Date: Thu, 28 Feb 2002 11:18:44 +1100
Cc: fam@xxxxxxxxxxx
Organization: Adacel Technologies
References: <9B9B61FC5C65A94EAFC1950F2E58FCF8090D98@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-fam@xxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.8+) Gecko/20020226
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@xxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>