[comp.protocols.appletalk] CAP 6.0 on Gould's

moyman@ECN.PURDUE.EDU (Mike Moya) (06/07/91)

I'm not sure who added the "ifdef gould" mods for afpos.c but I don't
believe they are correct. Gould's do run the "SunOS" style quotas, however,
the Gould specific call to "quota" in afpos.c will not work (at least not
here) on Gould NP1's or PowerNode 9080 machines. 

#ifdef gould
  return(quota(cmd, fsname, uid, addr));
#else  gould
  return(quotactl(cmd, fsname, uid, addr));
#endif gould


You want to use "quotactl" for NP1's and 9080's. Removing all the "ifdef
gould" stuff in afpos.c is the "fix"... These mods were made in the
orignial CAP 6.0 release (before all the patches). It worked correctly in
the Rutgers 2.0 release. 

I'm sure there is a Gould machine out there somewhere where these mods work
(or they would not have been installed in the first place). If someone at
munnari would send me e-mail about what that arch it is (why the mods were
put in) we could get together and come up with some better "ifdef"'s for
all Gould archs (If possible)...
--moya

--Mike Moya 
--Macintosh Systems and Networking
--Engineering Computer Network, Purdue University
--moyman@ecn.purdue.edu 

lear@turbo.bio.net (Eliot) (06/08/91)

The quota vs. quotactl code is a 4.2 vs. 4.3 interface issue.
Presumably Gould has upgraded its software since those ifdefs were
put in.

-- 
Eliot Lear
[lear@turbo.bio.net]