Module for managing ext2/3/4 file systems
Return attributes from dumpe2fs for a specified device
CLI Example:
salt '*' extfs.attributes /dev/sda1
Return block and inode info from dumpe2fs for a specified device
CLI Example:
salt '*' extfs.blocks /dev/sda1
Return all contents of dumpe2fs for a specified device
CLI Example:
salt '*' extfs.dump /dev/sda1
Create a file system on the specified device
CLI Example:
salt '*' extfs.mkfs /dev/sda1 fs_type=ext4 opts='acl,noexec'
Valid options are:
See the mke2fs(8) manpage for a more complete description of these options.
Set attributes for the specified device (using tune2fs)
CLI Example:
salt '*' extfs.tune /dev/sda1 force=True label=wildstallyns opts='acl,noexec'
Valid options are:
See the mke2fs(8) manpage for a more complete description of these options.
Docs for previous releases are available on salt.rtfd.org.
Latest Salt release: 2014.7.1
Upcoming SaltStack events, webinars and local meet ups and user groups.