VFS_MOUNTEDFROM(9)
β¨ VFS_MOUNTEDFROM(9) β¨
okay so bestie, welcome to the Kernel Developer's Manual π
today we're talking about vfs_mountedfrom(9) β yes it's a section 9 page, yes it's kernel-dev coded, and yes it's gonna be quick but iconic π
πΈ NAME πΈ
vfs_mountedfrom β sets the mounted from name for a mount
π¦ SYNOPSIS π¦
#include <sys/param.h>
#include <sys/mount.h>
void
vfs_mountedfrom(struct mount *mp, const char *from);
π DESCRIPTION π
so the vfs_mountedfrom() function sets the mounted from name for a mount. that's it, that's the job, she's a one-task queen π
this value is what statfs(2) uses to fill in f_mntfromname. so like, whatever you set here is literally what shows up in that field, no cap π«Ά
in most cases, from is the device that contains the file system β very normal, very demure. but in the case of a pseudo file system, it could be a descriptive name instead, like "devfs" or "procfs" β¨ because pseudo file systems don't have a real device, they just have vibes π§
π AUTHORS π
this manual page was written by Chad David <davidc@acns.ab.ca> π
and that's the whole page bestie, we ate and left no crumbs π
this one came from the Debian crew and it's dated February 25, 2008 β vintage, lowkey a classic, fr fr ππ
π¦ where this page comes from
- debian bookworm: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- debian trixie: freebsd-manpages 12.2-2 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu jammy: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu noble: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu questing: freebsd-manpages 12.2-2
- ubuntu resolute: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu stonking: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- Copyright (C) 2008 Chad David <davidc@acns.ab.ca>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms