mount_ro


Description:

[ Version ( since = "1.0.10" ) ]
public bool mount_ro (string mountable, string mountpoint) throws Error

mount a guest disk, read-only

This is the same as the mount command, but it mounts the filesystem with the read-only (*-o ro*) flag.

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error