Comment 1 for bug 180415

Revision history for this message
Mahesh Aravind (maravind) wrote : Re: df display 1K-blocks for 4K too

I was about to file a bug report when I saw this.

I believe it should take the blocksize from dumpe2fs(8) or something, and go ahead and set the BLOCKSIZE env var.

Try:
$ BLOCKSIZE=4096 df

It gives correct values (apparently)

However it doesn't seem to affect 'df -h'/'du -h' -- funny!

Bundlers should apparently decide on setting BLOCK_SIZE or BLOCKSIZE (recommended) by default on install. Maybe on /etc/profile or something.