dfs_cache_canonical_path(9)
β¨ dfs_cache_canonical_path(9) β¨
okay so this is a page straight out of the Kernel API Manual and honestly? it's a lil baby page but it's iconic in its own way π
πΈ NAME πΈ
dfs_cache_canonical_path β get a canonical DFS path π¦
β¨ SYNOPSIS β¨
char * dfs_cache_canonical_path (const char *path , const struct
nls_table *cp , int remap );
π ARGUMENTS π
pathβ the DFS path, bestie. that's the one we're canonicalising πcpβ the codepage (const struct nls_table *), told you it wasconstπremapβ the mapping type. it's anint, don't overthink it π
π₯ DESCRIPTION π₯
lowkey the whole vibe: it returns the canonical path if it succeeds, and an error otherwise. that's it, that's the function, and honestly? she ate π
literally no cap, success = canonical path, failure = error. no in-between, no extra lore π«Ά
π SEE ALSO π
Kernel file ./fs/smb/client/dfs_cache.c β and the whole friend group:
dfs_cache_init(9)dfs_cache_destroy(9)dfs_cache_find(9)dfs_cache_noreq_find(9)dfs_cache_noreq_update_tgthint(9)dfs_cache_get_tgt_referral(9)dfs_cache_get_tgt_share(9)dfs_cache_remount_fs(9)
π«Ά that's the whole page bestie, mwah π β this one dropped from ./fs/smb/client back in October 2026, and the manual name up top is the one and only dfs_cache_canonical_path(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