GNU coreutils 8.28
manpages-zh
Chinese manual pages
man-pages-zh_tw
Traditional Chinese Linux man pages
coreutils
The basic file, shell and text manipulation utilities of the GNU operating system
coreutils-common
coreutils common optional components
coreutils-doc
Documentation for the GNU Core Utilities
名稱
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 |
作者
由 David MacKenzie 編寫。
報告錯誤
GNU coreutils 的在線幫助: <http://www.gnu.org/software/coreutils/>
請向 <http://translationproject.org/team/zh_CN.html> 報告 mknod 的翻譯錯誤。
請向 <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.
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 \(aq(coreutils) mknod invocation\(aq
或者在本地使用: info \(aq(coreutils) mknod invocation\(aq
跋
本頁面中文版由中文 man 手冊頁計劃提供。
中文 man 手冊頁計劃:https://github.com/man-pages-zh/manpages-zh
中文 man 手冊頁計劃:https://github.com/man-pages-zh/manpages-zh