vfsconf.9 (147647) | vfsconf.9 (251825) |
---|---|
1.\" 2.\" Copyright (C) 2001 Chad David <davidc@acns.ab.ca>. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice(s), this list of conditions and the following disclaimer as --- 10 unchanged lines hidden (view full) --- 19.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 20.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 21.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 22.\" CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 25.\" DAMAGE. 26.\" | 1.\" 2.\" Copyright (C) 2001 Chad David <davidc@acns.ab.ca>. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice(s), this list of conditions and the following disclaimer as --- 10 unchanged lines hidden (view full) --- 19.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 20.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 21.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 22.\" CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 25.\" DAMAGE. 26.\" |
27.\" $FreeBSD: head/share/man/man9/vfsconf.9 147647 2005-06-28 20:15:19Z hmp $ | 27.\" $FreeBSD: head/share/man/man9/vfsconf.9 251825 2013-06-17 03:32:27Z delphij $ |
28.\" | 28.\" |
29.Dd November 21, 2001 | 29.Dd June 16, 2013 |
30.Dt VFSCONF 9 31.Os 32.Sh NAME 33.Nm vfsconf 34.Nd "vfs configuration information" 35.Sh SYNOPSIS 36.In sys/param.h 37.In sys/mount.h --- 15 unchanged lines hidden (view full) --- 53 int vfc_typenum; /* historic file system type number */ 54 int vfc_refcount; /* number mounted of this type */ 55 int vfc_flags; /* permanent flags */ 56 struct vfsconf *vfc_next; /* next in list */ 57}; 58.Ed 59.Pp 60When a new file system is mounted, | 30.Dt VFSCONF 9 31.Os 32.Sh NAME 33.Nm vfsconf 34.Nd "vfs configuration information" 35.Sh SYNOPSIS 36.In sys/param.h 37.In sys/mount.h --- 15 unchanged lines hidden (view full) --- 53 int vfc_typenum; /* historic file system type number */ 54 int vfc_refcount; /* number mounted of this type */ 55 int vfc_flags; /* permanent flags */ 56 struct vfsconf *vfc_next; /* next in list */ 57}; 58.Ed 59.Pp 60When a new file system is mounted, |
61.Xr vfs_mount 9 | 61.Xr mount 2 |
62does a lookup of the 63.Vt vfsconf 64structure by its name, and if it is not already registered, 65attempts to load a kernel module for it. 66The file system operations for the new mount point are taken from 67.Va vfc_vfsops , 68and 69.Va mnt_vfc --- 68 unchanged lines hidden (view full) --- 138.Pp 139.Fn vfs_modevent 140returns the result of the call to 141.Fn vfs_register 142or 143.Fn vfs_unregister , 144whatever the case. 145.Sh SEE ALSO | 62does a lookup of the 63.Vt vfsconf 64structure by its name, and if it is not already registered, 65attempts to load a kernel module for it. 66The file system operations for the new mount point are taken from 67.Va vfc_vfsops , 68and 69.Va mnt_vfc --- 68 unchanged lines hidden (view full) --- 138.Pp 139.Fn vfs_modevent 140returns the result of the call to 141.Fn vfs_register 142or 143.Fn vfs_unregister , 144whatever the case. 145.Sh SEE ALSO |
146.Xr vfs_mount 9 , | 146.Xr mount 2 , |
147.Xr vfs_rootmountalloc 9 , 148.Xr VFS_SET 9 149.Sh AUTHORS 150This manual page was written by 151.An Chad David Aq davidc@acns.ab.ca . | 147.Xr vfs_rootmountalloc 9 , 148.Xr VFS_SET 9 149.Sh AUTHORS 150This manual page was written by 151.An Chad David Aq davidc@acns.ab.ca . |