mnt_idmap_get(9)
π mnt_idmap_get(9) β a Kernel API Manual baddie π
π NAME π
mnt_idmap_get β get a reference to an idmapping. That's literally the whole errand, bestie. β¨
β¨ SYNOPSIS β¨
okay so the signature is giving exactly this:
struct mnt_idmap * mnt_idmap_get (struct mnt_idmap *idmap );
πΈ ARGUMENTS πΈ
idmapβ the idmap to bump the reference on. yes bestie, that one π«Ά
π¦ DESCRIPTION π¦
If idmap is not the nop_mnt_idmap bump the reference count. that's the vibe check and it passed β¨
π RETURN π
idmap with reference count bumped if not_mnt_idmap isn't passed. iconic behavior, no notes π
π SEE ALSO π
go peek at the kernel file and these cuties:
- Kernel file
./fs/mnt_idmapping.c initial_idmapping(9)make_vfsuid(9)make_vfsgid(9)from_vfsuid(9)from_vfsgid(9)vfsgid_in_group_p(9)mnt_idmap_put(9)
π mwah β this page lives under source/version ./fs, dated October 2026. bye bestie π«Ά
π¦ 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