efivar_entry_delete(9)
π NAME π
okay so bestie, welcome to efivar_entry_delete(9) from the Kernel API Manual β yes, the manual name is right there, cute. This function is literally here to delete variable, periodt. π
efivar_entry_deleteβ delete variable πΈ
β¨ SYNOPSIS β¨
int efivar_entry_delete (struct efivar_entry *entry );
π¦ ARGUMENTS π¦
entryβ entry containing variable to delete π«Ά
πΈ DESCRIPTION πΈ
Delete the variable from the firmware. That's the main character move. β¨
It is the caller's responsibility to free entry (by deleting the dentry/inode) once we return. No cap β that cleanup is on you, not this function. π
Return vibes: 0 on success, -EINTR if we can't grab the semaphore, and a converted EFI status code if set_variable fails. Lowkey important, highkey useful. π
π«Ά reminder: after this returns, freeing entry is your job β and the way you do it is by deleting the dentry/inode. Don't forget, bestie.
π SEE ALSO π
Go peek at the kernel file ./fs/efivarfs/vars.c and these iconic functions:
efivar_init(9)efivar_entry_size(9)__efivar_entry_get(9)efivar_entry_get(9)efivar_entry_set_get_size(9)
kisses from the ./fs/efivarfs source/version crew π
β this page is dated October 2026 π, and yes, itβs still efivar_entry_delete(9) π.
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms