switchroot

package
v1.2.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2022 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Switch

func Switch(prefix string, mountpoints *mount.Points) (err error)

Switch moves the rootfs to a specified directory. See https://github.com/karelzak/util-linux/blob/master/sys-utils/switch_root.c.

Types

This section is empty.

Jump to

Keyboard shortcuts

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