免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1484 | 回复: 3
打印 上一主题 下一主题

[学习分享] mke2fs -i 这个参数是什么意思啊?谢谢 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-11-14 13:12 |只看该作者 |倒序浏览
这个我看过man文档了,但是不理解到底是什么意思。不应该是指定inode容量的啊

论坛徽章:
33
荣誉会员
日期:2011-11-23 16:44:17天秤座
日期:2014-08-26 16:18:20天秤座
日期:2014-08-29 10:12:18丑牛
日期:2014-08-29 16:06:45丑牛
日期:2014-09-03 10:28:58射手座
日期:2014-09-03 16:01:17寅虎
日期:2014-09-11 14:24:21天蝎座
日期:2014-09-17 08:33:55IT运维版块每日发帖之星
日期:2016-04-17 06:23:27操作系统版块每日发帖之星
日期:2016-04-18 06:20:00IT运维版块每日发帖之星
日期:2016-04-24 06:20:0015-16赛季CBA联赛之天津
日期:2016-05-06 12:46:59
2 [报告]
发表于 2013-11-14 14:15 |只看该作者
回复 1# 坐在地平线
  1. -i bytes-per-inode
  2.               Specify  the  bytes/inode  ratio.   mke2fs  creates an inode for
  3.               every bytes-per-inode bytes of space on the  disk.   The  larger
  4.               the  bytes-per-inode  ratio,  the  fewer inodes will be created.
  5.               This value generally shouldn’t be smaller than the blocksize  of
  6.               the  filesystem,  since  in  that case more inodes would be made
  7.               than can ever be used.  Be warned that it  is  not  possible  to
  8.               expand the number of inodes on a filesystem after it is created,
  9.               so be careful deciding the correct value for this parameter.
复制代码
看这段的意思, -i 后面指定的应该是 每个inode指向的字节数.

论坛徽章:
1
戌狗
日期:2014-08-05 13:32:44
3 [报告]
发表于 2013-11-15 11:27 |只看该作者
路过 。。。

论坛徽章:
0
4 [报告]
发表于 2013-12-03 21:52 |只看该作者
谢谢大家,终于明白了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP