From owner-man-jp-reviewer@jp.freebsd.org  Sun Nov  1 21:25:48 1998
Received: (from daemon@localhost)
	by jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) id VAA19460;
	Sun, 1 Nov 1998 21:25:48 +0900 (JST)
	(envelope-from owner-man-jp-reviewer@jp.FreeBSD.org)
Received: from mail.nk.rim.or.jp (root@mail.nk.rim.or.jp [202.247.130.165])
	by jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) with ESMTP id VAA19455
	for <man-jp-reviewer@jp.freebsd.org>; Sun, 1 Nov 1998 21:25:46 +0900 (JST)
	(envelope-from kuma@nk.rim.or.jp)
Received: from oasis.laurel.nk.rim.or.jp (ppp025.nk.rim.or.jp [202.247.176.25])
	by mail.nk.rim.or.jp (8.8.5/3.6W-RIMNET-98-06-09) with ESMTP id VAA13898
	for <man-jp-reviewer@jp.freebsd.org>; Sun, 1 Nov 1998 21:25:43 +0900 (JST)
Received: from oasis.laurel.nk.rim.or.jp by oasis.laurel.nk.rim.or.jp (8.8.8/3.3W6-mini980720)
	id PAA01138; Sun, 1 Nov 1998 15:10:02 +0900 (JST)
Message-Id: <199811010610.PAA01138@oasis.laurel.nk.rim.or.jp>
To: man-jp-reviewer@jp.freebsd.org
Date: Sun, 01 Nov 1998 15:10:02 +0900
From: Norihiro Kumagai <kuma@nk.rim.or.jp>
Reply-To: man-jp-reviewer@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+980914
X-Sequence: man-jp-reviewer 633
Subject: [man-jp-reviewer 633] fixmount.8
Errors-To: owner-man-jp-reviewer@jp.freebsd.org
Sender: owner-man-jp-reviewer@jp.freebsd.org
X-Originator: kuma@nk.rim.or.jp

$B7'C+$G$9!#(B

fixmount.8 $B$b=iLu$G$9!#$3$l$O0l2U=j!"(B

 Symbolic links on the server will cause the path in the remote entry to
 differ from the one in /etc/mtab. To catch those cases, a filesystem is
 also deemed mounted if its local mount point is identical to the remote
 entry.  I.e., on a SunOS diskless client,
 server:/export/share/sunos.4.1.1 is actually /usr/share. Since the local
 mount point is /usr/share as well this will be handled correctly.

