mknod

MKNOD(1)                           ç¨æ·å½ä»¤                          MKNOD(1)



å称
       mknod - å建åæèå符ç¹æ®æ件

æ¦è¿°
       mknod [é项]... å称 ç±»å [主设å¤å· ä»è®¾å¤å·]

æè¿°
       使ç¨æå®æ件å称åç»å®ç±»åå建ç¹æ®æ件ã

       å¿éåæ°å¯¹é¿çé项åæ¶éç¨ã

       -m, --mode=模å¼
              å°æ件æéä½è®¾ç½®ä¸ºç»å®ç模å¼ï¼ç±»ä¼¼ chmodï¼ï¼èä¸æ¯ç±»ä¼¼ a=rw
              è¿æ ·

       -Z     å° SELinux å®å¨ä¸ä¸æ设置为é»è®¤ç±»å

       --context[=CTX]
              类似 -Zï¼æèå¦ææå®äºä¸ä¸æï¼åå° SELinux æè SMACK
              å®å¨ä¸ä¸æ设置为æå®ç±»å

       --help æ¾ç¤ºæ¤å¸®å©ä¿¡æ¯å¹¶éåº

       --version
              æ¾ç¤ºçæ¬ä¿¡æ¯å¹¶éåº

       å½ç±»å为 bãc æè u æ¶ï¼å¿é¡»åæ¶æå®ä¸»è®¾å¤å·åä»è®¾å¤å·ï¼å½ç±»å为 p
       æ¶å®ä»¬å¿é¡»åæ¶è¢«çç¥ãå¦æ主设å¤å·åä»è®¾å¤å·ä»¥ 0x æè 0X
       èµ·å§ï¼å®å°è¢«è§£é为ååè¿å¶æ°æ®ï¼å¦åï¼å¦æå®ä»¥ 0
       èµ·å§ï¼åçä½å«è¿å¶ï¼å¦åçä½åè¿å¶ãææå®ç±»åå¯ä»¥ä¸ºï¼

       b      å建ä¸ä¸ªåï¼ç¼å²ï¼ç¹æ®æ件

       c, u   å建ä¸ä¸ªå符ï¼æ ç¼å²ï¼ç¹æ®æ件

       p      å建ä¸ä¸ª FIFO

       注æï¼æ¨ç shell å¯è½æä¾äºå®èªå·±çæ¬ç
       mknodï¼ä¸å®é常é½ä¼è¦çè¿éææè¿°ççæ¬ã请åèæ¨æç¨ shell
       çæ档以äºè§£å®ä»¬ææ¯æé项çç»èã

ä½è
       ç± David MacKenzie ç¼åã

æ¥åé误
       GNU coreutils çå¨çº¿å¸®å©ï¼ <http://www.gnu.org/software/coreutils/>
       请å <http://translationproject.org/team/zh_CN.html> æ¥å mknod
       çç¿»è¯é误ã

çæ
       Copyright © 2017 Free Software Foundation, Inc.  License GPLv3+: GNU
       GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
       This is free software: you are free to change and redistribute it.
       There is NO WARRANTY, to the extent permitted by law.

åè§
       mknod(2)

       å®æ´æ档请è§ï¼<http://www.gnu.org/software/coreutils/mknod>
       æèå¨æ¬å°ä½¿ç¨ï¼ info '(coreutils) mknod invocation'

è·
       æ¬é¡µé¢ä¸æçç±ä¸æ man æå页计åæä¾ã
       ä¸æ man æå页计åï¼https://github.com/man-pages-zh/manpages-zh



GNU coreutils 8.28                2017å¹´10æ                          MKNOD(1)