bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: du Bug?


From: Gus Michel
Subject: Re: du Bug?
Date: Sat, 28 Jan 2006 05:00:29 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

ice <iceblue22es <at> yahoo.es> writes:

> 
> 
> Hi,
> 
> I have a cuestion. Why en HPUX system when you type a du over an
> empty directory you receive a zero size directory and when you do
> over a Linux system you receive 4 kB for each directory.
> 
> If you test it over a directory with many subdirectory you may be
> wrong.
> 

I don't know about HP-UX, but on most versions of *NIX, du means
Disk Usage, and directories (even empty ones) use disk space.
In the case of ext2fs, the amount of disk space allocated for a
directory is one file system block, which is typically 4kb.








reply via email to

[Prev in Thread] Current Thread [Next in Thread]