Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 May 2001 15:07:54 -0700 (PDT)
From:      Linh Pham <lplist@closedsrc.org>
To:        Drew Tomlinson <drewt@writeme.com>
Cc:        "FreeBSD Questions (E-mail)" <freebsd-questions@FreeBSD.org>
Subject:   Re: du - It Doesn't Add Up?
Message-ID:  <Pine.BSF.4.33.0105101506350.4770-100000@q.closedsrc.org>
In-Reply-To: <BA5D0CE1CBB2D411B6AA00A0CC3F02390AF9CF@ldcmsx01.lc.ca.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2001-05-10, Drew Tomlinson scribbled:

# I'm checking disk usage with the du command.  I'm getting the following
# output:
#
# 117 Blacksheep# du -hc /etc
#  97K    /etc/defaults
#  32K    /etc/periodic/daily
#  11K    /etc/periodic/weekly
# 3.0K    /etc/periodic/monthly
#  47K    /etc/periodic
# 4.0K    /etc/ssh
# 9.0K    /etc/ssl
# 2.0K    /etc/gnats
#  34K    /etc/isdn
# 1.0K    /etc/kerberosIV
# 148K    /etc/mail
#  44K    /etc/mtree
# 10.0K   /etc/namedb
# 5.0K    /etc/ppp
# 1.0K    /etc/skel
#  17K    /etc/uucp
#  12M    /etc
#  12M    total
#
# If I add up the numbers, I only get a total of 462K, not 12M as indicated.
# What am I missing?

The `12M /etc' line means that /etc altogether is 12M (probably have a
large file directly under /etc?)

-- 
Linh Pham
[lplist@closedsrc.org]

// 404b - Brain not found


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.33.0105101506350.4770-100000>