当前位置:网站首页>Ext4 file system opens dir_ After nlink feature, link_ Use link after count exceeds 65000_ Count=1 means the quantity is unknown
Ext4 file system opens dir_ After nlink feature, link_ Use link after count exceeds 65000_ Count=1 means the quantity is unknown
2022-07-26 09:17:00 【Wangwanlin Ben】
As shown in the figure below , Create a tempdir Folder , Then create subfolders in batch :
First create 64998 Subfolders , You can see link_count from 2 Add to 65000 individual , In line with expectations ;
To create a 1 A folder , see link_count It turned out to be 1; And delete some subfolders , Stay in 64998 Within a ,link_count Nor did it return to the correct value .

View file system types , yes ext4

principle
| 0x1A | __le16 | i_links_count | Hard link count. Normally, ext4 does not permit an inode to have more than 65,000 hard links. This applies to files as well as directories, which means that there cannot be more than 64,998 subdirectories in a directory (each subdirectory's '..' entry counts as a hard link, as does the '.' entry in the directory itself). With the DIR_NLINK feature enabled, ext4 supports more than 64,998 subdirectories by setting this field to 1 to indicate that the number of hard links is not known. |
Reference material
196405 – mkdir mishandles st_nlink in ext4 directory with 64997 subdirectories
边栏推荐
- Voice chat app source code - Nath live broadcast system source code
- [MySQL] how to execute an SQL statement (2)
- Datax的学习笔记
- Go intelligent robot alpha dog, alpha dog robot go
- (1) CTS tradefed test framework environment construction
- unity TopDown角色移动控制
- 深度学习常用激活函数总结
- Nuxt - Project packaging deployment and online to server process (SSR server rendering)
- Study notes of canal
- MySQL strengthen knowledge points
猜你喜欢

Original root and NTT 5000 word explanation

Sending and receiving of C serialport

redis原理和使用-安装和分布式配置

2022化工自动化控制仪表操作证考试题模拟考试平台操作

(2006, MySQL server has gone away) problem handling
![[online problem] timeout waiting for connection from pool problem troubleshooting](/img/f0/7e8444ed7d0921b98d5e998e274bc8.png)
[online problem] timeout waiting for connection from pool problem troubleshooting

Datawhale panda book has been published!

Cat安装和使用

Li Mu D2L (IV) -- softmax regression

Matlab 绘制阴影误差图
随机推荐
【final关键字的使用】
聪明的美食家 C语言
李沐d2l(五)---多层感知机
STM32+MFRC522完成IC卡号读取、密码修改、数据读写
mysql函数
JS - DataTables 关于每页显示数的控制
Error: cannot find module 'UMI' problem handling
【Mysql】redo log,undo log 和binlog详解(四)
力扣——二叉树剪枝
PAT 甲级 A1076 Forwards on Weibo
Object 的Wait Notify NotifyAll 源码解析
CF1481C Fence Painting
【Mysql】认识Mysql重要架构(一)
对标注文件夹进行清洗
[online problem] timeout waiting for connection from pool problem troubleshooting
2022流动式起重机司机考试题模拟考试题库模拟考试平台操作
滑动窗口、双指针、单调队列、单调栈
Canal 的学习笔记
HBuilderX 运行微信开发者工具 “Fail to open IDE“报错解决
十大蓝筹NFT近半年数据横向对比