Skip to main content

mount

Description

Unix Mounted Filesystem

List

[]mount.point

Examples

List all mount points

mount.list { path device fstype options }

Ensure the mountpoint exists

mount.one(path == "/");

Check mountpoint configuration

mount.where( path == "/" ).list {
device == '/dev/mapper/vg00-lv_root'
fstype == 'xfs'
options['rw'] != null
options['relatime'] != null
options['seclabel'] != null
options['attr2'] != null
options['inode64'] != null
options['noquota'] != null
}