ecryptfs_setattr(9)
β¨ NAME β¨
ecryptfs_setattr β that's literally the NAME line, bestie; the original leaves the description side empty ππ
okay so real quick: this page is ecryptfs_setattr from the Kernel API Manual, section 9. Yes we're in kernel API land, stay with me π«Ά
π SYNOPSIS π
int ecryptfs_setattr (struct mnt_idmap *idmap , struct dentry *dentry , struct iattr *ia );
π ARGUMENTS π
idmapβ idmap of the target mount πΊοΈdentryβ dentry handle to the inode to modify πͺiaβ Structure with flags of what to change and values π
π¦ DESCRIPTION π¦
So this function updates the metadata of an inode. Slay.
If the update is to the size β i.e. truncation β then ecryptfs_truncate will handle the size modification of both the ecryptfs inode and the lower inode. That's the size-change situation, iykyk πΈ
All other metadata changes will be passed right to the lower filesystem, and we will just update our inode to look like the lower. No cap, that's the whole vibe π
π SEE ALSO π
- Kernel file
./fs/ecryptfs/inode.c ecryptfs_interpose(9)ecryptfs_do_create(9)ecryptfs_lookup(9)upper_size_to_lower_size(9)__ecryptfs_truncate(9)ecryptfs_truncate(9)
okurrr that's a wrap πβ¨ source/version tag: ./fs/ecryptfs Β· date: October 2026 π«Άπ
π¦ 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