Ext4允许的最大子目录数是多少? [英] What is the maximum number of subdirectories allowed in Ext4?

查看:351
本文介绍了Ext4允许的最大子目录数是多少?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在考虑将ext3分区移至ext4,以克服32000子目录的限制.我已经看到两个关于ext4限制的数字,它们都是来自信誉良好的来源:

I am considering moving my ext3 partition to ext4 in order to overcome the 32000 subdirectory limit. I have seen two different numbers thrown around about the limits of ext4, both from reputable sources:

限量64,000:

  • ext4.wiki.kernel.org
  • SO ServerFault

无限:

  • Kernel Newbies
  • Kernel.org
  • SO SuperUser

什么是正确答案?如何从ext4来源确定正确答案?

What is the correct answer, and how can I determine the correct answer from the ext4 source?

推荐答案

限制为64000.直到启用文件系统功能标志 dir_nlink

The limit is 64000. Until you enable the file system feature flag dir_nlink

http://man7.org/linux/man-pages/man5/ext4.5.html

http://www.ispexperts.com.np/?p=797

这篇关于Ext4允许的最大子目录数是多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