blockdev_getbsz
Description:
get blocksize of block device
This returns the block size of a device.
Note: this is different from both *size in blocks* and *filesystem block size*. Also this setting is not really used by anything. You should probably not use it for anything. Filesystems have their own idea about what block size to choose.
This uses the blockdev(8) command.
Parameters:
this |
A GuestfsSession object |
Returns:
the returned value, or -1 on error |