[54] in Moira

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

bug fixes to setquota

daemon@ATHENA.MIT.EDU (jnrees@ATHENA.MIT.EDU)
Tue Mar 6 14:35:43 1990

From: jnrees@ATHENA.MIT.EDU
Date: Tue, 6 Mar 90 14:32:18 -0500
To: moiradev@ATHENA.MIT.EDU

I have fixed a bug and added some new features to setquota:

	Bug Fixed:  If the the quotas file was not full-length (1meg)
		    setquota would fail on uid's higher than the
		    highest uid available in the file.  setquota now 
		    makes sure it can get to uid 32767 by lseek'ing 
		    and writing if necessary.

	New features: setquota can take either the block special
		      device name or the directory it's mounted on
		      (according to /etc/mtab).
	
		      A new option '-r' allows the user to set quotas
		      for a range of uid's. (see the man page).

The new source file and man page can be found in ~jnrees/src/setquota.
No special flags or libraries are required to build this program.



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