pmem

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Mount

func Mount(ctx context.Context, device uint32, target string) (err error)

Mount mounts the pmem device at `/dev/pmem<device>` to `target`.

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

Note: For now the platform only supports readonly pmem that is assumed to be `ext4`.

Types

This section is empty.

Jump to

Keyboard shortcuts

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