[ Version ( since = "1.9.3" ) ]
public bool blockdev_setro (string device) throws Error
set block device to read-only
Sets the block device named device
to read-only.
This uses the blockdev(8) command.
this |
A GuestfsSession object |
true on success, false on error |