]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
tests: Remove -w param from mkfs.hfsplus command master
authorLeo Sandoval <lsandova@redhat.com>
Fri, 19 Sep 2025 21:45:05 +0000 (15:45 -0600)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 6 Nov 2025 20:22:34 +0000 (21:22 +0100)
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 <lsandova@redhat.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
tests/util/grub-fs-tester.in

index 126f19a7e882c59872275ce42658eaa5e9f0e252..2302c2ab12b9dc4d3216bae4d1cb71be3ec33feb 100644 (file)
@@ -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")