community.general icon indicating copy to clipboard operation
community.general copied to clipboard

community.general.filesystem should support "fat" for fstype in addition to "vfat"

Open jabl opened this issue 2 months ago • 2 comments

Summary

The community.general.filesystem module allows specifying "vfat" as the fstype parameter, in order to create a FAT filesystem. This uses mkfs.vfat from https://github.com/dosfstools/dosfstools . However that project prefers mkfs.fat , and at build time requires a separate --enable-compat-symlinks configure option to also create mkfs.vfat. At some point maybe Linux distros will stop having that option enabled in their dosfstools packages.

Thus community.general.filesystem should follow upstream and at least allow specifying "fat" as the fstype. (Obviously "vfat" still needs to be retained to allow compatibility with existing playbooks.)

Issue Type

Feature Idea

Component Name

filesystem

Additional Information


Code of Conduct

  • [X] I agree to follow the Ansible Code of Conduct

jabl avatar Jun 12 '24 14:06 jabl