mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
f30a08d049
* Add fat filesystem support fatresize is temporarily disabled * Refactor Filesystem.get_dev_size For more sharing with vFAT class * Fix filesystem tests on some OSs I think this is due to older mke2fs on those systems. * Fix vFAT command on FreeBSD newfs doesn't seem to work on image files * Refactor filesystem.grow() Split out grow_cmd generation and Device operations * Use swap as unsupported filesystem Except FreeBSD, which doesn't have mkswap * Be consistent about str(dev) vs dev.path Prefer str(dev), this works transparently with '%s' formatting. * Enable vfat resize, only test fatresize >= 1.0.4 Lower versions have a segfault bug. * Only install fatresize where available FreeBSD, OpenSUSE, RHEL and CentOS < 7 don't ship it.
15 lines
544 B
YAML
15 lines
544 B
YAML
tested_filesystems:
|
|
# key: fstype
|
|
# fssize: size (Mo)
|
|
# grow: True if resizefs is supported
|
|
# Other minimal sizes:
|
|
# - XFS: 20Mo
|
|
# - Btrfs: 100Mo (50Mo when "--metadata single" is used)
|
|
ext4: {fssize: 10, grow: True}
|
|
ext4dev: {fssize: 10, grow: True}
|
|
ext3: {fssize: 10, grow: True}
|
|
ext2: {fssize: 10, grow: True}
|
|
xfs: {fssize: 20, grow: False} # grow requires a mounted filesystem
|
|
btrfs: {fssize: 100, grow: False} # grow not implemented
|
|
vfat: {fssize: 20, grow: True}
|
|
# untested: lvm, requires a block device
|