vfs_mountedfrom
sets the mounted from name for a mount
- Provided by: freebsd-manpages (Version: 12.2-2)
- Report a bug
sets the mounted from name for a mount
#include
<sys/param.h>
#include <sys/mount.h>
void
vfs_mountedfrom(struct
mount *mp, const char
*from);
The
vfs_mountedfrom()
function sets the mounted from name for a mount. This value is used by
statfs(2)
to fill in f_mntfromname.
In most cases from is the device that contains the file system, but in the case of a pseudo file system it could be a descriptive name like "devfs" or "procfs".
This manual page was written by Chad David <davidc@acns.ab.ca>.