dfs_cache_canonical_path(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 was const πŸ’€
  • remap β€” the mapping type. it's an int, 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:


🫢 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