Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 May 2001 14:18:21 -0600
From:      Mark Stosberg <mark@summersault.com>
To:        freebsd-hackers@freebsd.org
Subject:   "find" and "quota" find different amounts of files
Message-ID:  <3B140406.CC829B0D@summersault.com>

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

Hello! I'm running FreeBSD 4.3 and have encountered a mystery of some
missing files. Using "find" and "quota" to find the same files, I get
different results. For example:

############
root@nollie vector1> find  /usr  -user evan  -print | wc -l
    2435

root@nollie vector1> quota evan
Disk quotas for user evan (uid 1075):
     Filesystem  blocks   quota   limit   grace   files   quota   limit 
 grace
           /usr  561790 1010000 1010000            2537       0       0
############

So "find" is reporting 2435 files, but "quota" is reporting 2537. Where
could the difference be hiding? 

I reviewed the man pages for both "find" and "quota" and couldn't find
any clues to this. If it's not actually a bug with one of these
utilities, then I consider it a bug with their documentation since it's
given unexpected results. 

Thanks,

  -mark

personal website             }      Summersault Website Development
http://mark.stosberg.com/    {      http://www.summersault.com/

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




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