blockdev_setrw


Description:

[ Version ( since = "1.9.3" ) ]
public bool blockdev_setrw (string device) throws Error

set block device to read-write

Sets the block device named device to read-write.

This uses the blockdev(8) command.

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error