From owner-man-jp-reviewer@jp.FreeBSD.org Mon May 23 22:28:01 2005
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id j4NDS1A53346;
	Mon, 23 May 2005 22:28:01 +0900 (JST)
	(envelope-from owner-man-jp-reviewer@jp.FreeBSD.org)
Received: from t-mta1.odn.ne.jp (mfep1.odn.ne.jp [143.90.131.179])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with ESMTP/inet id j4NDS0X53341
	for <man-jp-reviewer@jp.FreeBSD.org>; Mon, 23 May 2005 22:28:00 +0900 (JST)
	(envelope-from n-kogane@syd.odn.ne.jp)
Received: from kces6.koganemaru.co.jp ([220.212.168.108])
          by t-mta1.odn.ne.jp with ESMTP
          id <20050523132759974.ZFEJ.8089.t-mta1.odn.ne.jp@mta1.odn.ne.jp>
          for <man-jp-reviewer@jp.FreeBSD.org>;
          Mon, 23 May 2005 22:27:59 +0900
Received: by kces6.koganemaru.co.jp (Postfix, from userid 100)
	id 37750102D5; Mon, 23 May 2005 22:28:54 +0900 (JST)
To: man-jp-reviewer@jp.FreeBSD.org
MIME-Version: 1.0 (generated by MimeKit/1.8)
Content-Type: text/plain; charset=ISO-2022-JP
Message-Id: <20050523132854.37750102D5@kces6.koganemaru.co.jp>
From: n-kogane@syd.odn.ne.jp (Nobuyuki Koganemaru)
Reply-To: man-jp-reviewer@jp.FreeBSD.org
Precedence: list
Date: Mon, 23 May 2005 22:28:54 +0900
X-Sequence: man-jp-reviewer 4824
Subject: [man-jp-reviewer 4824] DECLARE_MODULE.9, SYSCALL_MODULE.9, VFS_MOUNT.9, VFS_STATFS.9, VFS_UNMOUNT.9 Update to 5.4-RELEASE
Sender: owner-man-jp-reviewer@jp.FreeBSD.org
X-Originator: n-kogane@syd.odn.ne.jp
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+050320

$B>.6b4]$G$9!#(B

$B8e$m$K1QJ8$N:9J,$bIU$1$^$9!#(B

diff -u /dskg/JMAN4/doc/ja_JP.eucJP/man/man9/DECLARE_MODULE.9 DECLARE_MODULE.9
--- /dskg/JMAN4/doc/ja_JP.eucJP/man/man9/DECLARE_MODULE.9	Mon Nov  3 11:37:55 2003
+++ DECLARE_MODULE.9	Mon May 23 22:23:08 2005
@@ -26,10 +26,10 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" %FreeBSD: src/share/man/man9/DECLARE_MODULE.9,v 1.7 2003/09/10 19:24:35 ru Exp %
+.\" %FreeBSD: src/share/man/man9/DECLARE_MODULE.9,v 1.7.4.2 2005/01/13 13:45:52 keramida Exp %
 .\" $FreeBSD: doc/ja_JP.eucJP/man/man9/DECLARE_MODULE.9,v 1.3 2003/11/03 02:37:55 horikawa Exp $
 .\"
