Joe Krahn:
> However, I think that aufs actually got into a corrupted state where it 
> returned st_size=0 for both symlinks and regular files. So, lstat(), 
> fstat() and stat() all return zero. When this happens, "du" will return 
> zero for a whole directory tree, but will give reasonable estimates with 
> the "--apparent-size" flag.

du(1) without "--apparent-size" flag computes st_blocks and st_blksize,
instead of st_size. Even if st_size has some value, as long as st_blocks
is zero du(1) shows zero because the file doesn't consume any disk
blocks.

Anyway I'll keep in mind your report.


J. R. Okajima

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com

Reply via email to