San风夕 发表于 2014-12-31 17:59

ls命令输出求解

本帖最后由 San风夕 于 2014-12-31 18:00 编辑

如下所示,不明白这里的21, 5是什么意思,,在做日志绕接的时候有用到,,
root@osssvr-1 # ls -lL /dev/log
crw-r-----   1 root   sys       21,5 Jul7 11:07 /dev/log

San风夕 发表于 2015-01-04 11:44

mknod name c major minor

   major    The major device number.

   minor    The minor device number; can be eitherdecimalor
            octal.Theassignmentof major device numbers is
            specific to each system. You must be the super-user
            to use this form of the command.

这里的21, 5就是major和minor;
页: [1]
查看完整版本: ls命令输出求解