Skip to main content
2 of 3
edited tags
Kusalananda
  • 355.8k
  • 42
  • 735
  • 1.1k

What does `stat '%B' *` mean?

stat '%B' * reports the same number 512 for each file. What does %B mean? I don't understand the manual:

%B - The size in bytes of each block reported by ‘%b’

Is it related to my block size:

$ sudo blockdev --getbsz /dev/sda1
4096

Thanks.

Tim
  • 106.8k
  • 234
  • 651
  • 1.1k