小编Nht*_*_e0的帖子

为什么 ls -i 比 ls 慢?

我知道ls列出给定目录中文件的名称,ls -i显示名称和 inode 编号。

但是为什么会慢呢?

编辑:这发生在大目录中

名字和inode号一起存放在目录信息块中,为什么查询inode号需要更多的时间呢?

ls inode directory-structure

0
推荐指数
1
解决办法
315
查看次数

标签 统计

directory-structure ×1

inode ×1

ls ×1