mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 08:13:08 +00:00
xfs_info is a bash script located in /usr/sbin/ (/sbin is a symlink to /usr/sbin/) which calls xfs_growfs command. When neither /sbin nor /usr/sbin are in the PATH environment variable, filesystem module is able to call xfs_info because /sbin path is hardcoded in get_bin_path method, then xfs_growfs isn't found because neither /sbin nor /usr/sbin are in the PATH environment variable. "xfs_growfs -n" could be used directly instead of xfs_info, the man page states that: "xfs_info is equivalent to invoking xfs_growfs with the -n option". Fixes #24823.