automount

AUTOMOUNT(8)                System Manager's Manual               AUTOMOUNT(8)



åå
       automount - autofs ã®ãã¦ã³ããã¤ã³ããè¨å®ãã

æ¸å¼
       automount [options] mount-point map-type[,format] map [map-options]

説æ
       automount ããã°ã©ã 㯠autofs (Linux çµã¿è¾¼ã¿ã®ãªã¼ããã¦ã³ãã·ã¹ãã ) ã®
       ãã¦ã³ããã¤ã³ããè¨å®ããããã«ä½¿ãããã automount ã¯ãã¼ã¹ã¨ãªã mount-point ã¨
       map ãå¼ãæ°ã«åãã ãã¼ã¹ã§ãã mount-point
       以ä¸ã®ãã¡ã¤ã«ã·ã¹ãã ãã¢ã¯ã»ã¹ãããã¨ãã«ã ãããã®å¼ãæ°ã (ä»ã® options
       ã¨çµã¿åããã¦) 使ã£ã¦ èªåçã«ãã¦ã³ãããã
       ãã¡ã¤ã«ã·ã¹ãã ã¯ã¢ã¯ã»ã¹ãä¸å®æéåããªãã¨ã èªåçã«ã¢ã³ãã¦ã³ããããã

ãªãã·ã§ã³
       -p, --pid-file
              ãã¼ã¢ã³ã®ããã»ã¹ ID (pid) ãæå®ããããã¡ã¤ã«ã«æ¸ãåºãã

       -t, --timeout
              ãã£ã¬ã¯ããªãã¢ã³ãã¦ã³ããããã¾ã§ã®æå°ã¿ã¤ã ã¢ã¦ããç§åä½ã§è¨å®ããã
              ããã©ã«ã㯠5 ç§ã§ããã ã¿ã¤ã ã¢ã¦ãã 0 ã«è¨‐
              å®ããã¨ãã¢ã³ãã¦ã³ãã¯å¨ãè¡ãããªãã

       -v, --verbose
              ä¸è¬çãªç¶æã¨é²æã¡ãã»ã¼ã¸ã®è¡¨ç¤ºãæå¹ã«ããã

       -d, --debug
              ãããã°ã¡ãã»ã¼ã¸ã¨ã¨ãã«ã ä¸è¬çãªç¶æã¨é²æã¡ãã»ã¼ã¸ã®è¡¨ç¤ºãæå¹ã«ããã

       -g, --ghost
              automount ã®ãã£ã¬ã¯ããªã¯è¡¨ç¤ºããããã
              ã¢ã¯ã»ã¹ãããã¾ã§ã¯ãã¦ã³ãããªãããã«è¦æ±ããã
              ã¯ã¤ã«ãã«ã¼ããããã¯ã´ã¼ã¹ãåã§ããªãã

       -V, --version
              ãã¼ã¸ã§ã³çªå·ã表示ãã¦ãçµäºããã

