Files
packages/utils/xfsprogs/test.sh
T
Alexandru Ardelean 9e6e25cbc4 xfsprogs: update to 6.19.0
Update from 6.10.1 to 6.19.0. Notable changes:

- 6.19.0: fix log sunit automatic configuration in mkfs; fix data
  corruption bug in libxfs_file_write; fix various memory leaks; improve
  realtime subvolume info in xfs_io statfs
- 6.18.0: adjust nr_zones for zoned filesystems on conventional devices
  in mkfs; fix xfs_logprint pointer bugs; fix mdrestore superblock length
  check; add 2025 LTS config
- 6.16.0: atomic write enhancements for maximum atomic write limits at
  mount time; refactor log recovery infrastructure; remove experimental
  warnings from xfs_scrub
- 6.13.0: comprehensive metadata directory support in xfs_repair, xfs_db,
  and mkfs; realtime group support with new RT group structures; quota
  inodes use metadata directory infrastructure; realtime space quotas
- 6.12.0: realtime device support in xfs_db; file range commit ioctls
  with atomic write statx fields; modernize perag lookup to xarray;
  require -std=gnu11 for compilation

Add test.sh to verify xfs-mkfs and xfs-fsck report the correct version
and xfs-admin/xfs-growfs produce expected help output.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-05-06 21:05:02 +03:00

18 lines
316 B
Bash

#!/bin/sh
case "$1" in
xfs-mkfs)
mkfs.xfs -V 2>&1 | grep -F "$2"
;;
xfs-fsck)
xfs_repair -V 2>&1 | grep -F "$2"
;;
xfs-admin)
xfs_admin --help 2>&1 | grep -qi "xfs_admin\|usage" || \
xfs_db --help 2>&1 | grep -qi "xfs_db\|usage"
;;
xfs-growfs)
xfs_growfs --help 2>&1 | grep -qi "xfs_growfs\|usage"
;;
esac