47. .etc.mtab

SCR Agent for reading /etc/mtab

47.1. Authors

  • Unknown <yast2-hacker@suse.de>

47.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/etc_mtab.scr

See also:

anyagent
libscr
man mount

47.3. Usage

Example 27. 

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