Your message dated Sat, 26 Jan 2008 16:38:01 -0500
with message-id <[EMAIL PROTECTED]>
and subject line du and df generating different results
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: du and df
Version: Latest

If I execute df -h I see this line:
/dev/sda2              14G   14G   90M 100% /home

/home has 14 GB of space used. If I cd /home and then execute du -h --max-depth=1 I see this:

20K     ./.mc
8.0K    ./.qt
114M    ./Backup
628K    ./.kde
4.0K    ./.ssh
24K     ./.vnc
8.0K    ./Dias
591K    ./.mcop
3.1M    ./Dumps
339K    ./.sqldeveloper
18M     ./.mozilla
12K     ./scripts
24K     ./Desktop
6.7M    ./Reports
420M    ./Projects
164K    ./.local
28K     ./.subversion
8.0K    ./.fullcircle
563M    .

df says my /home is taking 14 GB but du saya it only uses 535 MB. I beleive there to be a huge bug in one of the applications.




--- End Message ---
--- Begin Message --- The classic reason for df and du disagreeing is that a file is open but has been deleted. (Filespace is not reclaimed until any application that has the file open has closed the file.) If the discrepency remains even after a reboot, then it's possible that the disk is in an inconsistent state. Running fsck on the disk is recommended in that case.

In either case, there's nothing that can be done in coreutils, since these programs are only reporting information provided by the kernel & filesystem.

Mike Stone


--- End Message ---

Reply via email to