[prev in list] [next in list] [prev in thread] [next in thread] 

List:       coreutils-bug
Subject:    Re: du Bug?
From:       Gus Michel <gumdrop () amalgamationstarfleet ! org>
Date:       2006-01-28 5:00:29
Message-ID: loom.20060128T055519-395 () post ! gmane ! org
[Download RAW message or body]

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.







[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic