blockdev_setro
Description:
set block device to read-only
Sets the block device named device
to read-only.
This uses the blockdev(8) command.
Parameters:
this |
A GuestfsSession object |
Returns:
true on success, false on error |