home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / ibm / pc / rt / 724 next >
Encoding:
Text File  |  1993-01-21  |  1.6 KB  |  41 lines

  1. Organization: Sponsored account, Chemical Engineering, Carnegie Mellon, Pittsburgh, PA
  2. Path: 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+
  3. Newsgroups: comp.sys.ibm.pc.rt
  4. Message-ID: <QfLYHUS00XQDAcUmgY@andrew.cmu.edu>
  5. Date: Thu, 21 Jan 1993 01:38:24 -0500 
  6. From: Tod McQuillin <tm8t+@andrew.cmu.edu>
  7. Subject: SOLVED: AOS and quotas
  8. Lines: 31
  9.  
  10. Walter Wong <wcw+@CMU.EDU> kindly reminded me of the patch at
  11. bikini.ufl.edu which fixes some bugs in the quota utilities.  The
  12. patch is V1.4, if anyone's interested.
  13.  
  14. However, the quotacheck program is still buggy even after the patch is
  15. applied.  Here is a patch to the patched quotacheck.c.  After I made
  16. these changes, everything is working fine!
  17.  
  18. *** quotacheck.ibm.c    Thu Jan 21 00:41:38 1993
  19. --- quotacheck.c    Thu Jan 21 00:42:28 1993
  20. ***************
  21. *** 626,634 ****
  22.               exit(8);
  23.           }
  24.           while (mntp = getmntent(mtab)) {
  25. !             if (((strcmp(mntp->mnt_type, MNTTYPE_42) != 0) &&
  26. !                 (strcmp(mntp->mnt_type, MNTTYPE_43) != 0) &&
  27. !                 (strcmp(mntp->mnt_type, MNTTYPE_UFS) != 0)) &&
  28.                   !hasmntopt(mntp, MNTOPT_RO) &&
  29.                   (oneof(mntp->mnt_fsname, listp, listcnt) ||
  30.                    oneof(mntp->mnt_dir, listp, listcnt)) ) {
  31. --- 626,634 ----
  32.               exit(8);
  33.           }
  34.           while (mntp = getmntent(mtab)) {
  35. !             if (((strcmp(mntp->mnt_type, MNTTYPE_42) == 0) ||
  36. !                 (strcmp(mntp->mnt_type, MNTTYPE_43) == 0) ||
  37. !                 (strcmp(mntp->mnt_type, MNTTYPE_UFS) == 0)) &&
  38.                   !hasmntopt(mntp, MNTOPT_RO) &&
  39.                   (oneof(mntp->mnt_fsname, listp, listcnt) ||
  40.                    oneof(mntp->mnt_dir, listp, listcnt)) ) {
  41.