mount_local


Description:

[ Version ( since = "1.17.22" ) ]
public bool mount_local (string localmountpoint, MountLocal? optargs) throws Error

mount on the local filesystem

This call exports the libguestfs-accessible filesystem to a local mountpoint (directory) called localmountpoint. Ordinary reads and writes to files and directories under localmountpoint are redirected through libguestfs.

If the optional readonly flag is set to true, then writes to the filesystem return error EROFS.

options is a comma-separated list of mount options. See guestmount(1) for some useful options.

cachetimeout sets the timeout (in seconds) for cached directory entries. The default is 60 seconds. See guestmount(1) for further information.

If debugcalls is set to true, then additional debugging information is generated for every FUSE call.

When mount_local returns, the filesystem is ready, but is not processing requests (access to it will block). You have to call mount_local_run to run the main loop.

See "MOUNT LOCAL" in guestfs(3) for full documentation.

Parameters:

this

A GuestfsSession object

optargs

a GuestfsMountLocal containing optional arguments

Returns:

true on success, false on error




2022 vala-language.org