Directories ¶
Path | Synopsis |
---|---|
Package acpi reads, modifies, and writes ACPI tables.
|
Package acpi reads, modifies, and writes ACPI tables. |
Package bb builds one busybox-like binary out of many Go command sources.
|
Package bb builds one busybox-like binary out of many Go command sources. |
bbmain
Package bbmain is the package imported by all rewritten busybox command-packages to register themselves.
|
Package bbmain is the package imported by all rewritten busybox command-packages to register themselves. |
bbmain/cmd
Package main is the busybox main.go template.
|
Package main is the busybox main.go template. |
Package boot is the high-level interface for booting another operating system from Linux using kexec.
|
Package boot is the high-level interface for booting another operating system from Linux using kexec. |
acpi
Package acpi can find and parse the RSDP pointer and struct.
|
Package acpi can find and parse the RSDP pointer and struct. |
bls
Package bls parses systemd Boot Loader Spec config files.
|
Package bls parses systemd Boot Loader Spec config files. |
bootcmd
Package bootcmd handles common cleanup functions and flags that all boot commands should support.
|
Package bootcmd handles common cleanup functions and flags that all boot commands should support. |
boottest
Package boottest contains methods for comparing boot.OSImages to each other and to JSON representations of themselves for use in tests.
|
Package boottest contains methods for comparing boot.OSImages to each other and to JSON representations of themselves for use in tests. |
bzimage
Package bzImage implements decoding for bzImage files.
|
Package bzImage implements decoding for bzImage files. |
ebda
Package ebda looks for the Extended Bios Data Area (EBDA) pointer in /dev/mem, and provides access to the EBDA.
|
Package ebda looks for the Extended Bios Data Area (EBDA) pointer in /dev/mem, and provides access to the EBDA. |
esxi
Package esxi contains an ESXi boot config parser for disks and CDROMs.
|
Package esxi contains an ESXi boot config parser for disks and CDROMs. |
grub
Package grub implements a grub config file parser.
|
Package grub implements a grub config file parser. |
ibft
Package ibft defines the iSCSI Boot Firmware Table.
|
Package ibft defines the iSCSI Boot Firmware Table. |
localboot
Package localboot contains helper functions for booting off local disks.
|
Package localboot contains helper functions for booting off local disks. |
menu
Package menu displays a Terminal UI based text menu to choose boot options from.
|
Package menu displays a Terminal UI based text menu to choose boot options from. |
multiboot
Package multiboot implements bootloading multiboot kernels as defined by https://www.gnu.org/software/grub/manual/multiboot/multiboot.html.
|
Package multiboot implements bootloading multiboot kernels as defined by https://www.gnu.org/software/grub/manual/multiboot/multiboot.html. |
multiboot/internal/trampoline
Package trampoline sets machine to a specific state defined by multiboot v1 spec and jumps to the intended kernel.
|
Package trampoline sets machine to a specific state defined by multiboot v1 spec and jumps to the intended kernel. |
netboot
Package netboot provides a one-stop shop for netboot parsing needs.
|
Package netboot provides a one-stop shop for netboot parsing needs. |
netboot/ipxe
Package ipxe implements a trivial IPXE config file parser.
|
Package ipxe implements a trivial IPXE config file parser. |
netboot/pxe
Package pxe implements the PXE config file parsing.
|
Package pxe implements the PXE config file parsing. |
syslinux
Package syslinux implements a syslinux config file parser.
|
Package syslinux implements a syslinux config file parser. |
zimage
Package zimage contains a Parser for the arm zImage Linux format.
|
Package zimage contains a Parser for the arm zImage Linux format. |
Package cmdline is parser for kernel command-line args from /proc/cmdline.
|
Package cmdline is parser for kernel command-line args from /proc/cmdline. |
Package cmos lets you read and write to cmos registers while doing basic checks on valid register selections.
|
Package cmos lets you read and write to cmos registers while doing basic checks on valid register selections. |
Package complete implements a simple completion package designed to be used in shells and other programs.
|
Package complete implements a simple completion package designed to be used in shells and other programs. |
Package cp implements routines to copy files.
|
Package cp implements routines to copy files. |
cmp
Package cmp compares trees of files.
|
Package cmp compares trees of files. |
Package cpio implements utilities for reading and writing cpio archives.
|
Package cpio implements utilities for reading and writing cpio archives. |
Package curl implements routines to fetch files given a URL.
|
Package curl implements routines to fetch files given a URL. |
Package dhclient allows for getting both DHCPv4 and DHCPv6 leases on multiple network interfaces in parallel.
|
Package dhclient allows for getting both DHCPv4 and DHCPv6 leases on multiple network interfaces in parallel. |
Package dt contains utilities for device tree.
|
Package dt contains utilities for device tree. |
Package find searches for files in a directory hierarchy recursively.
|
Package find searches for files in a directory hierarchy recursively. |
Package forth implements Forth parsing, which allows programs to use forth-like syntax to manipulate a stack of Cells.
|
Package forth implements Forth parsing, which allows programs to use forth-like syntax to manipulate a stack of Cells. |
Package golang is an API to the Go compiler.
|
Package golang is an API to the Go compiler. |
Package gpio provides functions for interacting with GPIO pins via the GPIO Sysfs Interface for Userspace.
|
Package gpio provides functions for interacting with GPIO pins via the GPIO Sysfs Interface for Userspace. |
Package ipmi implements functions to communicate with the OpenIPMI driver interface.
|
Package ipmi implements functions to communicate with the OpenIPMI driver interface. |
blobs
Package blobs implements OpenBMC IPMI Blob Protocol commands.
|
Package blobs implements OpenBMC IPMI Blob Protocol commands. |
ocp
Package ocp implements OCP/Facebook-specific IPMI client functions.
|
Package ocp implements OCP/Facebook-specific IPMI client functions. |
Package kexecbin offers a kexec API via a callout to kexec-tools.
|
Package kexecbin offers a kexec API via a callout to kexec-tools. |
Package kmodule interfaces with Linux kernel modules.
|
Package kmodule interfaces with Linux kernel modules. |
ldd returns all the library dependencies of an executable.
|
ldd returns all the library dependencies of an executable. |
Package libinit creates the environment and root file system for u-root.
|
Package libinit creates the environment and root file system for u-root. |
Package lockfile coordinates process-based file locking.
|
Package lockfile coordinates process-based file locking. |
Package ls implements formatting tools to list files like the Linux ls tool.
|
Package ls implements formatting tools to list files like the Linux ls tool. |
Package mei implements a wrapper on top of Linux's MEI (Intel ME Interface, formerly known as HECI).
|
Package mei implements a wrapper on top of Linux's MEI (Intel ME Interface, formerly known as HECI). |
Package mount implements mounting, moving, and unmounting file systems.
|
Package mount implements mounting, moving, and unmounting file systems. |
block
Package block finds, mounts, and modifies block devices on Linux systems.
|
Package block finds, mounts, and modifies block devices on Linux systems. |
gpt
Package gpt implements reading and writing of GUID Partition tables.
|
Package gpt implements reading and writing of GUID Partition tables. |
loop
Package loop provides an interface to interacting with Linux loop devices.
|
Package loop provides an interface to interacting with Linux loop devices. |
mtd
Chips are made by vendors, and an individual vendor is defined by a 1 to 8 byte vendor id stored in the chip.
|
Chips are made by vendors, and an individual vendor is defined by a 1 to 8 byte vendor id stored in the chip. |
scuzz
Package scuzz supports direct access to SCSI or SATA devices.
|
Package scuzz supports direct access to SCSI or SATA devices. |
This file contains support functions for msr access for Linux.
|
This file contains support functions for msr access for Linux. |
Package namespace parses name space description files https://plan9.io/magic/man2html/6/namespace
|
Package namespace parses name space description files https://plan9.io/magic/man2html/6/namespace |
Package pogosh implements a small POSIX-compatible shell.
|
Package pogosh implements a small POSIX-compatible shell. |
Package pty provides basic pty support.
|
Package pty provides basic pty support. |
Package qemu provides a Go API for starting QEMU VMs.
|
Package qemu provides a Go API for starting QEMU VMs. |
Package rand implements cancelable reads from a cryptographically safe random number source.
|
Package rand implements cancelable reads from a cryptographically safe random number source. |
Package securelaunch takes integrity measurements before launching the target system.
|
Package securelaunch takes integrity measurements before launching the target system. |
eventlog
Package eventlog parses kernel event logs and saves the parsed data on a file on disk.
|
Package eventlog parses kernel event logs and saves the parsed data on a file on disk. |
launcher
Package launcher boots the target kernel.
|
Package launcher boots the target kernel. |
measurement
Package measurement provides different collectors to hash files, disks, dmi info and cpuid info.
|
Package measurement provides different collectors to hash files, disks, dmi info and cpuid info. |
policy
Package policy locates and parses a JSON policy file.
|
Package policy locates and parses a JSON policy file. |
tpm
Package tpm reads and extends pcrs with measurements.
|
Package tpm reads and extends pcrs with measurements. |
Package shlex is a simplified command-line shell-like argument parser.
|
Package shlex is a simplified command-line shell-like argument parser. |
Package smbios parses SMBIOS tables into Go structures.
|
Package smbios parses SMBIOS tables into Go structures. |
strace traces Linux process events.
|
strace traces Linux process events. |
internal/abi
Package abi describes the interface between a kernel and userspace.
|
Package abi describes the interface between a kernel and userspace. |
internal/binary
Package binary translates between select fixed-sized types and a binary representation.
|
Package binary translates between select fixed-sized types and a binary representation. |
Package termios implements basic termios operations including getting a tty struct, termio struct, a winsize struct, and setting raw mode.
|
Package termios implements basic termios operations including getting a tty struct, termio struct, a winsize struct, and setting raw mode. |
Package ts contains a Transform to prepend a timestamp in front of each line.
|
Package ts contains a Transform to prepend a timestamp in front of each line. |
Package tss provides TPM 1.2/2.0 core functionality and abstraction layer for high-level functions
|
Package tss provides TPM 1.2/2.0 core functionality and abstraction layer for high-level functions |
Package ubinary provides a native endian binary.ByteOrder.
|
Package ubinary provides a native endian binary.ByteOrder. |
Package uefivars manipulates UEFI variables, and can encode and decode the mixed-endianness GUIDs used by UEFI (and MS).
|
Package uefivars manipulates UEFI variables, and can encode and decode the mixed-endianness GUIDs used by UEFI (and MS). |
boot
Package boot manipulates UEFI boot variables, and can identify and mount the volume referenced by a boot var.
|
Package boot manipulates UEFI boot variables, and can identify and mount the volume referenced by a boot var. |
vartest
Package vartest contains utility functions for testing uefivars and subpackages.
|
Package vartest contains utility functions for testing uefivars and subpackages. |
Package uflag supports u-root-custom flags as well as flag files.
|
Package uflag supports u-root-custom flags as well as flag files. |
Package uio unifies commonly used io utilities for u-root.
|
Package uio unifies commonly used io utilities for u-root. |
Package ulog exposes logging via a Go interface.
|
Package ulog exposes logging via a Go interface. |
ulogtest
Package ulogtest implement the Logger interface via a test's testing.TB.Logf.
|
Package ulogtest implement the Logger interface via a test's testing.TB.Logf. |
Package upath contains utilities for dealing with symlinked paths.
|
Package upath contains utilities for dealing with symlinked paths. |
Package uroot creates root file systems from Go programs.
|
Package uroot creates root file systems from Go programs. |
Package uzip contains utilities for file system->zip and zip->file system conversions.
|
Package uzip contains utilities for file system->zip and zip->file system conversions. |
Package vfile verifies files against a hash or signature.
|
Package vfile verifies files against a hash or signature. |
Click to show internal directories.
Click to hide internal directories.