From 1c9c03bcd40ede11e7f4ece44dab908dcd36a657 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Fri, 23 Jan 2026 08:49:14 +0000 Subject: [PATCH] generator: Fix description of xfs_info The returned struct contains filesystem metadata, not "geometry information" (whatever that means). --- generator/actions_core.ml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/generator/actions_core.ml b/generator/actions_core.ml index 08a6dfc6b..aa2b296c6 100644 --- a/generator/actions_core.ml +++ b/generator/actions_core.ml @@ -7270,11 +7270,12 @@ call C.|} }; ["mount"; "/dev/sda1"; "/"]; ["xfs_info"; "/"]], "ret->xfs_blocksize == 4096"), [] ]; - shortdesc = "get geometry of XFS filesystem"; + shortdesc = "get information about the XFS filesystem"; longdesc = {|C is a mounted XFS filesystem or a device containing -an XFS filesystem. This command returns the geometry of the filesystem. +an XFS filesystem. This command returns miscellaneous +metadata about the XFS filesystem. -The returned struct contains geometry information. Missing +The returned struct contains miscellaneous metadata. Missing fields are returned as C<-1> (for numeric fields) or empty string.|} };