On Thu, 16 Mar 2023 18:07:51 GMT, Tyler Steele <tste...@openjdk.org> wrote:
> The GNU-utils df command supports a flag `-l` which displays information > about local disks only. The AIX df equivalent is `-T local`. However, my > build systems uses GNU-utils on AIX. In this case, the build system > erroneously uses `df -T local`, and incorrectly determines that the disk is > non-local from the error text. > > This change corrects that issue by testing if the enabled version of df > returns cleanly with the `-T local` flag when AIX is the detected OS. If it > does, `-T local` is used, and if not, it defaults to `-l`. Marked as reviewed by erikj (Reviewer). ------------- PR: https://git.openjdk.org/jdk/pull/13065