Documentation ¶
Overview ¶
Package mount implements mounts that get mapped into the snap
Snappy creates fstab like configuration files that describe what directories from the system or from other snaps should get mapped into the snap.
Each fstab like file looks like a regular fstab entry:
/src/dir /dst/dir none bind 0 0 /src/dir /dst/dir none bind,rw 0 0
but only bind mounts are supported
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend struct{}
Backend is responsible for maintaining mount files for snap-confine
func (*Backend) Remove ¶
Remove removes mount configuration files of a given snap.
This method should be called after removing a snap.
func (*Backend) Setup ¶
func (b *Backend) Setup(snapInfo *snap.Info, devMode bool, repo *interfaces.Repository) error
Setup creates mount mount profile files specific to a given snap.
Click to show internal directories.
Click to hide internal directories.