Menu

FormatStrings

Brad Lanam

Wiki Home

di Format Strings

The -f option to di specifies which values to output.

  • Strings
    • m : Mount Point
    • s : Filesystem (device name)
    • t : Filesystem Type
    • O : Mount Options
  • Total Available
    • b : Total space on the filesystem.
    • B : Total space on the filesystem available for use by normal users.
  • In Use
    • u : The space in use on the filesystem.
      (actual space used = total - free)
    • c : The space not available for use by normal users.
      (total - available)
  • Free
    • f : The amount of free (unused) space on the filesystem.
    • v : The space available for use by normal users.
  • Percentage Used
    • p : The percentage of space in use.
      (space not available for use / total disk space)
    • 1 : The percentage of space in use
      (actual space used / total disk space)
    • 2 : The percentage of user-available space in use.
      (actual space used / disk space available to normal users)
  • Percentage Free
    • a : The percentage of space available for use by normal users.
      (space available for use / total disk space)
    • 3 : The percentage of space free.
      (actual space free / total disk space)
  • Inodes
    • i : The total number of file slots (inodes) that can be created on the filesystem.
    • U : The number of file slots in use.
    • F : The number of file slots available.
    • P : The percentage of file slots in use.

Wiki Home


Related

Wiki: Home