134. .run.df

SCR Agent for reading the result from /bin/df -P

134.1. Description

Returns a list of maps. Each map (list-entry) corresponds with one mount. Keys for the maps are: "spec", "whole", "used", "free", "prz", "name", "dummy"

Access type: read-only

File Name: /usr/share/YaST2/scrconf/run_df.scr

See: anyagent libscr man df

134.2. Usage

Example 63. 

  Read(.run.df)
  ([$["dummy":"on", 
      "free":"Available", 
      "name":"Mounted", 
      "prz":"Capacity", 
      "spec":"Filesystem", 
      "used":"Used", 
      "whole":"1024-blocks"], 
    $["free":"2170396", 
      "name":"/", 
      "prz":"75%", 
      "spec":"/dev/sda3", 
      "used":"6496372", 
      "whole":"8666768"], 
    $["free":"18715", 
      "name":"/boot", 
      "prz":"16%", 
      "spec":"/dev/sda1", 
      "used":"3382", 
      "whole":"23300"], 
  ])