initrd

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFileToInitrd

func AddFileToInitrd(oldInitrd string, data string, name string) error

func CopyFileMountsToInitrd

func CopyFileMountsToInitrd(oldInitrd string, mounts []specs.Mount) error

func CopyFileToInitrd

func CopyFileToInitrd(w *cpio.Writer, srcFile string, destFile string) error

func MergeFileMountsIntoInitrd added in v0.8.0

func MergeFileMountsIntoInitrd(oldInitrd string, mounts []specs.Mount) (retErr error)

MergeFileMountsIntoInitrd adds regular-file bind mounts before the trailer of an uncompressed newc archive. The archive is fully parsed before the disposable initrd is updated in place.

Types

This section is empty.

Jump to

Keyboard shortcuts

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