btrfs_subvolume_list


Description:

[ CCode ( array_length = false , array_null_terminated = true ) ]
[ Version ( since = "1.17.35" ) ]
public BTRFSSubvolume[] btrfs_subvolume_list (string fs) throws Error

list btrfs snapshots and subvolumes

List the btrfs snapshots and subvolumes of the btrfs filesystem which is mounted at fs.

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

Parameters:

this

A GuestfsSession object

Returns:

an array of BTRFSSubvolume objects, or NULL on error