mountable_subvolume
Description:
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
.
Parameters:
this |
A GuestfsSession object |
Returns:
the returned string, or NULL on error |