搬瓦工怎么做网站,上海整站seo,wordpress网站管理插件,下载ppt模板免费的网站参考博客#xff1a;mknod_liangkaiming的博客-CSDN博客
参考资料#xff1a;man手册
可以通过man 1 mknod查看mknod命令的内容。 1、mknod 命令的作用是make block or character special files#xff0c;即创建块设备或者字符设备文件。
2、mknod 命令的格式是#xf…参考博客mknod_liangkaiming的博客-CSDN博客
参考资料man手册
可以通过man 1 mknod查看mknod命令的内容。 1、mknod 命令的作用是make block or character special files即创建块设备或者字符设备文件。
2、mknod 命令的格式是mknod [OPTION]... NAME TYPE [MAJOR MINOR]
1OPTION的可选值与含义
-m, --modeMODE set file permission bits to MODE, not arw - umask-Z, --contextCTX set the SELinux security context of NAME to CTX--help display this help and exit--version output version information and exit
2NAME表示创建的设备文件的名字。
3TYPE可选值及含义
bcreate a block (buffered) special filec、ucreate a character (unbuffered) special filepcreate a FIFO
4MAJOR MINO表示主设备号、次设备号。
Both MAJOR and MINOR must be specified when TYPE is b, c, or u, and they must be omitted when TYPE is p. If MAJOR or MINOR begins with 0x or 0X, it is interpreted as hexadecimal; otherwise, if it begins with 0, as octal; otherwise, as decimal.