switchroot

package
v1.9.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package switchroot provides the switching root filesystem functionality.

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