blockdev_getsize64


Description:

[ Version ( since = "1.9.3" ) ]
public int64 blockdev_getsize64 (string device) throws Error

get total size of device in bytes

This returns the size of the device in bytes.

See also blockdev_getsz.

This uses the blockdev(8) command.

Parameters:

this

A GuestfsSession object

Returns:

the returned value, or -1 on error