efivarfs.txt 975 B

1234567891011121314151617181920212223
  1. efivarfs - a (U)EFI variable filesystem
  2. The efivarfs filesystem was created to address the shortcomings of
  3. using entries in sysfs to maintain EFI variables. The old sysfs EFI
  4. variables code only supported variables of up to 1024 bytes. This
  5. limitation existed in version 0.99 of the EFI specification, but was
  6. removed before any full releases. Since variables can now be larger
  7. than a single page, sysfs isn't the best interface for this.
  8. Variables can be created, deleted and modified with the efivarfs
  9. filesystem.
  10. efivarfs is typically mounted like this,
  11. mount -t efivarfs none /sys/firmware/efi/efivars
  12. Due to the presence of numerous firmware bugs where removing non-standard
  13. UEFI variables causes the system firmware to fail to POST, efivarfs
  14. files that are not well-known standardized variables are created
  15. as immutable files. This doesn't prevent removal - "chattr -i" will work -
  16. but it does prevent this kind of failure from being accomplished
  17. accidentally.