Skip to main content
3 of 4
added 1 character in body
Mikel
  • 58.7k
  • 16
  • 136
  • 155

stat size format directives

With stat 8.13 on a Debian based Linux - among many others - the following FORMAT directives (--format=) are offered:

In combination with --file-system (-f):

  • %s Block size (for faster transfers)
  • %S Fundamental block size (for block counts)

Question(s): What exactly is meant?

My best guess is that %s, %S equals %b (display in Blocks) and %B (display block's size), where the latter are for files and the first two are for file systems. Is that correct?

erch
  • 5.2k
  • 17
  • 52
  • 86