RFR: 8304364: [AIX] Build erroneously determines build disk is non-local when using GNU-utils df on AIX [v2]

Tyler Steele tsteele at openjdk.org
Thu Mar 16 18:49:57 UTC 2023


> 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`.

Tyler Steele has updated the pull request incrementally with one additional commit since the last revision:

  adds ?missing? hb.hh changes

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/13065/files
  - new: https://git.openjdk.org/jdk/pull/13065/files/4fa6d1b4..b5f72a02

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=13065&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=13065&range=00-01

  Stats: 28 lines in 1 file changed: 14 ins; 0 del; 14 mod
  Patch: https://git.openjdk.org/jdk/pull/13065.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/13065/head:pull/13065

PR: https://git.openjdk.org/jdk/pull/13065



More information about the build-dev mailing list