[ 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.
this |
A GuestfsSession object |
the returned value, or -1 on error |