xfs_info


Description:

[ Version ( since = "1.19.21" ) ]
public XFSInfo xfs_info (string pathordevice) throws Error

get geometry of XFS filesystem

pathordevice is a mounted XFS filesystem or a device containing an XFS filesystem. This command returns the geometry of the filesystem.

The returned struct contains geometry information. Missing fields are returned as @-1 (for numeric fields) or empty string.

This function depends on the feature "xfs". See also feature_available.

Parameters:

this

A GuestfsSession object

Returns:

a XFSInfo object, or NULL on error