[2330] in Release_Engineering

home help back first fref pref prev next nref lref last post

bug fixes and other changes to quota

daemon@ATHENA.MIT.EDU (jnrees@ATHENA.MIT.EDU)
Wed May 23 17:38:59 1990

From: jnrees@ATHENA.MIT.EDU
Date: Wed, 23 May 90 17:38:38 -0400
To: rel-eng@ATHENA.MIT.EDU
Cc: mar@ATHENA.MIT.EDU, salemme@ATHENA.MIT.EDU, jnrees@ATHENA.MIT.EDU

In order to fix everything, lots of files were modified.  I have
placed context diffs in /mit/groupquota/diffs, though I have indicated
the location of each file in question.

1) .../lib/rcquotaxdr.c: which is part of librpcsvc.  This library will need
to be archived again before trying to compile quota and rpc.rcquotad.

2) ...include/rpcsvc/rcquota.h 

3) Man pages: quota.1 quotacheck.8 quotaon.8

4) Programs under src: quota.c quotacheck.c quotaon.c rpc.rcquotad.c

5) rpc.rquotad.  I don't have the full file in the groupquota locker,
   but the diffs to fix the memory leak in this old daemon are in
   the diffs subdirectory.

I did not create diffs for quota.c and rpc.rcquotad.c because there
are several revisions of these, and I'm not sure which ones you
already have.

Here's a summary of the bugs fixed:

	A) If the new rpc daemon is not registered on the server
	   in question, then quota will try the old rpc query.
	   (the fallback that everyone wanted!).  In other words
	   quota will work with pre-7.0 fileservers.

	B) /etc/qotab does not need to exist now.  All the programs
	   which accessed it before will assume a default
	   configuration of user quota with zero-means-zero if
	   it can't read the qotab file.  quotaon will syslog
	   with LOG_NOTICE if it is defaulting this way.

	C) The output format of 'quota' has been modified to 
	   include block _and_ inode information.  The -i option 
	   is gone. The timeleft columns were removed to make 
	   room for the quota type and ID.  '<<' symbols are
	   put next to entries where the usage is over quota.
	   Warnings with the amount of time remaining are
	   printed at the bottom if necessary (this is the
	   same output that would be printed without the
	   '-v' option).  

	D) The memory leak in rpc.rquotad and rpc.rcquotad 
	   has been plugged with two extra lines of code.

	-Jim

Since the fallback is in effect, I don't see much reason to keeping
quota.ucb around.

home help back first fref pref prev next nref lref last post