122. .proc.mounts

SCR Agent for reading /proc/mounts

122.1. Authors

  • Unknown <yast2-hacker@suse.de>

122.2. Description

Returns a list of maps. Each map (list-entry) corresponds to i one mount. Keys for the maps are: "spec", "file", "vfstype", "mntops", "freq", "passno"

Access type: read-only

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

See also:

anyagent
libscr
man mount

122.3. Usage

Example 70. 

Read(.proc.mounts)
([$["file":"/", 
    "freq":0, 
    "mntops":"rw", 
    "passno":0, 
    "spec":"/dev/root", 
    "vfstype":"reiserfs"], 
  $["file":"/proc", 
    "freq":0, 
    "mntops":"rw", 
    "passno":0, 
    "spec":"proc", 
    "vfstype":"proc"], 
  ...
 ])