From: Leo Sandoval Date: Fri, 19 Sep 2025 21:45:05 +0000 (-0600) Subject: tests: Remove -w param from mkfs.hfsplus command X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2bc0929a2fffbb60995605db6ce46aa3f979a7d2;p=thirdparty%2Fgrub.git tests: Remove -w param from mkfs.hfsplus command Apparently the man page is outdated because the option "-w" is shown but not on "mkfs.hfsplus --usage". According to Gemini: The -w option is used to add an HFS wrapper around an HFS Plus file system, which is sometimes required for compatibility with older Mac OS 9 systems. However, this is not a standard or commonly used option and may not be available in all versions of the hfsprogs package, especially on Linux. Signed-off-by: Leo Sandoval Reviewed-by: Daniel Kiper --- diff --git a/tests/util/grub-fs-tester.in b/tests/util/grub-fs-tester.in index 126f19a7e..2302c2ab1 100644 --- a/tests/util/grub-fs-tester.in +++ b/tests/util/grub-fs-tester.in @@ -727,7 +727,7 @@ for LOGSECSIZE in $(range "$MINLOGSECSIZE" "$MAXLOGSECSIZE" 1); do "mkfs.hfsplus" -b $BLKSIZE -v "$FSLABEL" "${MOUNTDEVICE}" dd if=/dev/urandom of="${MOUNTDEVICE}" bs=1 seek=$((0x468)) conv=notrunc count=8 ;; x"hfsplus_wrap") - "mkfs.hfsplus" -w -b $BLKSIZE -v "$FSLABEL" "${MOUNTDEVICE}" + "mkfs.hfsplus" -b $BLKSIZE -v "$FSLABEL" "${MOUNTDEVICE}" dd if=/dev/urandom of="${MOUNTDEVICE}" bs=1 seek=$((0x468)) conv=notrunc count=8 MOUNTFS="hfsplus";; x"hfsplus_casesens")