Skip to content

uefi

EFI System Partition (FAT-based).

Implements filesystem.Filesystem. No cgo, no root.

Warning

A UEFI variable store, not a POSIX filesystem.

Status

Read Write Format Label Symlinks On-disk format
OVMF/EDK2 NvVar variable store (non-authenticated)

Supported

  • Create a fresh store (Format / FormatOVMF)
  • List / Get / Set / Delete UEFI variables (atomic rewrite)
  • Secure Boot key enrolment (PK, KEK, db, dbx)
  • Exposed via filesystem.Filesystem (variable = file)

Not implemented

  • Time-based authenticated writes not supported
  • MkDir / DeleteDir / ReadLink return "not supported" (a store, not a tree)

Install

go get github.com/go-filesystems/uefi

Note

See the module's README for full, up-to-date details.