juju: github.com/juju/juju/storage/looputil Index | Files

package looputil

import "github.com/juju/juju/storage/looputil"


Package Files

inode_linux.go loop.go

type LoopDeviceManager Uses

type LoopDeviceManager interface {
    // DetachLoopDevices detaches loop devices that are backed by files
    // inside the given root filesystem with the given prefix.
    DetachLoopDevices(rootfs, prefix string) error

LoopDeviceManager is an API for dealing with storage loop devices.

func NewLoopDeviceManager Uses

func NewLoopDeviceManager() LoopDeviceManager

NewLoopDeviceManager returns a new LoopDeviceManager for dealing with storage loop devices on the local machine.

Package looputil imports 10 packages (graph) and is imported by 83 packages. Updated 2016-08-28. Refresh now. Tools for package owners.