...

Package plan9

import "github.com/Microsoft/hcsshim/internal/guest/storage/plan9"
Overview
Index

Overview ▾

func Mount

func Mount(ctx context.Context, vsock transport.Transport, target, share string, port uint32, readonly bool) (err error)

Mount dials a connection from `vsock` and mounts a Plan9 share to `target`.

`target` will be created. On mount failure the created `target` will be automatically cleaned up.