[ Version ( since = "1.33.15" ) ]
public string mountable_subvolume (string mountable) throws Error
extract the subvolume part of a mountable
Returns the subvolume path of a mountable. Btrfs subvolumes mountables are a combination of both the device name and the subvolume path ( see also mountable_device to extract the device of the mountable).
If the mountable does not represent a btrfs subvolume, then this function fails and the errno
is set to EINVAL
.
this |
A GuestfsSession object |
the returned string, or NULL on error |