blockdev_getss
Description:
get sectorsize of block device
This returns the size of sectors on a block device. Usually 512, but can be larger for modern devices.
(Note, this is not the size in sectors, use blockdev_getsz for that).
This uses the blockdev(8) command.
Parameters:
this |
A GuestfsSession object |
Returns:
the returned value, or -1 on error |