Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Mar 2009 20:07:35 -0700 (PDT)
From:      Peter Steele <psteele@maxiscale.com>
To:        Bruce Cran <bruce@cran.org.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: What does df command use to get "Used" column?
Message-ID:  <11025501.41236913652983.JavaMail.HALO$@halo>
In-Reply-To: <20090313000146.40e2f04a@gluon>

next in thread | previous in thread | raw e-mail | index | archive | help
>Line 417 of /usr/src/bin/df/df.c: 
> 
>used = sfsp->f_blocks - sfsp->f_bfree; 

I keep forgetting that I can go directly to the source to answer questions like this. Thanks muchly; this is exactly what I need. 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?11025501.41236913652983.JavaMail.HALO$>