-.Dd March 3, 2001
+.Dd January 6, 2005
 .Dt DECLARE_MODULE 9
 .Os
 .Sh $BL>>N(B
@@ -53,54 +53,49 @@
 $B$*$h$S(B
 .Xr SYSCALL_MODULE 9
 $B$N$h$&$JB>$N%^%/%m$NCf$G;HMQ$5$l$^$9!#(B
-$B$7$+$7$J$,$i!"Nc$($PF0E*$J(B sysctl $B$r<BAu$9$k$?$a$K!"(B
-$BD>@\8F$S=P$5$l$k$3$H$,$b$A$m$s2DG=$G$9!#(B
+$B$b$A$m$s!"Nc$($PF0E*$J(B sysctl $B$r<BAu$9$k$?$a$K!"(B
+$BD>@\8F$S=P$5$l$k$3$H$b2DG=$G$9!#(B
 .Pp
-.Fn DECLARE_MODULE
-$B$X$N0z?t$O0J2<$N$H$*$j$G$9!#(B
-.Pp
-.Fa name
-$B$O%b%8%e!<%k$NL>A0$G!"$=$N%b%8%e!<%k$r<1JL$9$k$?$a$K(B
+$B0z?t$O0J2<$N$H$*$j$G$9!#(B
+.Bl -tag -width indent
+.It Fa name
+$B%b%8%e!<%k$r<1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Dv SI_SUB_EXEC
-$B$NCM$,6&DL$G$9!#(B
-.Pp
-.Fa order
-$B$NCM$O(B
+$B$NCM$O6&DL$G$9!#(B
+.It Fa order
 .Fn SYSINIT
-$B$N$?$a$N$b$&(B 1 $B$D$N0z?t$G$9!#(B
+$B$N$?$a$N0z?t$G$9!#(B
 $B$3$l$O(B KLD $B$N%5%V%7%9%F%`Fb$N=i4|2=$N=g=x$r0UL#$7$^$9!#(B
 $BM-8z$JCM$O(B
 .Vt sysinit_elem_order
-$BNs5s(B
-.Pq In kernel.h
-$B$KDj5A$5$l$F$$$^$9!#(B
+$BNs5s7?(B
+.Pq In sys/kernel.h
+$B$GDj5A$5$l$F$$$^$9!#(B
+.El
 .Sh $B4XO"9`L\(B
 .Xr DEV_MODULE 9 ,
 .Xr DRIVER_MODULE 9 ,
@@ -113,6 +108,7 @@
 .An -nosplit
 $B$3$N%^%K%e%"%k%Z!<%8$O(B
 .An Andrew Reiter Aq arr@watson.org
-$B$,=q$$$?(B KLD Facility Programming Tutorial $B$K?(H/$5$l$F!"(B
+$B$K$h$C$F=q$+$l$?(B
+KLD Facility Programming Tutorial $B$K?(H/$5$l$F!"(B
 .An Alexander Langer Aq alex@FreeBSD.org
-$B$,=q$-$^$7$?!#(B
+$B$K$h$C$F=q$+$l$^$7$?!#(B
diff -u /dskg/JMAN4/doc/ja_JP.eucJP/man/man9/SYSCALL_MODULE.9 SYSCALL_MODULE.9
--- /dskg/JMAN4/doc/ja_JP.eucJP/man/man9/SYSCALL_MODULE.9	Mon Nov  3 11:37:55 2003
+++ SYSCALL_MODULE.9	Mon May 23 22:24:36 2005
@@ -26,10 +26,10 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" %FreeBSD: src/share/man/man9/SYSCALL_MODULE.9,v 1.5 2003/09/08 19:57:21 ru Exp %
+.\" %FreeBSD: src/share/man/man9/SYSCALL_MODULE.9,v 1.5.4.1 2005/01/10 23:45:00 keramida Exp %
 .\"
 .\" $FreeBSD: doc/ja_JP.eucJP/man/man9/SYSCALL_MODULE.9,v 1.3 2003/11/03 02:37:55 horikawa Exp $
-.Dd April 27, 2001
+.Dd January 7, 2005
 .Dt SYSCALL_MODULE 9
 .Os
 .Sh $BL>>N(B
@@ -50,27 +50,30 @@
 .Fa name
 $B$H$$$&L>A0$N%+!<%M%k%b%8%e!<%k$N@k8@$KE83+$5$l$^$9!#(B
 .Pp
-.Fa offset
-$B$O(B
-.Vt int
-$B7?$X$N%]%$%s%?$G$"$j!"(B
-$B$=$3$K$O$=$N(B syscall $B$,3d$jEv$F$i$l$?(B
+$B$3$N%^%/%m$GMW5a$5$l$k;D$j$N0z?t$O0J2<$NDL$j$G$9!#(B
+.Bl -tag -width ".Fa new_sysent"
+.It Fa offset
+syscall $B$,3d$jIU$1$k(B
 .Vt "struct sysent"
-$B9=B$BN$NCf$N%*%U%;%C%H0LCV$,J]B8$5$l$^$9!#(B
-.Pp
-.Fa new_sysent
-$B$O(B syscall $B$r<BAu$9$k4X?t$*$h$S$3$N4X?t$,I,MW$H$9$k0z?t$N8D?t(B
+$BCf$N%*%U%;%C%H$rJ]B8$9$k(B
+.Vt int
+$B$X$N%]%$%s%?!#(B
+.It Fa new_sysent
+syscall $B$r<BAu$9$k4X?t$*$h$S$3$N4X?t$,I,MW$H$9$k0z?t$N?t(B
 .In ( sys/sysent.h
-$B;2>H(B) $B$rL@<($7$^$9!#(B
-.Pp
-.Fa evh
-$B$O!"%+!<%M%k%b%8%e!<%k$N%$%Y%s%H%O%s%I%i4X?t$X$N%]%$%s%?$G$"$j!"(B
-$B$3$N4X?t$O0z?t(B
+$B;2>H(B)$B!#(B
+.It Fa evh
+$B0z?t(B
 .Fa arg
-$B$r<h$j$^$9!#(B
+$B$r<h$k%+!<%M%k%b%8%e!<%k$N%$%Y%s%H%O%s%I%i4X?t$X$N%]%$%s%?!#(B
 $B>\:Y$K$D$$$F$O(B
 .Xr module 9
 $B$r;2>H$7$F$/$@$5$$!#(B
+.It Fa arg
+$B$=$l$,8F$S=P$5$l$k$H$-!"(B
+.Fa evh
+$B%$%Y%s%H%O%s%I%i$N%3!<%k%P%C%/4X?t$XEO$5$l$k0z?t!#(B
+.El
 .Sh $B;HMQNc(B
 syscall $B%b%8%e!<%k$N$?$a$N:GDc8B$NNc$,!"(B
 .Pa /usr/share/examples/kld/syscall/module/syscall.c
@@ -82,4 +85,4 @@
 .Sh $B:n<T(B
 $B$3$N%^%K%e%"%k%Z!<%8$O(B
 .An Alexander Langer Aq alex@FreeBSD.org
-$B$,=q$-$^$7$?!#(B
+$B$K$h$C$F=q$+$l$^$7$?!#(B
diff -u /dskg/JMAN4/doc/ja_JP.eucJP/man/man9/VFS_MOUNT.9 VFS_MOUNT.9
--- /dskg/JMAN4/doc/ja_JP.eucJP/man/man9/VFS_MOUNT.9	Fri Nov 21 12:03:10 2003
+++ VFS_MOUNT.9	Sun May 22 22:48:53 2005
@@ -26,10 +26,10 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" %FreeBSD: src/share/man/man9/VFS_MOUNT.9,v 1.13 2003/10/23 06:24:55 hmp Exp %
+.\" %FreeBSD: src/share/man/man9/VFS_MOUNT.9,v 1.13.4.1 2005/01/10 23:46:12 keramida Exp %
 .\"
 .\" $FreeBSD: doc/ja_JP.eucJP/man/man9/VFS_MOUNT.9,v 1.7 2003/11/21 03:03:10 horikawa Exp $
-.Dd July 24, 1996
+.Dd January 7, 2005
 .Os
 .Dt VFS_MOUNT 9
 .Sh $BL>>N(B
@@ -40,30 +40,22 @@
 .In sys/mount.h
 .In sys/vnode.h
 .Ft int
-.Fn VFS_MOUNT "struct mount *mp" "char *path" "caddr_t data" "struct name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$l$^$7$?!#(B
diff -u /dskg/JMAN4/doc/ja_JP.eucJP/man/man9/VFS_STATFS.9 VFS_STATFS.9
--- /dskg/JMAN4/doc/ja_JP.eucJP/man/man9/VFS_STATFS.9	Fri Nov 21 12:03:10 2003
+++ VFS_STATFS.9	Mon May 23 21:54:18 2005
@@ -26,10 +26,10 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" %FreeBSD: src/share/man/man9/VFS_STATFS.9,v 1.10 2003/10/23 06:24:55 hmp Exp %
+.\" %FreeBSD: src/share/man/man9/VFS_STATFS.9,v 1.10.4.2 2005/01/13 13:45:52 keramida Exp %
 .\"
 .\" $FreeBSD: doc/ja_JP.eucJP/man/man9/VFS_STATFS.9,v 1.7 2003/11/21 03:03:10 horikawa Exp $
-.Dd July 24, 1996
+.Dd January 7, 2005
 .Os
 .Dt VFS_STATFS 9
 .Sh $BL>>N(B
@@ -42,7 +42,8 @@
 .Ft int
 .Fn VFS_STATFS "struct mount *mp" "struct statfs *sbp" "struct thread *td"
 .Sh $B2r@b(B
-$B$3$N8F$S=P$7$O!"%U%!%$%k%7%9%F%`$K$D$$$F$NMM!9$J>pJs$rJV$7$^$9!#(B
+.Fn VFS_STATFS
+$B%^%/%m$O!"%U%!%$%k%7%9%F%`$K$D$$$F$NMM!9$J>pJs$rJV$7$^$9!#(B
 $B$3$N>pJs$K$O!"?d>)$5$l$F$$$kF~=PNO%5%$%:!"6u$-NN0h!"6u$-(B inode $BEy$,$"$j$^$9!#(B
 .Pp
 $B0z?t$O0J2<$NDL$j$G$9!#(B
@@ -50,14 +51,71 @@
 .It Fa mp
 $B%U%!%$%k%7%9%F%`!#(B
 .It Fa sbp
-$B%U%!%$%k%7%9%F%`$N>uBV$N$?$a$NLa$jCM!#(B
+$B%U%!%$%k%7%9%F%`$K4X$9$k>pJs$,CV$+$l$k!"(B
+.In sys/mount.h
+$B$GDj5A$5$l$k(B
+.Vt statfs
+$B9=B$BN$G$9!#(B
 .It Fa td
 $B%U%!%$%k%7%9%F%`$KLd$$9g$o$;$F$$$k%9%l%C%I!#(B
 .El
+.Pp
+$B%U%!%$%k%7%9%F%`$K4XO"$9$k(B
+.Vt "struct statfs"
+$B%U%$!<%k%I$O0J2<$NDL$j$G$9!#(B
+.Bl -tag -width ".Va f_mntfromname"
+.It Va f_type
+$B%U%!%$%k%7%9%F%`$N%?%$%W!#(B
+.It Va f_flags
+$B%(%/%9%]!<%H$5$l$?%^%&%s%H%U%i%0$N%3%T!<!#(B
+.It Va f_bsize
+$B%U%i%0%a%s%H%5%$%:!#(B
+.It Va f_iosize
+$B:GE,2=$5$l$?E>Aw%V%m%C%/%5%$%:!#(B
+.It Va f_blocks
+$B%U%!%$%k%7%9%F%`Cf$N%G!<%?%V%m%C%/$NAm?t!#(B
+.It Va f_bfree
+$B%U%!%$%k%7%9%F%`Cf$N%U%j!<%V%m%C%/$N?t!#(B
+.It Va f_bavail
+$B%9!<%Q%f!<%6$G$J$$%W%m%;%9$GMxMQ2DG=$J%U%j!<%V%m%C%/$N?t!#(B
+.It Va f_files
+$B%U%!%$%k%7%9%F%`Cf$N%U%!%$%k%N!<%I$NAm?t!#(B
+.It Va f_ffree
+$B%9!<%Q%f!<%6$G$J$$%W%m%;%9$GMxMQ2DG=$J%U%j!<$N%N!<%I$N?t!#(B
+.It Va f_syncwrites
+$B%U%!%$%k%7%9%F%`$,%^%&%s%H$5$l$?$H$-$+$i$NF14|=q$-9~$_$N?t!#(B
+.It Va f_asyncwrites
+$B%U%!%$%k%7%9%F%`$,%^%&%s%H$5$l$?$H$-$+$i$NHsF14|=q$-9~$_$N?t!#(B
+.It Va f_syncreads
+$B%U%!%$%k%7%9%F%`$,%^%&%s%H$5$l$?$H$-$+$i$NF14|FI$_9~$_$N?t!#(B
+.It Va f_asyncreads
+$B%U%!%$%k%7%9%F%`$,%^%&%s%H$5$l$?$H$-$+$i$NHsF14|FI$_9~$_$N?t!#(B
+.It Va f_namemax
+$B$3$N%U%!%$%k%7%9%F%`$G$N:GBg$N%U%!%$%kL>$ND9$5!#(B
+.It Va f_owner
+$B%U%!%$%k%7%9%F%`$r%^%&%s%H$7$?%f!<%6$N%f!<%6(B ID$B!#(B
+.It Va f_fsid
+$B%f%K!<%/$J%U%!%$%k%7%9%F%`(B ID$B!#(B
+.It Va f_fstypename
+$B%U%!%$%k%7%9%F%`%?%$%WL>!#(B
+$B:GBg(B
+.Dv MFSNAMELEN
+$B%P%$%H$NJ8;zNs!#(B
+.It Va f_mntfromname
+$B%^%&%s%H$5$l$?%U%!%$%k%7%9%F%`$N%G%P%$%9L>!#(B
+$B:GBg(B
+.Dv MNAMELEN
+$B%P%$%H$NJ8;zNs!#(B
+.It Va f_mntonname
+$B%U%!%$%k%7%9%F%`$,%^%&%s%H$5$l$?%G%#%l%/%H%j$NL>A0!#(B
+$B:GBg(B
+.Dv MNAMELEN
+$B%P%$%H$NJ8;zNs!#(B
+.El
 .Sh $B4XO"9`L\(B
 .Xr VFS 9 ,
 .Xr vnode 9
 .Sh $B:n<T(B
 $B$3$N%^%K%e%"%k%Z!<%8$O(B
 .An Doug Rabson
-$B$,=q$-$^$7$?!#(B
+$B$K$h$C$F=q$+$l$^$7$?!#(B
diff -u /dskg/JMAN4/doc/ja_JP.eucJP/man/man9/VFS_UNMOUNT.9 VFS_UNMOUNT.9
--- /dskg/JMAN4/doc/ja_JP.eucJP/man/man9/VFS_UNMOUNT.9	Fri Nov 21 12:03:10 2003
+++ VFS_UNMOUNT.9	Sun May 22 22:55:34 2005
@@ -26,10 +26,10 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" %FreeBSD: src/share/man/man9/VFS_UNMOUNT.9,v 1.10 2003/10/23 06:24:55 hmp Exp %
+.\" %FreeBSD: src/share/man/man9/VFS_UNMOUNT.9,v 1.10.4.1 2005/01/10 23:08:56 keramida Exp %
 .\"
 .\" $FreeBSD: doc/ja_JP.eucJP/man/man9/VFS_UNMOUNT.9,v 1.7 2003/11/21 03:03:10 horikawa Exp $
-.Dd July 24, 1996
+.Dd January 7, 2005
 .Os
 .Dt VFS_UNMOUNT 9
 .Sh $BL>>N(B
@@ -42,20 +42,26 @@
 .Ft int
 .Fn VFS_UNMOUNT "struct mount *mp" "int mntflags" "struct thread *td"
 .Sh $B2r@b(B
-$B%U%!%$%k%7%9%F%`$r%"%s%^%&%s%H$7$^$9!#(B
+.Fn VFS_UNMOUNT
+$B%^%/%m$O!"%U%!%$%k%7%9%F%`$r%"%s%^%&%s%H$7$^$9!#(B
 .Pp
 $B0z?t$O0J2<$NDL$j$G$9!#(B
 .Bl -tag -width mntflags
 .It Fa mp
 $B%U%!%$%k%7%9%F%`!#(B
 .It Fa mntflags
-$B$$$m$$$m$J%U%i%0!#(B
+$B%"%s%^%&%s%HA`:n$N$?$a$N%U%i%0$N%S%C%H%^%9%/$G$9!#(B
+$B8=:_(B
+.Fn VFS_UNMOUNT
+$B$K$h$C$F%5%]!<%H$5$l$F$$$k%U%i%0$O0J2<$NDL$j$G$9!#(B
+.Bl -tag -width ".Dv MNT_FORCE"
+.It Dv MNT_FORCE
+$B%U%!%$%k%7%9%F%`$,%"%s%^%&%s%H$5$l$kA0$K(B
+$B%*!<%W%s$7$F$$$k%U%!%$%k$O6/@)E*$KJD$8$i$l$^$9!#(B
+.El
 .It Fa td
 $B%U%!%$%k%7%9%F%`$r%"%s%^%&%s%H$7$F$$$k%9%l%C%I!#(B
 .El
-.Pp
-.Dv MNT_FORCE
-$B%U%i%0$,;XDj$5$l$?>l9g$K$O!"3+$$$F$$$k%U%!%$%k$O6/@)E*$KJD$8$i$l$k$Y$-$G$9!#(B
 .Sh $B4XO"9`L\(B
 .Xr vflush 9 ,
 .Xr VFS 9 ,
@@ -63,4 +69,4 @@
 .Sh $B:n<T(B
 $B$3$N%^%K%e%"%k%Z!<%8$O(B
 .An Doug Rabson
-$B$,=q$-$^$7$?!#(B
+$B$K$h$C$F=q$+$l$^$7$?!#(B

diff -u /dskg/JMAN4/5.3-RELEASE/man9/DECLARE_MODULE.9 /dskg/JMAN4/5.4-RELEASE/man9/DECLARE_MODULE.9
--- /dskg/JMAN4/5.3-RELEASE/man9/DECLARE_MODULE.9	Fri Nov  5 10:26:13 2004
+++ /dskg/JMAN4/5.4-RELEASE/man9/DECLARE_MODULE.9	Sun May  8 16:03:19 2005
@@ -26,9 +26,9 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $FreeBSD: src/share/man/man9/DECLARE_MODULE.9,v 1.7 2003/09/10 19:24:35 ru Exp $
+.\" $FreeBSD: src/share/man/man9/DECLARE_MODULE.9,v 1.7.4.2 2005/01/13 13:45:52 keramida Exp $
 .\"
-.Dd March 3, 2001
+.Dd January 6, 2005
 .Dt DECLARE_MODULE 9
 .Os
 .Sh NAME
@@ -52,28 +52,25 @@
 .Xr DEV_MODULE 9
 and
 .Xr SYSCALL_MODULE 9 .
-However, it can be called directly of course, for example in
+Of course, it can also be called directly, for example in
 order to implement dynamic sysctls.
 .Pp
-The arguments to
-.Fn DECLARE_MODULE :
-.Pp
-.Fa name
-is the name of the module, which will be used in the
+The arguments it expects are:
+.Bl -tag -width indent
+.It Fa name
+The module name, which will be used in the
 .Fn SYSINIT
 call to identify the module.
-.Pp
-.Fa data
-is a
+.It Fa data
+A
 .Vt moduledata_t
 structure, which contains two main items, the official name of the
 module name, which will be used in the
 .Vt module_t
 structure and a pointer to the event handler function of type
 .Vt modeventhand_t .
-.Pp
-.Fa sub
-is an argument directed to the
+.It Fa sub
+An argument directed to the
 .Fn SYSINIT
 macro.
 Valid values for this are contained in the
@@ -90,16 +87,15 @@
 For kernel modules that are loaded at runtime, a value of
 .Dv SI_SUB_EXEC
 is common.
-.Pp
-The
-.Fa order
-value is another argument for
+.It Fa order
+An argument for
 .Fn SYSINIT .
 It represents the KLDs order of initialization within the subsystem.
 Valid values are defined in the
 .Vt sysinit_elem_order
 enumeration
 .Pq In sys/kernel.h .
+.El
 .Sh SEE ALSO
 .Xr DEV_MODULE 9 ,
 .Xr DRIVER_MODULE 9 ,
diff -u /dskg/JMAN4/5.3-RELEASE/man9/SYSCALL_MODULE.9 /dskg/JMAN4/5.4-RELEASE/man9/SYSCALL_MODULE.9
--- /dskg/JMAN4/5.3-RELEASE/man9/SYSCALL_MODULE.9	Fri Nov  5 10:26:14 2004
+++ /dskg/JMAN4/5.4-RELEASE/man9/SYSCALL_MODULE.9	Sun May  8 16:03:21 2005
@@ -26,9 +26,9 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $FreeBSD: src/share/man/man9/SYSCALL_MODULE.9,v 1.5 2003/09/08 19:57:21 ru Exp $
+.\" $FreeBSD: src/share/man/man9/SYSCALL_MODULE.9,v 1.5.4.1 2005/01/10 23:45:00 keramida Exp $
 .\"
-.Dd April 27, 2001
+.Dd January 7, 2005
 .Dt SYSCALL_MODULE 9
 .Os
 .Sh NAME
@@ -49,25 +49,29 @@
 expands into a kernel module declaration named as
 .Fa name .
 .Pp
-.Fa offset
-is a pointer to an
+The rest of the arguments expected by this macro are:
+.Bl -tag -width ".Fa new_sysent"
+.It Fa offset
+A pointer to an
 .Vt int
 which saves the offset in
 .Vt "struct sysent"
-where the
-syscall is allocated.
-.Pp
-.Fa new_sysent
-specifies the function implementing the syscall and the number of
-arguments this function needs (see
+where the syscall is allocated.
+.It Fa new_sysent
+The function implementing the syscall and the number of arguments this
+function needs (see
 .In sys/sysent.h ) .
-.Pp
-.Fa evh
-is a pointer to the kernel module event handler function with the argument
+.It Fa evh
+A pointer to the kernel module event handler function with the argument
 .Fa arg .
 Please refer to
 .Xr module 9
 for more information.
+.It Fa arg
+The argument passed to the callback functions of the
+.Fa evh
+event handler when it is called.
+.El
 .Sh EXAMPLES
 A minimal example for a syscall module can be found in
 .Pa /usr/share/examples/kld/syscall/module/syscall.c .
diff -u /dskg/JMAN4/5.3-RELEASE/man9/VFS_MOUNT.9 /dskg/JMAN4/5.4-RELEASE/man9/VFS_MOUNT.9
--- /dskg/JMAN4/5.3-RELEASE/man9/VFS_MOUNT.9	Fri Nov  5 10:26:14 2004
+++ /dskg/JMAN4/5.4-RELEASE/man9/VFS_MOUNT.9	Sun May  8 16:03:21 2005
@@ -26,9 +26,9 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $FreeBSD: src/share/man/man9/VFS_MOUNT.9,v 1.13 2003/10/23 06:24:55 hmp Exp $
+.\" $FreeBSD: src/share/man/man9/VFS_MOUNT.9,v 1.13.4.1 2005/01/10 23:46:12 keramida Exp $
 .\"
-.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
diff -u /dskg/JMAN4/5.3-RELEASE/man9/VFS_STATFS.9 /dskg/JMAN4/5.4-RELEASE/man9/VFS_STATFS.9
--- /dskg/JMAN4/5.3-RELEASE/man9/VFS_STATFS.9	Fri Nov  5 10:26:14 2004
+++ /dskg/JMAN4/5.4-RELEASE/man9/VFS_STATFS.9	Sun May  8 16:03:21 2005
@@ -26,9 +26,9 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $FreeBSD: src/share/man/man9/VFS_STATFS.9,v 1.10 2003/10/23 06:24:55 hmp Exp $
+.\" $FreeBSD: src/share/man/man9/VFS_STATFS.9,v 1.10.4.2 2005/01/13 13:45:52 keramida Exp $
 .\"
-.Dd July 24, 1996
+.Dd January 7, 2005
 .Os
 .Dt VFS_STATFS 9
 .Sh NAME
@@ -41,17 +41,74 @@
 .Ft int
 .Fn VFS_STATFS "struct mount *mp" "struct statfs *sbp" "struct thread *td"
 .Sh DESCRIPTION
-This call returns various pieces of information about the file system,
+The
+.Fn VFS_STATFS
+macro returns various pieces of information about the file system,
 including recommended I/O sizes, free space, free inodes, etc.
 .Pp
-Its arguments are:
+The arguments it expects are:
 .Bl -tag -width sbp
 .It Fa mp
 The file system.
 .It Fa sbp
-Return parameter for the file system's status.
+A
+.Vt statfs
+structure, as defined by
+.In sys/mount.h ,
+into which information is placed about the file system.
 .It Fa td
 The thread which is querying the file system.
+.El
+.Pp
+The fields of
+.Vt "struct statfs"
+related to the file system are as follows:
+.Bl -tag -width ".Va f_mntfromname"
+.It Va f_type
+Type of file system.
+.It Va f_flags
+A copy of mount exported flags.
+.It Va f_bsize
+Fragment size.
+.It Va f_iosize
+Optimal transfer block size.
+.It Va f_blocks
+The total number of data blocks in the file system.
+.It Va f_bfree
+The number of free blocks in the file system.
+.It Va f_bavail
+The number of free blocks available to non-superuser processes.
+.It Va f_files
+The total number of file nodes in the file system.
+.It Va f_ffree
+The number of free nodes available to non-superuser processes.
+.It Va f_syncwrites
+The number of synchronous writes since the file system was mounted.
+.It Va f_asyncwrites
+The number of asynchronous writes since the file system was mounted.
+.It Va f_syncreads
+The number of synchronous reads since the file system was mounted.
+.It Va f_asyncreads
+The number of asynchronous reads since the file system was mounted.
+.It Va f_namemax
+The maximum file name length for this file system.
+.It Va f_owner
+The user ID of the user that mounted the file system.
+.It Va f_fsid
+Unique file system ID.
+.It Va f_fstypename
+The file system type name; a string of at most
+.Dv MFSNAMELEN
+bytes.
+.It Va f_mntfromname
+The device name the file system was mounted from; a string of at most
+.Dv MNAMELEN
+bytes.
+.It Va f_mntonname
+The name of the directory on which the file system is mounted;
+a string of at most
+.Dv MNAMELEN
+bytes.
 .El
 .Sh SEE ALSO
 .Xr VFS 9 ,
diff -u /dskg/JMAN4/5.3-RELEASE/man9/VFS_UNMOUNT.9 /dskg/JMAN4/5.4-RELEASE/man9/VFS_UNMOUNT.9
--- /dskg/JMAN4/5.3-RELEASE/man9/VFS_UNMOUNT.9	Fri Nov  5 10:26:14 2004
+++ /dskg/JMAN4/5.4-RELEASE/man9/VFS_UNMOUNT.9	Sun May  8 16:03:21 2005
@@ -26,9 +26,9 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $FreeBSD: src/share/man/man9/VFS_UNMOUNT.9,v 1.10 2003/10/23 06:24:55 hmp Exp $
+.\" $FreeBSD: src/share/man/man9/VFS_UNMOUNT.9,v 1.10.4.1 2005/01/10 23:08:56 keramida Exp $
 .\"
-.Dd July 24, 1996
+.Dd January 7, 2005
 .Os
 .Dt VFS_UNMOUNT 9
 .Sh NAME
@@ -41,21 +41,26 @@
 .Ft int
 .Fn VFS_UNMOUNT "struct mount *mp" "int mntflags" "struct thread *td"
 .Sh DESCRIPTION
-Unmount a file system.
+The
+.Fn VFS_UNMOUNT
+macro unmounts a file system.
 .Pp
-Its arguments are:
+The arguments it expects are:
 .Bl -tag -width mntflags
 .It Fa mp
 The file system.
 .It Fa mntflags
-Various flags.
+Bit-mask of flags for the unmount operation.
+The flags currently supported by
+.Fn VFS_UNMOUNT
+are:
+.Bl -tag -width ".Dv MNT_FORCE"
+.It Dv MNT_FORCE
+Open files are forcibly closed before the file system is unmounted.
+.El
 .It Fa td
 Thread which is unmounting the file system.
 .El
-.Pp
-If the
-.Dv MNT_FORCE
-flag is specified then open files should be forcibly closed.
 .Sh SEE ALSO
 .Xr vflush 9 ,
 .Xr VFS 9 ,
--
($BM-(B)$B>.6b4]%3%s%T%e!<%?%(%s%8%K%"%j%s%0%5!<%S%9(B ($BJ!2,8)BgLn>k;T(B)
	$B>.6b4](B $B?.9,(B (Nobuyuki Koganemaru)
E-Mail: n-kogane@syd.odn.ne.jp
E-Mail: kogane@jp.FreeBSD.org
E-Mail: kogane@koganemaru.co.jp
URL: http://www.koganemaru.co.jp
