Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] efivarfs vs sysfs-efivars
@ 2021-11-17 17:53 dkwo
  2021-11-18 10:45 ` dkwo
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: dkwo @ 2021-11-17 17:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 901 bytes --]

New issue by dkwo on void-packages repository

https://github.com/void-linux/void-packages/issues/34117

Description:
I was trying to understand better how efi variables works.
I realised our kernel has both the old and new version, which leads to displaying two sets of efi variables:
```
$ ls /sys/firmware/efi/vars/
Display all 141 possibilities? (y or n)
$ ls /sys/firmware/efi/efivars/
Display all 139 possibilities? (y or n)
```
This is due to having both options:
```
CONFIG_EFI_VARS=y
CONFIG_EFIVAR_FS=y
```
According to Arch wiki, the first one should be avoided.
> UEFI Runtime Variables Support (old efivars sysfs interface - /sys/firmware/efi/vars). This option should be disabled to prevent any potential issues with both efivarfs and sysfs-efivars enabled.

Can anyone clarify what the correct thing to do is here, and whether we should set `CONFIG_EFI_VARS=n`?
Thanks.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-11-21 15:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-17 17:53 [ISSUE] efivarfs vs sysfs-efivars dkwo
2021-11-18 10:45 ` dkwo
2021-11-19 12:48 ` dkwo
2021-11-19 13:46 ` leahneukirchen
2021-11-21 15:00 ` [ISSUE] [CLOSED] " leahneukirchen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).