fscrypt_has_encryption_key(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– fscrypt_has_encryption_key(9) πŸ’–

okay bestie, this page is from the Kernel API Manual, and it's lowkey a tiny vibe check for inodes. No cap, it's short but important.


🌸 NAME 🌸

fscrypt_has_encryption_key β€” check whether an inode has had its key set up.

✨ SYNOPSIS ✨

bool fscrypt_has_encryption_key (const struct inode *inode );

πŸŽ€ ARGUMENTS πŸŽ€

  • inode β€” the inode to check. That's the whole assignment, bestie: hand over the inode you're curious about.

πŸ¦‹ RETURN πŸ¦‹

Returns true if the inode has had its encryption key set up, else false. Like, key setup done = true era; no key setup = false. periodt.

πŸ”₯ DESCRIPTION πŸ”₯

Usually this should be preceded by fscrypt_get_encryption_info to try to set up the key first. So yeah β€” the manpage says usually call that first to try to set up the key. Do with that what you will, icon.

🌈 SEE ALSO 🌈


mwah πŸ’‹ β€” from the Kernel API Manual, source/version ./include/linux, dated October 2026. slay. 🫢

πŸ“¦ where this page comes from