Documentation ¶
Overview ¶
Dislocker functions.
FMount functions.
LoSetup functions.
LsBlk functions.
Mount functions.
Umount functions.
Index ¶
- Constants
- func BaseFile(name string) string
- func CreateDirf(root, m string, a ...any) (dir string, err error)
- func CreateMount(img, mnt string) error
- func CreateSymlink(dev, mnt string) error
- func Dev(loop string) string
- func DislockerFuse(dev, key, dir string) (err error)
- func DislockerInfo(dev string) (ids []string, err error)
- func FollowSymlink(dev string) (src string, err error)
- func IsEncrypted(dev string) (is bool, err error)
- func LoSetupAttach(img string) (dev string, err error)
- func LoSetupDetach(dev string) (err error)
- func LoSetupList(img string) (ls []string, err error)
- func Loops(img string) (loops []string, err error)
- func LsBlk(dev, col string) (ls []string, err error)
- func Mount(dev, dir string, lo bool) (err error)
- func Mounts(dev string) (mnts []string, err error)
- func Parts(dev string) (parts []string, err error)
- func RemoveDirs(dir string) (err error)
- func RemoveSymlink(dev string) error
- func UmountDev(dev string) (err error)
- func UmountDir(dir string) (err error)
Constants ¶
View Source
const (
DislockerDev = "dislocker-file"
)
View Source
const (
SymlinkPath = "/tmp/fmount"
)
Variables ¶
This section is empty.
Functions ¶
func CreateDirf ¶ added in v0.19.0
func CreateMount ¶ added in v0.19.0
func CreateSymlink ¶ added in v0.19.0
func DislockerFuse ¶
func DislockerInfo ¶
func FollowSymlink ¶ added in v0.19.0
func IsEncrypted ¶
func LoSetupAttach ¶
func LoSetupDetach ¶
func LoSetupList ¶
func RemoveDirs ¶
func RemoveSymlink ¶ added in v0.19.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.