diff options
author | keramida <keramida@FreeBSD.org> | 2005-01-07 10:57:33 +0000 |
---|---|---|
committer | keramida <keramida@FreeBSD.org> | 2005-01-07 10:57:33 +0000 |
commit | 16244e418e2c733bc9f621a2a59b0a0703737eac (patch) | |
tree | 8cb4c91294bb55beaee63f26df414f7a1a550631 /share/man/man9/VFS_MOUNT.9 | |
parent | b2377cef08dd4a33642005f73cec9fceefa1dae8 (diff) | |
download | FreeBSD-src-16244e418e2c733bc9f621a2a59b0a0703737eac.zip FreeBSD-src-16244e418e2c733bc9f621a2a59b0a0703737eac.tar.gz |
The VFS_MOUNT() macro expects only 2 arguments in the nmount world
(since revision 1.173 of src/sys/sys/mount.h).
Update its prototype, the argument list description and bump the date.
Diffstat (limited to 'share/man/man9/VFS_MOUNT.9')
-rw-r--r-- | share/man/man9/VFS_MOUNT.9 | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/share/man/man9/VFS_MOUNT.9 b/share/man/man9/VFS_MOUNT.9 index 369a100..97d85fa 100644 --- a/share/man/man9/VFS_MOUNT.9 +++ b/share/man/man9/VFS_MOUNT.9 @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd July 24, 1996 +.Dd January 7, 2005 .Os .Dt VFS_MOUNT 9 .Sh NAME @@ -39,29 +39,24 @@ .In sys/mount.h .In sys/vnode.h .Ft int -.Fn VFS_MOUNT "struct mount *mp" "char *path" "caddr_t data" "struct nameidata *ndp" "struct thread *td" +.Fn VFS_MOUNT "struct mount *mp" "struct thread *td" .Sh DESCRIPTION -Mount a file system into the system's namespace. +The +.Fn VFS_MOUNT +macro mounts a file system into the system's namespace or updates the +attributes of an already mounted file system. .Pp -Its arguments are: +The arguments it expects are: .Bl -tag -width data .It Fa mp Structure representing the file system. -.It Fa path -Pathname where the file system is being mounted. -.It Fa data -File system specific data. -This should be read into the kernel using -.Xr copyin 9 . -.It Fa ndp -Contains the result of a -.Xr namei 9 -call on the pathname of the mountpoint. .It Fa td Thread which is mounting the file system. .El .Pp -This is called both to mount new file systems and to change the +The +.Fn VFS_MOUNT +macro is called both to mount new file systems and to change the attributes of an existing file system. If the .Dv MNT_UPDATE |