Documentation
¶
There is no documentation for this package.
Directories
¶
Path | Synopsis |
---|---|
cmds
|
|
boot/boot
command
|
|
boot/fbnetboot
command
|
|
boot/localboot
command
|
|
boot/pxeboot
command
Command pxeboot implements PXE-based booting.
|
Command pxeboot implements PXE-based booting. |
boot/stboot
command
|
|
boot/systemboot
command
|
|
core/basename
command
Basename return name with leading path information removed.
|
Basename return name with leading path information removed. |
core/cat
command
cat concatenates files and prints them to stdout.
|
cat concatenates files and prints them to stdout. |
core/chmod
command
chmod changes mode bits (e.g.
|
chmod changes mode bits (e.g. |
core/chroot
command
|
|
core/cmp
command
cmp compares two files and prints a message if their contents differ.
|
cmp compares two files and prints a message if their contents differ. |
core/comm
command
comm compares two files.
|
comm compares two files. |
core/cp
command
cp copies files.
|
cp copies files. |
core/cpio
command
cpio operates on cpio files using a cpio package It only implements basic cpio options.
|
cpio operates on cpio files using a cpio package It only implements basic cpio options. |
core/date
command
date prints the date.
|
date prints the date. |
core/dd
command
dd converts and copies a file.
|
dd converts and copies a file. |
core/df
command
df reports details of mounted filesystems.
|
df reports details of mounted filesystems. |
core/dhclient
command
dhclient sets up network config using DHCP.
|
dhclient sets up network config using DHCP. |
core/dirname
command
dirname prints out the directory name of one or more args.
|
dirname prints out the directory name of one or more args. |
core/dmesg
command
dmesg reads the system log.
|
dmesg reads the system log. |
core/echo
command
echo writes its arguments separated by blanks and terminated by a newline on the standard output.
|
echo writes its arguments separated by blanks and terminated by a newline on the standard output. |
core/elvish
command
Elvish is a cross-platform shell, supporting Linux, BSDs and Windows.
|
Elvish is a cross-platform shell, supporting Linux, BSDs and Windows. |
core/elvish/build
Package build contains build information.
|
Package build contains build information. |
core/elvish/edit
Package edit implements a command line editor.
|
Package edit implements a command line editor. |
core/elvish/edit/eddefs
Package eddefs contains types used in the Editor.
|
Package eddefs contains types used in the Editor. |
core/elvish/edit/highlight
Package highlight implements syntax highlighting for Elvish code.
|
Package highlight implements syntax highlighting for Elvish code. |
core/elvish/edit/location
Package location implements the location mode for the editor.
|
Package location implements the location mode for the editor. |
core/elvish/edit/prompt
Package prompt implements the prompt subsystem of the editor.
|
Package prompt implements the prompt subsystem of the editor. |
core/elvish/edit/tty
Package tty provides terminal functionality for the Elvish editor.
|
Package tty provides terminal functionality for the Elvish editor. |
core/elvish/edit/ui
Package ui contains types that may be used by different editor frontends.
|
Package ui contains types that may be used by different editor frontends. |
core/elvish/eval
Package eval handles evaluation of parsed Elvish code and provides runtime facilities.
|
Package eval handles evaluation of parsed Elvish code and provides runtime facilities. |
core/elvish/eval/bundled
Package bundled keeps bundled modules.
|
Package bundled keeps bundled modules. |
core/elvish/eval/vals
Package vals contains basic facilities for manipulating values used in the Elvish runtime.
|
Package vals contains basic facilities for manipulating values used in the Elvish runtime. |
core/elvish/eval/vars
Package vars contains basic types for manipulating Elvish variables.
|
Package vars contains basic types for manipulating Elvish variables. |
core/elvish/getopt
Package getopt implements a command-line argument parser.
|
Package getopt implements a command-line argument parser. |
core/elvish/glob
Package glob implements globbing for elvish.
|
Package glob implements globbing for elvish. |
core/elvish/parse
Package parse implements the elvish parser.
|
Package parse implements the elvish parser. |
core/elvish/parse/parseutil
Package parseutil contains utilities built on top of the parse package.
|
Package parseutil contains utilities built on top of the parse package. |
core/elvish/program
Package program provides the entry point to Elvish.
|
Package program provides the entry point to Elvish. |
core/elvish/program/shell
Package shell is the entry point for the terminal interface of Elvish.
|
Package shell is the entry point for the terminal interface of Elvish. |
core/elvish/runtime
Package runtime assembles the Elvish runtime.
|
Package runtime assembles the Elvish runtime. |
core/elvish/store/storedefs
Package storedefs contains definitions used by the store package.
|
Package storedefs contains definitions used by the store package. |
core/elvish/sys
Package sys provide convenient wrappers around syscalls.
|
Package sys provide convenient wrappers around syscalls. |
core/elvish/tt
Package tt supports table-driven tests with little boilerplate.
|
Package tt supports table-driven tests with little boilerplate. |
core/elvish/util
Package util contains utility functions.
|
Package util contains utility functions. |
core/false
command
false returns 1.
|
false returns 1. |
core/find
command
Find finds files.
|
Find finds files. |
core/free
command
free reports usage information for physical memory and swap space.
|
free reports usage information for physical memory and swap space. |
core/fusermount
command
fusermount is a very limited replacement for the C fusermount.
|
fusermount is a very limited replacement for the C fusermount. |
core/gpgv
command
gpgv validates a signature against a file.
|
gpgv validates a signature against a file. |
core/gpt
command
gpt reads and writes GPT headers.
|
gpt reads and writes GPT headers. |
core/grep
command
grep searches file contents using regular expressions.
|
grep searches file contents using regular expressions. |
core/gzip
command
gzip compresses files using gzip compression.
|
gzip compresses files using gzip compression. |
core/hexdump
command
hexdump prints file content in hexadecimal.
|
hexdump prints file content in hexadecimal. |
core/hostname
command
hostname prints or changes the system's hostname.
|
hostname prints or changes the system's hostname. |
core/hwclock
command
hwclock reads or changes the hardware clock (RTC) in UTC format.
|
hwclock reads or changes the hardware clock (RTC) in UTC format. |
core/id
command
id displays the user id, group id, and groups of the calling process.
|
id displays the user id, group id, and groups of the calling process. |
core/init
command
init is u-root's standard userspace init process.
|
init is u-root's standard userspace init process. |
core/insmod
command
insmod inserts a module into the running Linux kernel.
|
insmod inserts a module into the running Linux kernel. |
core/installcommand
command
installcommand installs a command from Go source files.
|
installcommand installs a command from Go source files. |
core/io
command
io reads and writes to physical memory and ports.
|
io reads and writes to physical memory and ports. |
core/ip
command
ip manipulates network addresses, interfaces, routing, and other config.
|
ip manipulates network addresses, interfaces, routing, and other config. |
core/kexec
command
kexec executes a new kernel over the running kernel (u-root).
|
kexec executes a new kernel over the running kernel (u-root). |
core/kill
command
Kill kills processes.
|
Kill kills processes. |
core/lddfiles
command
lddfiles prints the arguments and all .so dependencies of those arguments Description: lddfiles prints the arguments on the command line and all .so's on which they depend.
|
lddfiles prints the arguments and all .so dependencies of those arguments Description: lddfiles prints the arguments on the command line and all .so's on which they depend. |
core/ln
command
Ln makes links to files.
|
Ln makes links to files. |
core/lockmsrs
command
lockmsrs locks important intel MSRs.
|
lockmsrs locks important intel MSRs. |
core/losetup
command
losetup sets up and controls loop devices.
|
losetup sets up and controls loop devices. |
core/ls
command
ls prints the contents of a directory.
|
ls prints the contents of a directory. |
core/lsdrivers
command
lsdrivers lists driver usage on Linux systems Synopsis: lsdrivers [-u] Description: List driver usage.
|
lsdrivers lists driver usage on Linux systems Synopsis: lsdrivers [-u] Description: List driver usage. |
core/lsmod
command
lsmod list currently loaded Linux kernel modules.
|
lsmod list currently loaded Linux kernel modules. |
core/man
command
man - print manual entry for command.
|
man - print manual entry for command. |
core/man/data
Code generated by man/gen/gen.go.
|
Code generated by man/gen/gen.go. |
core/man/gen
command
|
|
core/md5sum
command
md5sum prints an md5 hash generated from file contents.
|
md5sum prints an md5 hash generated from file contents. |
core/mkdir
command
mkdir makes a new directory.
|
mkdir makes a new directory. |
core/mkfifo
command
mkfifo creates a named pipe.
|
mkfifo creates a named pipe. |
core/mknod
command
Unmount a filesystem at the specified path.
|
Unmount a filesystem at the specified path. |
core/mktemp
command
Mktemp makes a temporary file (or directory) Synopsis: mktemp [OPTION]...
|
Mktemp makes a temporary file (or directory) Synopsis: mktemp [OPTION]... |
core/more
command
More pages through files without any terminal trickery.
|
More pages through files without any terminal trickery. |
core/mount
command
mount mounts a filesystem at the specified path.
|
mount mounts a filesystem at the specified path. |
core/msr
command
msr -- read and write MSRs with regular command or Forth Synopsis: msr [OPTIONS] r glob MSR msr [OPTIONS] w glob MSR value msr [OPTIONS] forth-word [forth-word ...] Description: This program reads and writes sets of MSRs, while allowing them to by changed on a core by core or collective basis.
|
msr -- read and write MSRs with regular command or Forth Synopsis: msr [OPTIONS] r glob MSR msr [OPTIONS] w glob MSR value msr [OPTIONS] forth-word [forth-word ...] Description: This program reads and writes sets of MSRs, while allowing them to by changed on a core by core or collective basis. |
core/mv
command
mv renames files and directories.
|
mv renames files and directories. |
core/netcat
command
netcat creates arbitrary TCP and UDP connections and listens and sends arbitrary data.
|
netcat creates arbitrary TCP and UDP connections and listens and sends arbitrary data. |
core/ntpdate
command
ntpdate uses NTP to adjust the system clock.
|
ntpdate uses NTP to adjust the system clock. |
core/pci
command
pci: show pci bus vendor ids and other info Description: List the PCI bus, with names if possible.
|
pci: show pci bus vendor ids and other info Description: List the PCI bus, with names if possible. |
core/ping
command
Send icmp packets to a server to test network connectivity.
|
Send icmp packets to a server to test network connectivity. |
core/printenv
command
Print environment variables.
|
Print environment variables. |
core/ps
command
Print process information.
|
Print process information. |
core/pwd
command
Print name of current directory.
|
Print name of current directory. |
core/readlink
command
readlink display value of symbolic link file.
|
readlink display value of symbolic link file. |
core/rm
command
Delete files.
|
Delete files. |
core/rmmod
command
Remove a module from the Linux kernel Synopsis: rmmod name Description: rmmod is a clone of rmmod(8) Author: Roland Kammerer <dev.rck@gmail.com>
|
Remove a module from the Linux kernel Synopsis: rmmod name Description: rmmod is a clone of rmmod(8) Author: Roland Kammerer <dev.rck@gmail.com> |
core/rsdp
command
rsdp allows to determine the ACPI RSDP structure address which could be passed to the boot command later on It must be executed at the system init as it relies on scanning the kernel messages which could be quickly filled up in some cases Synopsis: rsdp [-f file] Description: Look for rsdp value in a file, default /dev/kmsg Example: rsdp rsdp -f /path/to/file
|
rsdp allows to determine the ACPI RSDP structure address which could be passed to the boot command later on It must be executed at the system init as it relies on scanning the kernel messages which could be quickly filled up in some cases Synopsis: rsdp [-f file] Description: Look for rsdp value in a file, default /dev/kmsg Example: rsdp rsdp -f /path/to/file |
core/scp
command
Scp copies files between hosts on a network.
|
Scp copies files between hosts on a network. |
core/seq
command
Print a sequence of numbers.
|
Print a sequence of numbers. |
core/shasum
command
|
|
core/shutdown
command
shutdown halts, suspends, or reboots.
|
shutdown halts, suspends, or reboots. |
core/sleep
command
Delay for the specified amount of time.
|
Delay for the specified amount of time. |
core/sluinit
command
|
|
core/sort
command
Sort lines.
|
Sort lines. |
core/sshd
command
|
|
core/strace
command
strace is a simple multi-process syscall & signal tracer.
|
strace is a simple multi-process syscall & signal tracer. |
core/strings
command
Strings finds printable strings.
|
Strings finds printable strings. |
core/stty
command
The command works like this: stty [verb] [options] Verbs are: dump -- dump the json of the struct to stdout load -- read a json file from stdin and use it to set raw -- convenience command to set raw cooked -- convenience command to set cooked In common stty usage, options may be specified without a verb.
|
The command works like this: stty [verb] [options] Verbs are: dump -- dump the json of the struct to stdout load -- read a json file from stdin and use it to set raw -- convenience command to set raw cooked -- convenience command to set cooked In common stty usage, options may be specified without a verb. |
core/switch_root
command
|
|
core/sync
command
|
|
core/tail
command
|
|
core/tar
command
Create and extract tar archives.
|
Create and extract tar archives. |
core/tee
command
Tee transcribes the standard input to the standard output and makes copies in the files.
|
Tee transcribes the standard input to the standard output and makes copies in the files. |
core/tr
command
|
|
core/true
command
Returns 0.
|
Returns 0. |
core/truncate
command
Truncate - shrink or extend the size of a file to the specified size Synopsis: truncate [OPTIONS] [FILE]...
|
Truncate - shrink or extend the size of a file to the specified size Synopsis: truncate [OPTIONS] [FILE]... |
core/ts
command
ts prepends each line of stdin with a timestamp.
|
ts prepends each line of stdin with a timestamp. |
core/umount
command
Unmount a filesystem at the specified path.
|
Unmount a filesystem at the specified path. |
core/uname
command
Print build information about the kernel and machine.
|
Print build information about the kernel and machine. |
core/uniq
command
Uniq removes repeated lines.
|
Uniq removes repeated lines. |
core/unmount
command
Unmount unmounts new from old, or everything mounted on old if new is omitted.
|
Unmount unmounts new from old, or everything mounted on old if new is omitted. |
core/unshare
command
Disassociate parts of the process execution context.
|
Disassociate parts of the process execution context. |
core/uptime
command
Get the time the machine has been up Synopsis: uptime
|
Get the time the machine has been up Synopsis: uptime |
core/wc
command
Wc counts lines, words, runes, syntactically–invalid UTF codes.
|
Wc counts lines, words, runes, syntactically–invalid UTF codes. |
core/wget
command
Wget reads one file from a url and writes to stdout.
|
Wget reads one file from a url and writes to stdout. |
core/which
command
Which locates a command.
|
Which locates a command. |
core/yes
command
|
|
exp/acpicat
command
acpicat cats ACPI tables from the kernel.
|
acpicat cats ACPI tables from the kernel. |
exp/acpigrep
command
grep a stream of ACPI tables by regexp Synopsis: acpigrep [-v] [-d] regexp Description: Read tables from stdin and write tables with ACPI signatures matching a pattern (or not matching, with -v, as in grep) to stdout.
|
grep a stream of ACPI tables by regexp Synopsis: acpigrep [-v] [-d] regexp Description: Read tables from stdin and write tables with ACPI signatures matching a pattern (or not matching, with -v, as in grep) to stdout. |
exp/ansi
command
Print ansi escape sequences.
|
Print ansi escape sequences. |
exp/ash
command
our first builtin: cd The u-root shell is intended to be very simple, since builtins and extensions are written in Go.
|
our first builtin: cd The u-root shell is intended to be very simple, since builtins and extensions are written in Go. |
exp/bootvars
command
Command bootvars reads the current UEFI boot variables.
|
Command bootvars reads the current UEFI boot variables. |
exp/builtin
command
|
|
exp/bzimage
command
bzImage is used to modify bzImage files.
|
bzImage is used to modify bzImage files. |
exp/cbmem
command
cbmem prints out coreboot mem table information in JSON by default, and also implements the basic cbmem -list and -console commands.
|
cbmem prints out coreboot mem table information in JSON by default, and also implements the basic cbmem -list and -console commands. |
exp/cksum
command
|
|
exp/console
command
console implements a basic console.
|
console implements a basic console. |
exp/crc
command
Prints crc checksum of a file.
|
Prints crc checksum of a file. |
exp/disk_unlock
command
The disk_unlock command is used to unlock a disk drive as follows: 1.
|
The disk_unlock command is used to unlock a disk drive as follows: 1. |
exp/dmidecode
command
|
|
exp/ectool
command
These should all implement io.ReadAt, with the address as the Offset; same for WriteAt.
|
These should all implement io.ReadAt, with the address as the Offset; same for WriteAt. |
exp/ed
command
address.go - contains methods for FileBuffer for line address resolution commands.go - defines editor commands This `ed` is intended to be a feature-complete mimick of [GNU Ed](https://www.gnu.org/software/ed//).
|
address.go - contains methods for FileBuffer for line address resolution commands.go - defines editor commands This `ed` is intended to be a feature-complete mimick of [GNU Ed](https://www.gnu.org/software/ed//). |
exp/esxiboot
command
|
|
exp/fdtdump
command
fdtdump prints a readable version of Flattened Device Tree or dtb.
|
fdtdump prints a readable version of Flattened Device Tree or dtb. |
exp/field
command
The `field` command reads newline-separated lines of data from either the standard input or the specified files.
|
The `field` command reads newline-separated lines of data from either the standard input or the specified files. |
exp/fixrsdp
command
fixrsdp copies the existing RSDP into the EBDA region in low mem.
|
fixrsdp copies the existing RSDP into the EBDA region in low mem. |
exp/forth
command
Forth is a forth interpreter.
|
Forth is a forth interpreter. |
exp/freq
command
Freq reads the given files (default standard input) and prints histograms of the character frequencies.
|
Freq reads the given files (default standard input) and prints histograms of the character frequencies. |
exp/getty
command
getty Open a TTY and invoke a shell There are no special options and no login support Also getty exits after starting the shell so if one exits the shell, there is no more shell! Synopsis: getty <port> <baud> [term]
|
getty Open a TTY and invoke a shell There are no special options and no login support Also getty exits after starting the shell so if one exits the shell, there is no more shell! Synopsis: getty <port> <baud> [term] |
exp/hdparm
command
hdparm performs control operations on disks.
|
hdparm performs control operations on disks. |
exp/ipmidump
command
Synopsis: ipmidump [-option] Description: Options: -chassis : Print chassis power status.
|
Synopsis: ipmidump [-option] Description: Options: -chassis : Print chassis power status. |
exp/madeye
command
madeye merges multiple architecture u-root initramfs to form a single universal initramfs.
|
madeye merges multiple architecture u-root initramfs to form a single universal initramfs. |
exp/modprobe
command
modprobe - Add and remove modules from the Linux Kernel Synopsis: modprobe [-n] modulename [parameters...] modprobe [-n] -a modulename...
|
modprobe - Add and remove modules from the Linux Kernel Synopsis: modprobe [-n] modulename [parameters...] modprobe [-n] -a modulename... |
exp/newsshd
command
|
|
exp/page
command
Synopsis: page [file] Description: page prints a page at a time to stdout from either stdin or a named file.
|
Synopsis: page [file] Description: page prints a page at a time to stdout from either stdin or a named file. |
exp/partprobe
command
partprobe prompts the OS to re-read partition tables.
|
partprobe prompts the OS to re-read partition tables. |
exp/pflask
command
|
|
exp/pogosh
command
|
|
exp/pox
command
pox builds a portable executable as a squashfs image.
|
pox builds a portable executable as a squashfs image. |
exp/pxeserver
command
pxeserver is a test & lab PXE server that supports TFTP, HTTP, and DHCPv4.
|
pxeserver is a test & lab PXE server that supports TFTP, HTTP, and DHCPv4. |
exp/readpe
command
Dump the headers of a PE file.
|
Dump the headers of a PE file. |
exp/run
command
Run executes its arguments as a Go program.
|
Run executes its arguments as a Go program. |
exp/rush
command
our first builtin: cd The u-root shell is intended to be very simple, since builtins and extensions are written in Go.
|
our first builtin: cd The u-root shell is intended to be very simple, since builtins and extensions are written in Go. |
exp/smn
command
smn: read or write registers in the System Management Network on AMD cpus Synopsis: snm [0 or more addresses] N.B. having no addresses is an easy way to see if you can access PCI at all.
|
smn: read or write registers in the System Management Network on AMD cpus Synopsis: snm [0 or more addresses] N.B. having no addresses is an easy way to see if you can access PCI at all. |
exp/srvfiles
command
Serve files on the network.
|
Serve files on the network. |
exp/tac
command
tac concatenates files and prints to stdout in reverse order, file by file Synopsis: tac <file...> Description: Options:
|
tac concatenates files and prints to stdout in reverse order, file by file Synopsis: tac <file...> Description: Options: |
exp/tcz
command
|
|
exp/validate
command
This program validates a file by verifying a checksum and a signature file.
|
This program validates a file by verifying a checksum and a signature file. |
exp/vboot
command
|
|
exp/zimage
command
zimage dumps the header of a zImage.
|
zimage dumps the header of a zImage. |
examples
|
|
fixmynetboot
command
|
|
uinit
command
This is a basic init script.
|
This is a basic init script. |
integration
|
|
testcmd/generic/uinit
command
|
|
testcmd/gotest/uinit
command
|
|
testcmd/helloworld/uinit
command
|
|
pkg
|
|
acpi
Package acpi reads, modifies, and writes ACPI tables.
|
Package acpi reads, modifies, and writes ACPI tables. |
bb
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. |
bb/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. |
bb/bbmain/cmd
command
Package main is the busybox main.go template.
|
Package main is the busybox main.go template. |
boot
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. |
boot/acpi
Package acpi can find and parse the RSDP pointer and struct.
|
Package acpi can find and parse the RSDP pointer and struct. |
boot/bls
Package bls parses systemd Boot Loader Spec config files.
|
Package bls parses systemd Boot Loader Spec config files. |
boot/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. |
boot/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. |
boot/bzimage
Package bzImage implements decoding for bzImage files.
|
Package bzImage implements decoding for bzImage files. |
boot/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. |
boot/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. |
boot/grub
Package grub implements a grub config file parser.
|
Package grub implements a grub config file parser. |
boot/ibft
Package ibft defines the iSCSI Boot Firmware Table.
|
Package ibft defines the iSCSI Boot Firmware Table. |
boot/localboot
Package localboot contains helper functions for booting off local disks.
|
Package localboot contains helper functions for booting off local disks. |
boot/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. |
boot/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. |
boot/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. |
boot/netboot
Package netboot provides a one-stop shop for netboot parsing needs.
|
Package netboot provides a one-stop shop for netboot parsing needs. |
boot/netboot/ipxe
Package ipxe implements a trivial IPXE config file parser.
|
Package ipxe implements a trivial IPXE config file parser. |
boot/netboot/pxe
Package pxe implements the PXE config file parsing.
|
Package pxe implements the PXE config file parsing. |
boot/syslinux
Package syslinux implements a syslinux config file parser.
|
Package syslinux implements a syslinux config file parser. |
boot/zimage
Package zimage contains a Parser for the arm zImage Linux format.
|
Package zimage contains a Parser for the arm zImage Linux format. |
cmdline
Package cmdline is parser for kernel command-line args from /proc/cmdline.
|
Package cmdline is parser for kernel command-line args from /proc/cmdline. |
cmos
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. |
complete
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. |
cp
Package cp implements routines to copy files.
|
Package cp implements routines to copy files. |
cp/cmp
Package cmp compares trees of files.
|
Package cmp compares trees of files. |
cpio
Package cpio implements utilities for reading and writing cpio archives.
|
Package cpio implements utilities for reading and writing cpio archives. |
curl
Package curl implements routines to fetch files given a URL.
|
Package curl implements routines to fetch files given a URL. |
dhclient
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. |
dt
Package dt contains utilities for device tree.
|
Package dt contains utilities for device tree. |
find
Package find searches for files in a directory hierarchy recursively.
|
Package find searches for files in a directory hierarchy recursively. |
forth
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. |
golang
Package golang is an API to the Go compiler.
|
Package golang is an API to the Go compiler. |
gpio
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. |
ipmi
Package ipmi implements functions to communicate with the OpenIPMI driver interface.
|
Package ipmi implements functions to communicate with the OpenIPMI driver interface. |
ipmi/blobs
Package blobs implements OpenBMC IPMI Blob Protocol commands.
|
Package blobs implements OpenBMC IPMI Blob Protocol commands. |
ipmi/ocp
Package ocp implements OCP/Facebook-specific IPMI client functions.
|
Package ocp implements OCP/Facebook-specific IPMI client functions. |
kexecbin
Package kexecbin offers a kexec API via a callout to kexec-tools.
|
Package kexecbin offers a kexec API via a callout to kexec-tools. |
kmodule
Package kmodule interfaces with Linux kernel modules.
|
Package kmodule interfaces with Linux kernel modules. |
ldd
ldd returns all the library dependencies of an executable.
|
ldd returns all the library dependencies of an executable. |
libinit
Package libinit creates the environment and root file system for u-root.
|
Package libinit creates the environment and root file system for u-root. |
lockfile
Package lockfile coordinates process-based file locking.
|
Package lockfile coordinates process-based file locking. |
ls
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. |
mei
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). |
mount
Package mount implements mounting, moving, and unmounting file systems.
|
Package mount implements mounting, moving, and unmounting file systems. |
mount/block
Package block finds, mounts, and modifies block devices on Linux systems.
|
Package block finds, mounts, and modifies block devices on Linux systems. |
mount/gpt
Package gpt implements reading and writing of GUID Partition tables.
|
Package gpt implements reading and writing of GUID Partition tables. |
mount/loop
Package loop provides an interface to interacting with Linux loop devices.
|
Package loop provides an interface to interacting with Linux loop devices. |
mount/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. |
mount/scuzz
Package scuzz supports direct access to SCSI or SATA devices.
|
Package scuzz supports direct access to SCSI or SATA devices. |
msr
This file contains support functions for msr access for Linux.
|
This file contains support functions for msr access for Linux. |
namespace
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 |
pogosh
Package pogosh implements a small POSIX-compatible shell.
|
Package pogosh implements a small POSIX-compatible shell. |
pty
Package pty provides basic pty support.
|
Package pty provides basic pty support. |
qemu
Package qemu provides a Go API for starting QEMU VMs.
|
Package qemu provides a Go API for starting QEMU VMs. |
rand
Package rand implements cancelable reads from a cryptographically safe random number source.
|
Package rand implements cancelable reads from a cryptographically safe random number source. |
securelaunch
Package securelaunch takes integrity measurements before launching the target system.
|
Package securelaunch takes integrity measurements before launching the target system. |
securelaunch/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. |
securelaunch/launcher
Package launcher boots the target kernel.
|
Package launcher boots the target kernel. |
securelaunch/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. |
securelaunch/policy
Package policy locates and parses a JSON policy file.
|
Package policy locates and parses a JSON policy file. |
securelaunch/tpm
Package tpm reads and extends pcrs with measurements.
|
Package tpm reads and extends pcrs with measurements. |
shlex
Package shlex is a simplified command-line shell-like argument parser.
|
Package shlex is a simplified command-line shell-like argument parser. |
smbios
Package smbios parses SMBIOS tables into Go structures.
|
Package smbios parses SMBIOS tables into Go structures. |
strace
strace traces Linux process events.
|
strace traces Linux process events. |
strace/internal/abi
Package abi describes the interface between a kernel and userspace.
|
Package abi describes the interface between a kernel and userspace. |
strace/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. |
termios
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. |
ts
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. |
tss
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 |
ubinary
Package ubinary provides a native endian binary.ByteOrder.
|
Package ubinary provides a native endian binary.ByteOrder. |
uefivars
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). |
uefivars/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. |
uefivars/vartest
Package vartest contains utility functions for testing uefivars and subpackages.
|
Package vartest contains utility functions for testing uefivars and subpackages. |
uflag
Package uflag supports u-root-custom flags as well as flag files.
|
Package uflag supports u-root-custom flags as well as flag files. |
uio
Package uio unifies commonly used io utilities for u-root.
|
Package uio unifies commonly used io utilities for u-root. |
ulog
Package ulog exposes logging via a Go interface.
|
Package ulog exposes logging via a Go interface. |
ulog/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. |
upath
Package upath contains utilities for dealing with symlinked paths.
|
Package upath contains utilities for dealing with symlinked paths. |
uroot
Package uroot creates root file systems from Go programs.
|
Package uroot creates root file systems from Go programs. |
uroot/test/foo
command
|
|
uroot/test/gopath1/src/foo
command
|
|
uroot/test/gopath1/src/os
command
|
|
uroot/test/gopath2/src/mypkga
command
|
|
uroot/test/gopath2/src/mypkgb
command
|
|
uzip
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. |
vfile
Package vfile verifies files against a hash or signature.
|
Package vfile verifies files against a hash or signature. |
tools
|
|
build_perf
command
Measure the performance of building all the Go commands under various GOGC values.
|
Measure the performance of building all the Go commands under various GOGC values. |
checklicenses
command
Run with `go run checklicenses.go`.
|
Run with `go run checklicenses.go`. |
makebb
command
makebb compiles many Go commands into one bb-style binary.
|
makebb compiles many Go commands into one bb-style binary. |
makebbmain
command
makebbmain creates a bb main.go source file.
|
makebbmain creates a bb main.go source file. |
mkinitramfs
mkinitramfs creates a u-root initramfs given the list of files on the command line.
|
mkinitramfs creates a u-root initramfs given the list of files on the command line. |
stconfig
command
|
|
testramfs
command
testramfs tests things, badly
|
testramfs tests things, badly |
vpdbootmanager
command
|
Click to show internal directories.
Click to hide internal directories.