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/ReadLinkreturn "not supported" (a store, not a tree)
Install
go get github.com/go-filesystems/uefi
- Source: https://github.com/go-filesystems/uefi
- API reference: https://pkg.go.dev/github.com/go-filesystems/uefi
Note
See the module's README for full, up-to-date details.