.\" Copyright (c) 1989, 1991, 1993 .\" The Regents of the University of California. All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: .\" 1. Redistributions of source code must retain the above copyright .\" notice, this list of conditions and the following disclaimer. .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. .\" 3. All advertising materials mentioning features or use of this software .\" must display the following acknowledgement: .\" This product includes software developed by the University of .\" California, Berkeley and its contributors. .\" 4. Neither the name of the University nor the names of its contributors .\" may be used to endorse or promote products derived from this software .\" without specific prior written permission. .\" .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" .\" @(#) mountd. 8 8.4 (Berkeley) 4/28/95 .\" %FreeBSD: src/usr.sbin/mountd/mountd. 8, v 1.23 2002/08/11 15:21:06 mux Exp % .\" .\" $FreeBSD: doc/ja_JP.eucJP/man/man8/mountd. 8, v 1.16 2002/11/18 06:17:44 horikawa Exp $ .\" .Dd April 28, 1995 .Dt MOUNTD 8 .Os .Sh ¸íĪ .Nm mountd .Nd ¸®¸ðÆ®ÀÇ .Tn NFS mount ¿ä±¸¿¡ ´ëÇÑ ¼­ºñ½º¸¦ ½Ç½ÃÇÏ´Â demon .Sh ¼­½Ä .Nm .Op Fl 2dlnr .Op Ar exportsfile .Sh ÇØ¼³ .Nm À¯Æ¿¸®Æ¼´Â, ´Ù¸¥ Ŭ¶óÀÌ¾ðÆ® ¸Ó½ÅÀ¸·ÎºÎÅÍÀÇ .Tn NFS mount ¿ä±¸¸¦ À§ÇÑ ¼­¹öÀÔ´Ï´Ù. .Nm (Àº)´Â, .Tn NFS ¼­¹öÀÇ »ç¾çÀ¸·Î ³ªÅ¸³ª°í ÀÖ´Â Æ÷Æ® ¹øÈ£·Î ¼­ºñ½º ¿ä±¸¸¦ ±â´Ù¸³´Ï´Ù. ÀÚ¼¼ÇÑ °ÍÀº RFC1094 . %T "Network File System Protocol Specification" ÀÇ Appendix A ¿Í . %T "NFS: Network File System Version 3 Protocol Specification" ÀÇ Appendix I (À»)¸¦ ÂüÁ¶ÇØ ÁÖ¼¼¿ä. .Pp .Nm ±×·³, ÀÌÇÏÀÇ ¿É¼ÇÀ̳ª Àμö¸¦ ÁöÁ¤ÇÒ ¼ö ÀÖ½À´Ï´Ù: .Bl -tag -width indent .It Fl 2 ÀÌ ¼­¹ö·ÎºÎÅÍ ÆÄÀÏ ½Ã½ºÅÛÀ» mount Çϴ Ŭ¶óÀÌ¾ðÆ®¿¡ ´ëÇØ, °ü¸®ÀÚ´Â ¹öÁ¯ 2 .Tn NFS ÇÁ·ÎÅäÄݸ¸ÀÇ »ç¿ëÀ» °­Á¦ÇÒ ¼ö ÀÖ½À´Ï´Ù. .It Fl d µð¹ö±× Á¤º¸¸¦ Ãâ·ÂÇÕ´Ï´Ù. .It Fl l ¼º°øÇß´Ù .Nm ¿ä±¸¸¦ ±â·ÏÇÕ´Ï´Ù. .It Fl n ºñ root ·ÎºÎÅÍÀÇ mount ¿ä±¸¸¦ Çã°¡ÇÕ´Ï´Ù. ÀÌ ¿É¼ÇÀº, Ŭ¶óÀÌ¾ðÆ®°¡ PC ÀÎ µî, ±×°ÍÀÌ ¾Æ¹«·¡µµ ÇÊ¿äÇÑ °æ¿ì¿¡°Ô¸¸ »ç¿ëÇϵµ·Ï ÇØ ÁÖ¼¼¿ä. ±× °æ¿ì, ÀÚµ¿ÀûÀ¸·Î vfs.nfsrv.nfs_privport sysctl Ç÷¡±×°¡ Ŭ¸®¾î µË´Ï´Ù. ÀÌ Ç÷¡±×´Â Ä¿³ÎÀÌ NFS ¿ä±¸¸¦ ¹Þ¾ÆµéÀÌ´Â °ÍÀÌ, ¿¹¾àµÈ Æ÷Æ®·ÎºÎÅ͸¸Áö ¾Æ´ÑÁö¸¦ Á¦¾îÇÕ´Ï´Ù. .It Fl r Åë»ó ÆÄÀÏ¿¡ ´ëÇÑ mount RPC ¿ä±¸¸¦ Çã°¡ÇÕ´Ï´Ù. À̰ÍÀº, mount ÇÁ·ÎÅäÄÝÀÇ »ç¾ç¿¡ ÀÇÇϸé À§ÇèÇÑ °Í °°½À´Ï´Ù¸¸, ¸î°³ÀÇ µð½ºÅ©·¹½º¿öÅ©½ºÅ×À̼ÇÀº, ½ºžÆ ÆÄÀÏÀ» mount ÇÏ·Á°í Çϰí, ±×°ÍÀÌ Åë»ó ÆÄÀÏÀÎ °ÍÀ» ±â´ëÇϰí ÀÖ½À´Ï´Ù. Åë»ó ÆÄÀÏÀº .Pa /etc/exports ±×¸®°í ÁöÁ¤ÇÒ ¼ö ¾ø±â ¶§¹®¿¡, ½º¿ÒÀÌ ³õ¿©Áö·Á Çϰí ÀÖ´Â ÆÄÀÏ ½Ã½ºÅÛ Àüü ÇÏÁö¸¸, .Fl alldirs Ç÷¡±×¿Í ÇÔ²² °ø°³µÇ¾î ÀÖÁö ¾ÊÀ¸¸é ¾ÈµË´Ï´Ù. .It Ar exportsfile exports ÆÄÀÏÀÇ µÎ´Â °÷¼Ò¸¦ ÁöÁ¤ÇÕ´Ï´Ù. .El .Pp ±âµ¿µÇ¸é(ÀÚ), .Nm ÇÏ .Xr mount 2 ½Ã½ºÅÛ ÄÝ¿¡ ÀÇÇØ, °ø°³Çϴ ȣ½ºÆ® ÁÖ¼Ò¿Í ¿É¼ÇÀ» Ä¿³Î³»¿¡ ·ÎµåÇÕ´Ï´Ù. °ø°³ ¼³Á¤ ÆÄÀÏÀ» º¯°æÇßÀ» °æ¿ì´Â, .Nm ¿¡ ´ëÇØ¼­ ȸ¼± Àý´Ü ½Ã±×³ÎÀ» º¸³» °ø°³ ¼³Á¤ Á¤º¸¸¦ Àç·ÎµåÇÒ Çʿ䰡 ÀÖ½À´Ï´Ù. .Dv SIGHUP (À»)¸¦ º¸³½ µÚ(¿¹: kill \-s HUP `cat /var/run/mountd.pid` ), exports ÆÄÀÏ¿¡ ¿¡·¯°¡ ÀÖ´ÂÁö ¾î¶²Áö, .Nm ÀÇ Ãâ·ÂÀ» Ã¼Å©ÇØ ÁÖ¼¼¿ä. .Pp µ¿ÀÛÁßÀÇ Ä¿³ÎÀº .Tn NFS (À»)¸¦ Â¥³ÖÁö ¾ÊÀº °ÍÀ¸·Î ÀÖ´Ù°í ÆÇ¸íµÇ¾úÀ» °æ¿ì, .Nm (Àº)´Â, .Xr kldload 2 (À»)¸¦ »ç¿ëÇØ, .Tn NFS (À»)¸¦ Æ÷ÇÔÇÑ ·Î´õ ºÒÄ«-³×·ç ¸ðµâÀÇ ·Îµå¸¦ ½ÃµµÇÕ´Ï´Ù. À̰ÍÀÌ ½ÇÆÐÇÏ´ÂÁö, .Tn NFS KLD ¸¦ »ç¿ëÇÒ ¼ö ¾ø´Â °æ¿ì´Â, .Nm (Àº)´Â ¿¡·¯ Á¾·áÇÕ´Ï´Ù. .Sh °ü·Ã ÆÄÀÏ .Bl -tag -width /var/run/mountd.pid -compact .It Pa /etc/exports °ø°³ ¼³Á¤ ÆÄÀÏ (export ÆÄÀÏ) .It Pa /var/run/mountd.pid ÇöÀç ½ÇÇàÁßÀÇ .Nm ÀÇ ÇÁ·Î¼¼½º id .Tn ID .It Pa /var/db/mountdtab ÇöÀç mount µÇ°í ÀÖ´Â ¸®¸ðÆ® ÆÄÀÏ ½Ã½ºÅÛÀÇ ¸®½ºÆ® .El .Sh °ü·Ã Ç׸ñ .Xr nfsstat 1 , .Xr kldload 2 , .Xr exports 5 , .Xr nfsd 8 , .Xr rpcbind 8 , .Xr showmount 8 .Sh ¿ª»ç .Nm À¯Æ¿¸®Æ¼´Â .Bx 4.4 (À¸)·ÎºÎÅÍ µîÀåÇϰí ÀÖ½À´Ï´Ù.