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