mountable_device


Description:

[ Version ( since = "1.33.15" ) ]
public string mountable_device (string mountable) throws Error

extract the device part of a mountable

Returns the device name of a mountable. In quite a lot of cases, the mountable is the device name.

However this doesn't apply for btrfs subvolumes, where the mountable is a combination of both the device name and the subvolume path (see also mountable_subvolume to extract the subvolume path of the mountable if any).

Parameters:

this

A GuestfsSession object

Returns:

the returned string, or NULL on error




2022 vala-language.org