å¼ãæ°
       automount ã¯å°ãªãã¨ã 3 ã¤ã®å¼ãæ°ãåãã å¿é ã®å¼ãæ°ã«ã¯ mount-point, map-
       type, map ãå«ã¾ããã å¿é ã®å¼ãæ°ã¨å¿é ã§ã¯ãªãå¼ãæ°ã®ä¸¡æ¹ã以ä¸ã§èª¬æããã

       mount-point
              autofs ã§ãã¦ã³ãããããã¡ã¤ã«ã·ã¹ãã ãç½®ããããã¼ã¹ã®ä½ç½®ã ãã㯠(mkdir
              -p ã«ãã) ä½æããã¦ã automount ãçµäºããæã« (rmdir -p ã«ãã) åé¤ããã
              ãã£ã¬ã¯ããªã®ååã§ããã

       map-type
              automount ã®å¼ã³åºãã«ä½¿ããããããã®ã¿ã¤ãã
              æå¹ãªãããã®ã¿ã¤ãã¯ä»¥ä¸ã®éã:

              file   ãããã¯é常ã®ããã¹ããã¡ã¤ã«ã§ããã

              program
                     ãããã¯å®è¡å¯è½ããã°ã©ã ã§ããã ãã®ããã°ã©ã ã¯ã³ãã³ãã©ã¤ã³ããã‐
                     ã¼ã渡ããã æåããå ´åã¯æ¨æºåºåã«ã¨ã³ããªãè¿ãããã

              yp     ããã㯠NIS (YP) ãã¼ã¿ãã¼ã¹ã§ããã

              nisplus
                     ããã㯠NIS+ ãã¼ã¿ãã¼ã¹ã§ããã

              hesiod ããã㯠hesiod ãã¼ã¿ãã¼ã¹ã§ããã filsys
                     ã¨ã³ããªããããã¨ãã¦ä½¿ãããã

              ldap   ãããå㯠[//servername/]basedn ã¨ããå½¢å¼ã§ããã ãªãã·ã§ã³ã®
                     servername ã¯ã¯ã¨ãªãè¡ã LDAP ãµã¼ãã®ååã§ããã basedn 㯠DN
                     ã§ããããã® DN 以ä¸ã§ãµãããªã¼ã®æ¤ç´¢ãè¡ãªãããã automountMap
                     ãªãã¸ã§ã¯ãã¯ã©ã¹ã¨ nisMap (RFC 2307) ãªãã¸ã§ã¯ãã¯ã©ã¹ã® 2
                     ã¤ã® LDAP ã¹ãã¼ãããµãã¼ãããã¦ããã

              automountMap ã¹ãã¼ãã«ãããã¨ã³ããªã¯ã æå®ããããµãããªã¼ã«ãã automount
              ãªãã¸ã§ã¯ãã§ããã ãã㧠cn å±æ§ã¯ãã¼ã§ãã (ã¯ã¤ã«ãã«ã¼ããã¼ã¯ "/")ã
              automountInformation å±æ§ã¯
              ãªã¼ããã¦ã³ãã·ã¹ãã ã§ä½¿ç¨ãããæå ±ãä¿æããã
              ãã®ã¢ã¸ã¥ã¼ã«ã§ä½¿ç¨ãããã¹ãã¼ãã®ããã¥ã¡ã³ãã¯
              http://docs.sun.com/source/806-4251-10/mapping.htm ãã
              ãªã³ã©ã¤ã³ã§å¥æã§ããã

              RFC 2307 ã¹ãã¼ãã¨ã³ããªã¯ nisObject ãªãã¸ã§ã¯ãã§ããã cn å±æ§ã¯ã‐
              ã¼ã¨ãã¦ä½¿ç¨ããã nisMapEntry
              ã¯ãªã¼ããã¦ã³ãã·ã¹ãã ã§ä½¿ç¨ãããæå ±ãä¿æããã

       format ããããã¼ã¿ã®ãã©ã¼ãããã ç¾å¨ã®ã¨ããèªèããããã©ã¼ãããã¯ã sun 㨠hesiod
              ã®ã¿ã§ããã sun 㯠Sun ãªã¼ããã¦ã³ãã·ã¹ãã ã®
              ããããã©ã¼ãããã®ãµãã»ããã§ããã hesiod 㯠hesiod filesys ã¨ã³ããªã§ããã
              ãã©ã¼ããããæå®ãããªãå ´åã hesiod 以å¤ã®å¨ã¦ã®ãããã¿ã¤ãã®ããã©ã«ãã¯
              sun ã§ããã

       map    使ç¨ãããããããã¡ã¤ã«ã®ä½ç½®ã ãããã¿ã¤ãã file ã¾ã㯠program
              ã®å ´åã¯ã UNIX ã®çµ¶å¯¾ãã¹åã§ããã ãããã¿ã¤ãã yp, nisplus, hesiod
              ã®å ´åã¯ã ãã¼ã¿ãã¼ã¹ã®ååã§ããã

       options
              åé ã«ããã·ã¥ (-) ããªãæ®ãã®ã³ãã³ãã©ã¤ã³å¼ãæ°ã¯ã mount ã®ãªãã·ã§ã³
              (-o) ã¨ãã¦æ±ãããã
              åé ã«ããã·ã¥ãä»ããå¼ãæ°ã¯ãããã®ãªãã·ã§ã³ã¨ãã¦æ±ãããã

              sun ãã©ã¼ãããã¯ä»¥ä¸ã®ãªãã·ã§ã³ããµãã¼ããã:

              -Dvariable=value
                     ãããç½®æã«ãã㦠variable ã value ã§ç½®ãæããã

              -strict
                     ãã¡ã¤ã«ã·ã¹ãã ããã¦ã³ãããã¨ãã®ã¨ã©ã¼ãè´å½çãªãã®ã¨ãã¦æ±ãã
                     ããã¯è¤æ°ã®ãã¡ã¤ã«ã·ã¹ãã ããã¦ã³ãããã (`multimounts')
                     ã®æã«éè¦ã§ããã ãã®ãªãã·ã§ã³ãæå®ãããå ´åã ãã¡ã¤ã«ã·ã¹ãã ã 1
                     ã¤ã§ããã¦ã³ãã§ããªãå ´åã¯ã
                     å¨ã¦ã®ãã¡ã¤ã«ã·ã¹ãã ããã¦ã³ããããªãã

注æ
       automount ãã¼ã¢ã³ãã·ã°ãã« USR1 ããã£ããããã¨ã autofs
       ãã¦ã³ãããã¦ãããã¡ã¤ã«ã·ã¹ãã ã®ãã¡ ç¾å¨ä½¿ç¨ããã¦ããªããã®å¨ã¦ãã¢ã³ãã¦ã³ããã
       åä½ãç¶ãã (å¼·å¶çãªæéåã)ã ã·ã°ãã« TERM ã¾ã㯠USR2 ããã£ããããå ´åã autofs
       ãã¦ã³ãããã¦ãããã¡ã¤ã«ã·ã¹ãã ã®ãã¡ ç¾å¨ä½¿ç¨ããã¦ããªããã®å¨ã¦ãã¢ã³ãã¦ã³ããã
       å¨ã¦ã®ãã¡ã¤ã«ã·ã¹ãã ãã¢ã³ãã¦ã³ããããå ´åã«ã¯çµäºããã 使ç¨ä¸ (busy)
       ã®ãã¡ã¤ã«ã·ã¹ãã ã¯ã¢ã³ãã¦ã³ããããªãã ãã®ãã¼ã¢ã³ã¯ HUP ã·ã°ãã«ã«ãå¿çããã
       HUP ã·ã°ãã«ã¯ãã´ã¼ã¹ãåãå®è£ããã¦ããããã (ç¾å¨ã®ã¨ãã㯠FILE 㨠NIS ããã)
       ã«å¯¾ãã¦ã¯ãæ´æ°ã®å¼éã¨ãªãã

       ãã¼ã¢ã³ã«çµäºã·ã°ãã«ãéãããæã« autofs ãã£ã¬ã¯ããªèªèº«ã使ç¨ä¸ã®å ´åã
       ãã¼ã¢ã³ã¯ autofs ãã¡ã¤ã«ã·ã¹ãã ãã¢ã³ãã¦ã³ãããã«çµäºããã
       ãã¡ã¤ã«ã·ã¹ãã ã¯åä½åæ¢ (æ©è½ãã¦ããªã) ç¶æã®ã¾ã¾ã«ããã
       使ç¨ãããªããªã£ãã¨ãã«ã¢ã³ãã¦ã³ããããã

é¢é£é ç®
       autofs(5), mount(8).

ãã°
       æã¾ããæ©è½ãé常ã«ä¸è¶³ãã¦ãã (TODO ãã¡ã¤ã«ãåç§)ã

       ããã¥ã¡ã³ãã®ä¿®æ£ãããç®æããã®ã¾ã¾ã«ããã¦ããã

       ãã®ä»ã®ãã°ã¯è©³ç´°ãªèª¬æã¨å±ã« <autofs@linux.kernel.org> ã¸å ±åãã¦ã»ããã
       ã¡ã¼ãªã³ã°ãªã¹ãã¸ã®åå æ¹æ³ã¨ã¢ã¼ã«ã¤ãã«ã¤ãã¦ã¯ã
       http://linux.kernel.org/mailman/listinfo/autofs ãè¦ã¦ã»ããã

èè
       H. Peter Anvin <hpa@transmeta.com>



                                  14 Jan 2000                     AUTOMOUNT(8)