VFS_ROOTMOUNTALLOC(9)
π VFS_ROOTMOUNTALLOC(9) π
okay bestie, so this is a Kernel Developer's Manual page, section 9 β yes, the big-kid section, the kernel-functions one π
β¨ NAME β¨
vfs_rootmountalloc β allocate a root mount structure πΈ
π SYNOPSIS π
#include <sys/param.h>
#include <sys/mount.h>
int
vfs_rootmountalloc(char *fstypename, char *devname, struct mount **mpp);
π¦ DESCRIPTION π¦
so like, vfs_rootmountalloc() allocates a mount structure, right? and it's initialized from the vfsconf type that matches fstypename. that's it. that's the whole vibe. it finds the matching vfsconf type, uses it to set up the mount structure, and hands it back to you. π
β RETURN VALUES β
- if it ate,
0is returned andmpppoints to the newly allocated mount structure π - if it did not eat,
ENODEVcomes back β and that happens whenfstypenameisNULLor invalid π
π SEE ALSO π
π AUTHORS π
this manual page was written by Chad David <davidc@acns.ab.ca> β shoutout to the icon, no cap π«Ά
and that's the whole page, bestie!! this one came from the Debian crew and it's dated November 21, 2001 β vintage, honestly, it's giving Y2K-era kernel lore π§β¨ go mount something root-y, ily, bye!! ππΈ
π¦ 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) 2001 Chad David <davidc@acns.ab.ca>. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms