Mount any type of mountable filesystem with the mounted function:
/mnt/sdb:
mount.mounted:
- device: /dev/sdb1
- fstype: ext4
- mkmnt: True
- opts:
- defaults
Verify that a device is mounted
Activates a swap device
/root/swapfile:
mount.swap
Note
This state will be available in version 0.17.0.
Verify that a device is not mounted
Current Salt release: 2014.1.6
Docs for previous releases on salt.rtfd.org.