STRUCT P9_IATTR_DOTL(9)
π struct p9_iattr_dotl(9)
okay bestie, welcome to the Kernel API Manual β¨ this one's a lil struct from the 9p world and honestly? she's giving backstage-pass energy π
πΈ NAME πΈ
struct p9_iattr_dotl β the P9 inode attribute for setattr π
like, the little bundle of "here's what I wanna change about this inode" that gets handed over when you do a setattr. no cap.
β¨ SYNOPSIS β¨
struct p9_iattr_dotl {
u32 valid;
u32 mode;
kuid_t uid;
kgid_t gid;
u64 size;
u64 atime_sec;
u64 atime_nsec;
u64 mtime_sec;
u64 mtime_nsec;
};
look at her. nine fields. immaculate. π
π¦ Members π¦
validβ the bitfield that literally tells you which of the other fields are actually valid, same as instruct iattr. it's the vibe check of the whole struct ngl π«Άmodeβ the file permission bits πuidβ the user id of the owner, fr frgidβ the group id πsizeβ the file sizeatime_secβ last access time, in seconds βatime_nsecβ last access time, in nanoseconds (yes she's precise like that π )mtime_secβ last modification time, in secondsmtime_nsecβ last modification time, in nanoseconds β¨
π SEE ALSO π
go read the kernel file ./include/net/9p/9p.h β that's the mothership πΈ β and then these iconic siblings:
enum p9_debug_flags(9)enum p9_msg_t(9)enum p9_open_mode_t(9)enum p9_perm_t(9)enum p9_qid_t(9)struct p9_qid(9)struct p9_wstat(9)struct p9_fcall(9)
okay that's the whole page, you ate that π§π mwah π
signed, sealed, delivered from ./include/net/9p β October 2026 β and yeah, she's still struct p9_iattr_dotl(9) in the title bar because we respect the header ππ₯
π¦ 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