efivarfs
efivarfs is a Linux kernel virtual file system that exposes UEFI firmware variables to user space. It provides a standard, file-based interface for reading and, where permitted, writing the variables stored by the system firmware. The filesystem is typically mounted as efivarfs under the /sys/firmware/efi/efivars path and is used by many user-space utilities that manage EFI variables.
In efivarfs, each UEFI variable is represented by a separate file. The file names encode the variable’s
The interface is commonly used by system utilities and libraries such as libefivar, fwupd, and boot-management
efivarfs is available on systems with UEFI firmware and an EFI system partition, and it depends on