🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.rt
Article #1286

SOLVED: AOS and quotas

#1286
From: Tod McQuillin
Date: Thu, 21 Jan 1993 06:38
31 lines
1715 bytes
Walter Wong <wcw+@CMU.EDU> kindly reminded me of the patch at
bikini.ufl.edu which fixes some bugs in the quota utilities.  The
patch is V1.4, if anyone's interested.

However, the quotacheck program is still buggy even after the patch is
applied.  Here is a patch to the patched quotacheck.c.  After I made
these changes, everything is working fine!

*** quotacheck.ibm.c	Thu Jan 21 00:41:38 1993
--- quotacheck.c	Thu Jan 21 00:42:28 1993
***************
*** 626,634 ****
  			exit(8);
  		}
  		while (mntp = getmntent(mtab)) {
! 			if (((strcmp(mntp->mnt_type, MNTTYPE_42) != 0) &&
! 				(strcmp(mntp->mnt_type, MNTTYPE_43) != 0) &&
! 				(strcmp(mntp->mnt_type, MNTTYPE_UFS) != 0)) &&
  			    !hasmntopt(mntp, MNTOPT_RO) &&
  			    (oneof(mntp->mnt_fsname, listp, listcnt) ||
  			     oneof(mntp->mnt_dir, listp, listcnt)) ) {
--- 626,634 ----
  			exit(8);
  		}
  		while (mntp = getmntent(mtab)) {
! 			if (((strcmp(mntp->mnt_type, MNTTYPE_42) == 0) ||
! 				(strcmp(mntp->mnt_type, MNTTYPE_43) == 0) ||
! 				(strcmp(mntp->mnt_type, MNTTYPE_UFS) == 0)) &&
  			    !hasmntopt(mntp, MNTOPT_RO) &&
  			    (oneof(mntp->mnt_fsname, listp, listcnt) ||
  			     oneof(mntp->mnt_dir, listp, listcnt)) ) {
Technical Details
Message-ID: <QfLYHUS00XQDAcUmgY@andrew.cmu.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!news.sei.cmu.edu!bb3.andrew.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!tm8t+

Show Full Headers
Complete Article Headers
Organization: Sponsored account, Chemical Engineering, Carnegie Mellon, Pittsburgh, PA
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!news.sei.cmu.edu!bb3.andrew.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!tm8t+
Newsgroups: comp.sys.ibm.pc.rt
Message-ID: <QfLYHUS00XQDAcUmgY@andrew.cmu.edu>
Date: Thu, 21 Jan 1993 01:38:24 -0500 
From: Tod McQuillin <tm8t+@andrew.cmu.edu>
Subject: SOLVED: AOS and quotas
Lines: 31