From owner-cvs-src@FreeBSD.ORG  Sun Feb  4 06:33:15 2007
Return-Path: <owner-cvs-src@FreeBSD.ORG>
X-Original-To: cvs-src@FreeBSD.org
Delivered-To: cvs-src@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 7870516A401;
	Sun,  4 Feb 2007 06:33:15 +0000 (UTC) (envelope-from mpp@FreeBSD.org)
Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41])
	by mx1.freebsd.org (Postfix) with ESMTP id 67AF013C491;
	Sun,  4 Feb 2007 06:33:15 +0000 (UTC) (envelope-from mpp@FreeBSD.org)
Received: from repoman.freebsd.org (localhost [127.0.0.1])
	by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id l146XFYJ006441;
	Sun, 4 Feb 2007 06:33:15 GMT (envelope-from mpp@repoman.freebsd.org)
Received: (from mpp@localhost)
	by repoman.freebsd.org (8.13.6/8.13.4/Submit) id l146XFf3006440;
	Sun, 4 Feb 2007 06:33:15 GMT (envelope-from mpp)
Message-Id: <200702040633.l146XFf3006440@repoman.freebsd.org>
From: Mike Pritchard <mpp@FreeBSD.org>
Date: Sun, 4 Feb 2007 06:33:15 +0000 (UTC)
To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
X-FreeBSD-CVS-Branch: HEAD
Cc: 
Subject: cvs commit: src/usr.sbin/edquota edquota.c src/usr.bin/quota
 quota.c src/sbin/quotacheck quotacheck.c src/usr.sbin/quotaon
 quotaon.c src/usr.sbin/repquota repquota.c
X-BeenThere: cvs-src@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit messages for the src tree <cvs-src.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>,
	<mailto:cvs-src-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/cvs-src>
List-Post: <mailto:cvs-src@freebsd.org>
List-Help: <mailto:cvs-src-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>,
	<mailto:cvs-src-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 04 Feb 2007 06:33:15 -0000

mpp         2007-02-04 06:33:15 UTC

  FreeBSD src repository

  Modified files:
    usr.sbin/edquota     edquota.c 
    usr.bin/quota        quota.c 
    sbin/quotacheck      quotacheck.c 
    usr.sbin/quotaon     quotaon.c 
    usr.sbin/repquota    repquota.c 
  Log:
  If two files systems, /a and /b are marked as having quotas enabled
  in fstab and they are normally mounted as /a/b, if /b is not mounted,
  the various quota utilities will incorrectly operate with the quotas on
  /a (silently) when operations are attemted on /b.
  
  Sync up all the hasquota() routines between all the different
  quota utilities and change it to detect if the file system we are
  attempting to perform quota operations on is not currently mounted
  and warn the user accordingly.
  
  PR:     bin/38918
  
  Revision  Changes    Path
  1.32      +17 -6     src/sbin/quotacheck/quotacheck.c
  1.27      +21 -7     src/usr.bin/quota/quota.c
  1.26      +23 -8     src/usr.sbin/edquota/edquota.c
  1.12      +21 -8     src/usr.sbin/quotaon/quotaon.c
  1.20      +22 -8     src/usr.sbin/repquota/repquota.c