gfs2_symlink(9)
πΈ NAME πΈ
okay so this is the Kernel API Manual page for gfs2_symlink(9), bestie π, and the assignment is literally Create a symlink. That's it. That's the whole vibe. lowkey iconic. β¨
β¨ SYNOPSIS β¨
the signature is giving very βhereβs exactly what you pass in,β no cap:
int gfs2_symlink (struct mnt_idmap *idmap , struct inode *dir , struct
dentry *dentry , const char *symname );
π ARGUMENTS π
idmapβ the idmap of the mount the inode was found from. periodt. π«Άdirβ the directory to create the symlink in. your directory, your rules πdentryβ the dentry to put the symlink in. iykyk π¦symnameβ the thing which the link points to. the target, the moment, the main character π―
π« RETURN π«
errno. thatβs the return value, bestie β no extra lore. π
π SEE ALSO π
if you wanna go deeper, the kernel file is ./fs/gfs2/inode.c, and hereβs the whole SEE ALSO squad in order:
gfs2_set_iop(9)gfs2_inode_lookup(9)gfs2_lookup_by_inum(9)gfs2_lookup_meta(9)gfs2_lookupi(9)create_ok(9)gfs2_init_xattr(9)init_dinode(9)gfs2_trans_da_blks(9)gfs2_create_inode(9)gfs2_create(9)__gfs2_lookup(9)gfs2_link(9)gfs2_unlink_inode(9)gfs2_unlink(9)gfs2_mkdir(9)gfs2_mknod(9)gfs2_atomic_open(9)update_moved_ino(9)gfs2_rename(9)gfs2_exchange(9)gfs2_get_link(9)gfs2_permission(9)gfs2_setattr(9)gfs2_getattr(9)
okay thatβs the whole page, bestie π«Ά. This cutie lives in ./fs/gfs2, itβs dated October 2026, and itβs still gfs2_symlink(9) β periodt. π
π¦ 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