blockdev_getro
Description:
is block device set to read-only
Returns a boolean indicating if the block device is read-only (true if read-only, false if not).
This uses the blockdev(8) command.
Parameters:
| this |
A GuestfsSession object |
Returns:
|
the returned value, or -1 on error |