xref: /freebsd/share/man/man9/vfs_mountedfrom.9 (revision fa9896e082a1046ff4fbc75fcba4d18d1f2efc19)
14c2d7071SChristian Brueffer.\" Copyright (C) 2008 Chad David <davidc@acns.ab.ca>.
24c2d7071SChristian Brueffer.\" All rights reserved.
30835bcdeSChad David.\"
40835bcdeSChad David.\" Redistribution and use in source and binary forms, with or without
50835bcdeSChad David.\" modification, are permitted provided that the following conditions
60835bcdeSChad David.\" are met:
70835bcdeSChad David.\" 1. Redistributions of source code must retain the above copyright
80835bcdeSChad David.\"    notice(s), this list of conditions and the following disclaimer as
90835bcdeSChad David.\"    the first lines of this file unmodified other than the possible
100835bcdeSChad David.\"    addition of one or more copyright notices.
110835bcdeSChad David.\" 2. Redistributions in binary form must reproduce the above copyright
120835bcdeSChad David.\"    notice(s), this list of conditions and the following disclaimer in the
130835bcdeSChad David.\"    documentation and/or other materials provided with the distribution.
140835bcdeSChad David.\"
150835bcdeSChad David.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) ``AS IS'' AND ANY
160835bcdeSChad David.\" EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
170835bcdeSChad David.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
180835bcdeSChad David.\" DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) BE LIABLE FOR ANY
190835bcdeSChad David.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
200835bcdeSChad David.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
210835bcdeSChad David.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
220835bcdeSChad David.\" CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
230835bcdeSChad David.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
240835bcdeSChad David.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
250835bcdeSChad David.\" DAMAGE.
260835bcdeSChad David.\"
274c2d7071SChristian Brueffer.Dd February 25, 2008
28134d45e8SUlrich Spörlein.Dt VFS_MOUNTEDFROM 9
290835bcdeSChad David.Os
300835bcdeSChad David.Sh NAME
310835bcdeSChad David.Nm vfs_mountedfrom
320835bcdeSChad David.Nd "sets the mounted from name for a mount"
330835bcdeSChad David.Sh SYNOPSIS
340835bcdeSChad David.In sys/param.h
350835bcdeSChad David.In sys/mount.h
360835bcdeSChad David.Ft void
370835bcdeSChad David.Fn vfs_mountedfrom "struct mount *mp" "const char *from"
380835bcdeSChad David.Sh DESCRIPTION
390835bcdeSChad DavidThe
400835bcdeSChad David.Fn vfs_mountedfrom
410835bcdeSChad Davidfunction sets the mounted from name for a mount.
420835bcdeSChad DavidThis value is used by
430835bcdeSChad David.Fn statfs 2
440835bcdeSChad Davidto fill in
450835bcdeSChad David.Va f_mntfromname .
460835bcdeSChad David.Pp
470835bcdeSChad DavidIn most cases
480835bcdeSChad David.Va from
490835bcdeSChad Davidis the device that contains the file system, but in the case of a pseudo
500835bcdeSChad Davidfile system it could be a descriptive name like "devfs" or "procfs".
510835bcdeSChad David.Sh AUTHORS
520835bcdeSChad DavidThis manual page was written by
53*8a7314fcSBaptiste Daroussin.An Chad David Aq Mt davidc@acns.ab.ca .
54