$B$N$H$3$m!"(B

 $B%5!<%P>e$N%7%s%\%j%C%/%j%s%/$O!"%j%b!<%H%(%s%H%j$N%Q%9$H(B /etc/mtab $B$NCf$N(B
 $B%Q%9$H$,0[$J$k860x$K$J$j$^$9!#$3$N$h$&$J;v>]$NH/@8$rJa$^$($k$K$O!"(B $B%m!<%+(B
 $B%k$N%^%&%s%H%]%$%s%H$,%j%b!<%H%(%s%H%j$HF10l$N>l9g$K!"%U%!%$%k%7%9%F%`$,(B
 $B%^%&%s%H$5$l$F$$$k$H9M$($k$3$H$G$9!#Nc$($P!"(BSunOS $B$N%G%#%9%/%l%9%/%i%$(B
 $B%"%s%H>e$N(B server:/export/share/sunos.4.1.1 $B$O!"<B:]$O(B /usr/share $B$G$9!#(B
 $B%m!<%+%k$N%^%&%s%H%]%$%s%H$,F1MM$K(B /usr/share $B$G$"$k$+$i!"$3$N%^%&%s%H$r(B
 $B@5$7$/07$&$3$H$,$G$-$k$N$G$9!#(B

$B$HLu$7$^$7$?$,!"$A$g$C$H$7$C$/$j$3$J$$!#$$$$%"%$%G%#%"5a$a$^$9!#(B

--
$B7'C+(B $BE5Bg(B

--- fixmount.8-org	Sat Oct 24 00:05:26 1998
+++ fixmount.8	Sun Nov  1 15:07:18 1998
@@ -44,136 +44,150 @@
 .Dd February 26, 1993
 .Dt FIXMOUNT 8
 .Os
-.Sh NAME
+.Sh "$BL>>N(B"
 .Nm fixmount
-.Nd fix remote mount entries
-.Sh SYNOPSIS
+.Nd $B%j%b!<%H%^%&%s%H%(%s%H%j$r=$@5$9$k(B
+.Sh "$B=q<0(B"
 .Nm
 .Op Fl adervq
 .Op Fl h Ar name
 .Ar host
 \&...
-.Sh DESCRIPTION
+.Sh "$B2r@b(B"
 .Nm
-is a variant of 
+$B$O!"(B
 .Xr showmount 8
-that can delete bogus mount entries in remote
+$B$N0l<o$G!"(B
+$B%j%b!<%H$N(B
 .Xr mountd 8
-daemons.  The actions specified by the options are performed for each
+$B%G!<%b%s$NCf$NIe$C$?%^%&%s%H%(%s%H%j$r:o=|$9$k$3$H$,$G$-$^$9!#(B
+$B%*%W%7%g%s$G;XDj$9$k%"%/%7%g%s$O!"(B
 .Ar host 
-in turn.
-.Sh OPTIONS
+$B$=$l$>$l$KBP$7$F=g<!E,MQ$5$l$^$9!#(B
+.Sh "$B%*%W%7%g%s(B"
 .Bl -tag -width Ds
 .It Fl a Fl d Fl e
-These options work as in
+$B$3$N%*%W%7%g%s$O!"%m!<%+%k%[%9%H$KB0$9%(%s%H%j$N$_$,I=<($5$l$k$H$$$&(B
+$BE@$r=|$1$P!"(B
 .Xr showmount 8
-except that only entries pertaining to the local host are printed.
+$B$N$=$l$N$h$&$KF0:n$7$^$9!#(B
 .It Fl r
-Removes those remote mount entries on
 .Ar host
-that do not correspond to current mounts, i.e., which are left-over
-from a crash or are the result of improper mount protocol.
-The actuality of mounts is verified using the entries in
-.Pa /etc/mtab .
+$B>e$N%j%b!<%H%^%&%s%H%(%s%H%j$G8=:_$N%^%&%s%H$H4X78$7$J$$$b$N!"(B
+$B$9$J$o$A%/%i%C%7%e$K$h$j;D$5$l$F$7$^$C$?%(%s%H%j$d!"(B
+$BITE,@Z$J%^%&%s%H%W%m%H%3%k$N7k2L@8$8$?%(%s%H%j$J$I$r:o=|$7$^$9!#(B
+$B<B:]$K%^%&%s%H$5$l$F$$$k$+$I$&$+$O!"(B
+.Pa /etc/mtab
+$B$K$"$k%(%s%H%j$rMQ$$$F3NG'$7$^$9!#(B
 .It Fl v
-Verify remote mounts.  Similar to
+$B%j%b!<%H$N%^%&%s%H$r3NG'$7$^$9!#(B
+$BIe$C$?%(%s%H%j$R$H$D$R$H$D$K$D$$$FDLCN%a%C%;!<%8$,I=<($5$l$k(B
+$BE@$r=|$1$P!"(B
 .Fl r
-except that only a notification message is printed for each bogus entry
-found.  The remote mount table is not changed.
+$B$HF1MM$G$9!#(B
+$B%j%b!<%H%^%&%s%H%F!<%V%k$OJQ99$5$l$^$;$s!#(B
 .It Fl A
-Issues a command to the remote mountd declaring that
-.Em all
-of its filesystems have been unmounted.  This should be used with caution, as
-it removes all remote mount entries pertaining to the local system, whether or
-not any filesystems are still mounted locally.
+$B%j%b!<%H$N(B mountd $B$KBP$7$F!"(B
+.Em $B$9$Y$F(B
+$B$N%U%!%$%k%7%9%F%`$,%"%s%^%&%s%H$5$l$F$7$^$C$F$$$k$3$H$r@k8@$9$k(B
+$B%3%^%s%I$rH/9T$7$^$9!#$3$N%3%^%s%I$O==J,Cm0U$7$FMQ$$$k$Y$-$G$9!#(B
+$B$H$$$&$N$O!"(B
+$B%m!<%+%k$G:#$J$*%^%&%s%H$7$F$$$k%U%!%$%k%7%9%F%`$NM-L5$K(B
+$B$+$+$o$i$:!"%m!<%+%k%7%9%F%`$KB0$9%j%b!<%H%^%&%s%H%(%s%H%j$N(B
+$B$9$Y$F$r:o=|$7$F$7$^$&$+$i$G$9!#(B
 .It Fl v
-Be quiet.  Suppresses error messages due to timeouts and
-.Dq Program not Registered ,
-i.e., due to remote hosts not supporting RPC or not running
-.Nm mountd .
+$B@E$+$K$7$^$9!#%?%$%`%"%&%H$d!"(B
+.Dq Program not Registered
+$B$9$J$o$A!"%j%b!<%H%[%9%H$,(B RPC $B$r%5%]!<%H$7$F$$$J$$$3$H$d!"(B
+.Nm mountd
+$B$r<B9T$7$F$$$J$$$3$H$K$h$k%(%i!<%a%C%;!<%8$rM^;_$7$^$9!#(B
 .It Fl h Ar name
-Pretend the local hostname is
-.Ar name .
-This is useful after the local hostname has been changed and rmtab entries
-using the old name remain on a remote machine.
-Unfortunately, most mountd's won't be able to successfully handle removal
-of such entries, so this option is useful in combination with
+$B%m!<%+%k%[%9%HL>$,(B
+.Ar name
+$B$G$"$k$+$N$h$&$K?6Iq$$$^$9!#(B
+$B$3$l$O!"%m!<%+%k%[%9%HL>$,JQ99$5$l$?$"$H$G!"8E$$L>A0$r;H$C$F$$$k(B rmtab
+$B%(%s%H%j$,%j%b!<%H%^%7%s>e$K;D$C$F$$$k>l9g$KM-MQ$G$9!#(B
+$B;DG0$J$,$i!"(Bmountd $B$N$[$H$s$I$O!"$3$N$h$&$J%(%s%H%j$N:o=|$r$&$^$/(B
+$B07$&$3$H$,$G$-$^$;$s!#$G$9$+$i!"$3$N%*%W%7%g%s$O!"(B
 .Fl v
-only.
+$B$@$1$HAH$_9g$o$;$F;H$&$HM-MQ$G$9!#(B
 .Pp
-This option also saves time as comparisons of remotely recorded and local
-hostnames by address are avoided.
-.Sh FILES
+$B$3$N%*%W%7%g%s$O!"%j%b!<%H$G5-O?$5$l$?%[%9%HL>$H%m!<%+%k$N%[%9%HL>$r(B
+$B%"%I%l%9$GHf3S$9$k:]$N;~4V$r@aLs$9$k$3$H$K$b$J$j$^$9!#(B
+.Sh "$B4XO"%U%!%$%k(B"
 .Bl -tag -width /axx
 .It Pa /etc/mtab
-List of current mounts.
+$B8=:_$N%^%&%s%H$N%j%9%H!#(B
 .It Pa /etc/rmtab
-Backup file for remote mount entries on
 .Tn NFS
-server.
+$B%5!<%P>e$K$"$k!"%j%b!<%H%^%&%s%H%(%s%H%j$N%P%C%/%"%C%W%U%!%$%k!#(B
 .El
-.Sh SEE ALSO
+.Sh "$B4XO"9`L\(B"
 .Xr mtab 5 ,
 .Xr rmtab 5 ,
 .Xr mountd 8 ,
-.Xr showmount 8 .
-.Sh BUGS
-No attempt is made to verify the information in
+.Xr showmount 8
+.Sh "$B%P%0(B"
 .Pa /etc/mtab
-itself.
+$B$=$l<+?H$N>pJs$r3NG'$7$h$&$H$9$k$3$H$O0l@Z$7$^$;$s!#(B
 .Pp
-Since swap file mounts are not recorded in
-.Pa /etc/mtab ,
-a heuristic specific to SunOS is used to determine whether such a mount
-is actual (replacing the string 
+$B%9%o%C%W%U%!%$%k$N%^%&%s%H$O(B
+.Pa /etc/mtab
+$B$K5-O?$5$l$J$$$?$a!"(B
+$B$=$N$h$&$J%^%&%s%H$,<B:]$K@8$8$F$$$k$+$I$&$+$rH=CG$9$k$?$a$K!"(B
+SunOS $B8GM-$NH=CG$N9)IW$rMQ$$$F$$$^$9(B ($BJ8;zNs(B
 .Ql swap 
-with 
+$B$r(B
 .Ql root
-and verifying the resulting path).
+$B$HCV49$7$F!"$=$N7k2L$N%Q%9$r3NG'$7$F$$$^$9(B)$B!#(B
 .Pp
-Symbolic links on the server will cause the path in the remote entry to differ
-from the one in 
-.Pa /etc/mtab .
-To catch those cases, a filesystem is also deemed mounted if its
-.Em local
-mount point is identical to the remote entry.
-I.e., on a SunOS diskless client,
+$B%5!<%P>e$N%7%s%\%j%C%/%j%s%/$O!"%j%b!<%H%(%s%H%j$N%Q%9$H(B
+.Pa /etc/mtab
+$B$NCf$N%Q%9$H$,0[$J$k860x$K$J$j$^$9!#(B
+$B$3$N$h$&$J;v>]$NH/@8$rJa$^$($k$K$O!"(B
+.Em $B%m!<%+%k$N(B
+$B%^%&%s%H%]%$%s%H$,%j%b!<%H%(%s%H%j$HF10l$N>l9g$K!"%U%!%$%k%7%9%F%`$,(B
+$B%^%&%s%H$5$l$F$$$k$H9M$($k$3$H$G$9!#(B
+$BNc$($P!"(BSunOS $B$N%G%#%9%/%l%9%/%i%$%"%s%H>e$N(B
 .Ic server:/export/share/sunos.4.1.1
-is actually
-.Pa /usr/share .
-Since the local mount point is
+$B$O!"<B:]$O(B
 .Pa /usr/share
-as well this will be handled correctly.
+$B$G$9!#(B
+$B%m!<%+%k$N%^%&%s%H%]%$%s%H$,F1MM$K(B
+.Pa /usr/share
+$B$G$"$k$+$i!"$3$N%^%&%s%H$r@5$7$/07$&$3$H$,$G$-$k$N$G$9!#(B
 .Pp
-There is no way to clear a stale entry in a remote 
-.Nm mountd 
-after the local hostname (or whatever reverse name resolution 
-returns for it) has been changed.  To take care of these cases,
-the remote
+$B%m!<%+%k%[%9%HL>(B ($B$^$?$OL>A0$N5U0z$-$,JV$9$b$N(B) $B$,JQ99$5$l$?8e$G!"(B
+$B%j%b!<%H$N(B
+.Nm mountd
+$B$NCf$NL58z(B(stale)$B%(%s%H%j$r%/%j%"$9$kJ}K!$O$"$j$^$;$s!#(B
+$B$3$N$h$&$J>l9g$NLLE]$r8+$k$?$a$K$O!"%j%b!<%H$N(B
 .Pa /etc/rmtab
-file has to be edited and
-.Mn mountd
-restarted.
+$B$rJT=8$7!"(B
+.Nm mountd
+$B$r:F%9%?!<%H$5$;$kI,MW$,$"$j$^$9!#(B
 .Pp
-The RPC timeouts for
 .Nm mountd
-calls can only be changed by recompiling. The defaults are 2 seconds 
-for client handle creation and 5 seconds for RPC calls.
-.Sh AUTHORS
+$B8F$S=P$7$N(B RPC $B%?%$%`%"%&%H$NJQ99$O!":F%3%s%Q%$%k$9$k$7$+$"$j$^$;$s!#(B
+$B%/%i%$%"%s%H%O%s%I%k@8@.$N%G%U%)%k%H$O(B 2 $BIC$G!"(BRPC $B8F$S=P$7$N(B
+$B%G%U%)%k%H$O(B 5 $BIC$G$9!#(B
+.Sh "$B:n<T(B"
 .An Jan-Simon Pendry Aq jsp@doc.ic.ac.uk ,
 Department of Computing, Imperial College, London, UK.
 .Pp
 .An Erez Zadok Aq ezk@cs.columbia.edu ,
 Department of Computer Science, Columbia University, New York, USA.
 .Pp
-.An Other authors and contributors to 
+.An $BB>$N:n<T(B
+$B$H(B
+.Nm am-utils
+$B$K9W8%$7$??M$N%j%9%H$O!"(B
 .Nm am-utils
-are listed in the
+$B$H$H$b$KG[I[$5$l$k%U%!%$%k(B
 .Nm AUTHORS 
-file distributed with
-.Nm am-utils .
-.Sh HISTORY
-The
+$B$NCf$K$"$j$^$9!#(B
+.Sh "$BNr;K(B"
 .Nm
-utility appeared in
-.Fx 3.0 .
+$B%f!<%F%#%j%F%#$O(B
+.Fx 3.0
+$B$GEP>l$7$^$7$?!#(B
