is_idmapped_mnt(9)
π is_idmapped_mnt(9) β like, the Kernel API Manual page you didn't know you needed π
okay so bestie, welcome to the Kernel API Manual entry for is_idmapped_mnt β yes that's the function AND the manual page name, we love a self-titled icon π
β¨ NAME β¨
is_idmapped_mnt β check whether a mount is mapped πΈ
β¨ SYNOPSIS β¨
bool is_idmapped_mnt (const struct vfsmount *mnt );
literally that's the whole vibe. one function, one pointer, one bool return π¦
β¨ ARGUMENTS β¨
mntβ the mount you wanna check, bestie. that's the one. the mount to check π
β¨ DESCRIPTION β¨
so here's the tea π β if mnt has an non nop_mnt_idmap attached to it, then mnt is mapped. that's it. that's the whole check. no cap.
side note: nop_mnt_idmap shows up in there exactly like that in the source, so we're keeping it exactly like that. not me fixing typos that aren't mine to fix π
β¨ RETURN β¨
trueif the mount is mapped πfalseif it's not π
binary queen. no in-between. periodt.
β¨ SEE ALSO β¨
bestie there are SO many friends in this section, we're basically at a function reunion π«Ά all of these live over in the kernel file ./include/linux/fs.h:
enum positive_aop_returns(9)struct address_space(9)struct file_ra_state(9)struct file(9)i_uid_into_vfsuid(9)i_uid_needs_update(9)i_uid_update(9)i_gid_into_vfsgid(9)i_gid_needs_update(9)i_gid_update(9)inode_fsuid_set(9)inode_fsgid_set(9)fsuidgid_has_mapping(9)inode_set_ctime(9)file_write_started(9)file_write_not_started(9)struct renamedata(9)is_mgtime(9)iput_if_not_last(9)file_start_write(9)file_end_write(9)kiocb_start_write(9)kiocb_end_write(9)name_is_dot_dotdot(9)name_contains_dotdot(9)inode_dio_begin(9)inode_dio_end(9)generic_ci_validate_strict_name(9)
like, go read them all?? main character energy from every single one of them honestly π
π okay that's the page!! sourced from the ./include/linux corner of the world, dated October 2026 β mwah, catch you on the next manpage bestie, slay π
β¨
π¦ 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