Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Oct 1999 16:09:42 -0400 (EDT)
From:      Jim.Pirzyk@disney.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/14545: quota message wrong
Message-ID:  <199910262009.QAA75274@snoopy.faf.fa.disney.com>

next in thread | raw e-mail | index | archive | help

>Number:         14545
>Category:       bin
>Synopsis:       quota reports in K, but header says 'blocks'
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 26 13:20:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Jim Pirzyk
>Release:        FreeBSD 3.3-RELEASE i386
>Organization:
>Environment:

	Running quota command with local or NFS filesysems mounted with
	quotas running

>Description:

	pirzyk@demons:~
	9>du -sk .
	48640   .

	pirzyk@demons:~
	10>quota -v      
	Disk quotas for user pirzyk (uid 698): 
     	Filesystem  blocks   quota   limit   grace   files   quota   limit   grace
        	/export   26434 2048000 3072000               3       0       0        
		/.a/fafhome/export/home/fafhome
                  49512  300000  400000            2131       0       0        


>How-To-Repeat:


>Fix:
	
	pirzyk@snoopy:/usr/src/usr.bin/quota
158>diff -c quota.c.orig quota.c     
*** quota.c.orig        Sun Aug 29 11:31:59 1999
--- quota.c     Tue Oct 26 16:09:16 1999
***************
*** 402,408 ****
        if (!qflag && tag[0] == '\0') {
                printf("%15s%8s %7s%8s%8s%8s %7s%8s%8s\n"
                        , "Filesystem"
!                       , "blocks"
                        , "quota"
                        , "limit"
                        , "grace"
--- 402,408 ----
        if (!qflag && tag[0] == '\0') {
                printf("%15s%8s %7s%8s%8s%8s %7s%8s%8s\n"
                        , "Filesystem"
!                       , "usage"
                        , "quota"
                        , "limit"
                        , "grace"

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910262009.QAA75274>