bug-coreutils
[Top][All Lists]
Advanced

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

du -h easily becomes non human, etc.


From: Dan Jacobson
Subject: du -h easily becomes non human, etc.
Date: Thu, 16 Oct 2003 06:13:34 +0800
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

$ du -b m n
2       m
772     n
$ du m n
1       m
1       n
$ du -B 512 m n
2       m
2       n

I thought the info page said
Block size
==========
The block size used for display is independent of any filesystem block
size.

I wanted to see how many blocks it would use on a 512 block system.
Perhaps reword the info.  It seems I must move the files to a 512
block system before du will tell me.

By the way, -h should emit an error when used with things that make it
less human.  Or maybe still say something. Blocks perhaps.

$ du -hB 512 m n
2       m
2       n




reply via email to

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