VFS_ROOTMOUNTALLOC(9)
πΈ NAME πΈ
okay so bestie, this is VFS_ROOTMOUNTALLOC(9) from the Kernel Developer's Manual, and it's literally the page for vfs_rootmountalloc. What does it do? It allocates a root mount structure. That's the whole assignment, and it ate. π
β¨ SYNOPSIS β¨
Here's the incantation β copy it exactly, don't freestyle the headers, bestie:
#include <sys/param.h>
#include <sys/mount.h>
int
vfs_rootmountalloc(char *fstypename, char *devname, struct mount **mpp);
π DESCRIPTION π
vfs_rootmountalloc() allocates a mount structure initialized from the vfsconf type that matches fstypename. That's the plot. It's giving "make me a mount structure, but base it on the vfsconf type matching fstypename." No cap. β¨
β RETURN VALUES β
If successful, 0 is returned and mpp points to the newly allocated mount structure. Slay. π«Ά
ENODEV is returned if fstypename is NULL or invalid. That's the bad-vibes return, not a success β noted, bestie. π
π¦ SEE ALSO π¦
vfsconf(9)β the related manual page. Go read it too, iykyk. π
π AUTHORS π
This manual page was written by Chad David <davidc@acns.ab.ca>. Respect the author, bestie. π«Ά
xoxo π Debian β’ November 21, 2001 β’ VFS_ROOTMOUNTALLOC(9) π«Ά
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- nixpkgs unstable: source
- Copyright (C) 2001 Chad David <davidc@acns.ab.ca>. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms