is_whole_device


Description:

[ Version ( since = "1.21.9" ) ]
public int8 is_whole_device (string device) throws Error

test if a device is a whole device

This returns true if and only if device refers to a whole block device. That is, not a partition or a logical device.

Parameters:

this

A GuestfsSession object

Returns:

the returned value, or -1 on error