switchroot

package
v1.5.6 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: MPL-2.0 Imports: 10 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