squashfuse

package module
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 25, 2025 License: MIT Imports: 11 Imported by: 0

README

squashfuse

This is a FUSE mounting library for my squashfs library that supports both Fuse2 and Fuse3.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ENODATA = fuse.ENODATA

Functions

This section is empty.

Types

type Fuse2Mount

type Fuse2Mount struct {
	// contains filtered or unexported fields
}

func (*Fuse2Mount) Mount

func (m *Fuse2Mount) Mount(mountpoint string) (err error)

Mounts the archive to the given mountpoint using fuse3. Non-blocking. If Unmount does not get called, the mount point must be unmounted using umount before the directory can be used again.

func (*Fuse2Mount) MountWait

func (m *Fuse2Mount) MountWait()

Blocks until the mount ends.

func (*Fuse2Mount) Unmount

func (m *Fuse2Mount) Unmount() error

Unmounts the archive.

type Mount

type Mount struct {
	// contains filtered or unexported fields
}

func NewFuse2Mount

func NewFuse2Mount(r *squashfs.Reader) *Mount

func NewFuse2MountFromLow

func NewFuse2MountFromLow(r *squashfslow.Reader) *Mount

func NewMount

func NewMount(r *squashfs.Reader) *Mount

func NewMountFromLow

func NewMountFromLow(r *squashfslow.Reader) *Mount

func (*Mount) Mount

func (m *Mount) Mount(mountpoint string) (err error)

Mounts the archive to the given mountpoint using fuse3. Non-blocking. If Unmount does not get called, the mount point must be unmounted using umount before the directory can be used again.

func (*Mount) MountWait

func (m *Mount) MountWait()

Blocks until the mount ends.

func (*Mount) Unmount

func (m *Mount) Unmount() error

Unmounts the archive.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL