|
baby15500
中级用户
  
积分 438
发帖 146
注册 2004-3-10
状态 离线
|
『楼 主』:
发现fat32格式的严重局限性
使用 LLM 解释/回答一下
应该不能说是缺陷,当初设计的时候没考虑好,如果你使用的是FAT32,那么你将无法在一个子目录中存放超过一万个的文件数量,google搜索一下fat32 over 10000 files你可能会发现国外也有人讨论这类的问题,根据我自己测试,发现这个数据好像并不是固定的,有些目录可以存放七千多个文件,有些则只能存放六千多,就再也拷贝不进去了,无法你用msdos命令还是用工具软件,都无法把文件复制进去,根本达不到一万,把硬盘换成ntfs,问题得到解决,当然估计这个ntfs也是有上限的,具体数目现在还不知道,fat32每个目录不到一万的文件数量支持明显已经不能满足某些收集狂用户的需要
It should not be said to be a defect. It was not well considered during the initial design. If you are using FAT32, then you will not be able to store more than ten thousand files in a subdirectory. Searching Google for "fat32 over 10000 files" you may find that foreigners are also discussing such problems. According to my own tests, I found that this data does not seem to be fixed. Some directories can store more than seven thousand files, and some can only store more than six thousand, and then you can no longer copy files in. Whether you use msdos commands or tool software, you cannot copy files in, and it cannot reach ten thousand. Changing the hard drive to NTFS solves the problem. Of course, it is estimated that NTFS also has an upper limit, and the specific number is not known now. The support for less than ten thousand files per directory in FAT32 is obviously not enough for the needs of some collector users.
|
|
2005-12-29 00:50 |
|
|
Wengier
系统支持
             “新DOS时代”站长
积分 27736
发帖 10521
注册 2002-10-9
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
“严重局限性”这样说似乎太危言耸听了点吧。其实从理论上来说,FAT32分区中一个子目录中的文件数量的最大上限应该是65535,即六万多。然而,这是在没有长文件名的情况下,而由于长文件名也是会占用目录项的(长文件名是利用目录中的特殊属性位来存储的),所以,如果目录里面的长文件名越多、越长,那么该子目录中的文件数量实际上限就会越少。
不过,一般用户都不会在同一个子目录中放那么多文件吧?一般子目录中的文件就算比较多的时候也就几百,偶尔一两千,更不用说几千几万了,所以通常这种问题并不会出现。即使是收集狂,也没有必要或不应该把所有收集来的文件都全部放在一起而不进行归类吧?只要稍微归类一下,例如放在下一层子目录中, 既方便查找,又能更有效使用空间。
"Serious limitations" seems a bit alarmist. Actually, theoretically, the maximum number of files in a subdirectory of a FAT32 partition should be 65535, that is, more than 60,000. However, this is in the case without long filenames, and since long filenames also occupy directory entries (long filenames are stored using special attribute bits in the directory), so the more and longer the long filenames in the directory, the fewer the actual upper limit of the number of files in that subdirectory.
But generally, ordinary users won't put so many files in the same subdirectory? Usually, even when there are relatively many files in a subdirectory, it's only a few hundred, occasionally one or two thousand, let alone thousands or tens of thousands, so usually this problem won't occur. Even for collectors, there's no need or shouldn't put all collected files together without classification? As long as a little classification is done, for example, putting them in the next-level subdirectory, it's convenient for searching and can use space more effectively.
|

Wengier - 新DOS时代
欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)
 |
|
2005-12-29 03:50 |
|
|
baby15500
中级用户
  
积分 438
发帖 146
注册 2004-3-10
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
fat32目录结构设计得太保守了呀,以前不知道,这几天发现了,我下载了一套commodore amiga电脑主机的经典游戏全集,容量几十gb,里面是有按游戏类型分目录,但是每个目录文件数量都达到接近一万或者超过一万,而且都是50个英文字母以上的长文件名字描述,造成下载一半后无法继续,那个BT种子的提供者也没有事先说明必须使用nfts,我还以为是磁盘坏了,扫描没有发现问题,使用msdos命令无法复制文件,删除里面的部分文件后,可以复制进去,但是到达一定数量的时候又不行了,到BT论坛上去求助,得知是FAT32已经不行了,要换ntfs,搞成ntfs后果然解决了,晕死..看来微软也是做一天和尚撞一天钟,没有长远考虑,快不行了才会出一个新的解决方案,总算明白了MS为什么不再主动推荐用户采用FAT32的磁盘格式了,不知道这个ntfs又能撑到什么时候 
The design of the FAT32 directory structure is too conservative. I didn't know this before. These days I found out. I downloaded a collection of classic games for the Commodore Amiga computer host, which is several tens of GB in size. There are directories classified by game types inside, but the number of files in each directory approaches ten thousand or exceeds ten thousand, and all are long file name descriptions with more than 50 English letters. This caused the download to stop halfway. The provider of the BT torrent didn't explain in advance that NFTs must be used. I thought the disk was bad. Scanning didn't find any problems. Using MS-DOS commands couldn't copy the files. After deleting some files inside, I could copy them in, but it didn't work when reaching a certain number. I went to the BT forum for help and learned that FAT32 was no good anymore and I had to switch to NTFS. After making it NTFS, it果然 solved the problem. Oh my god. It seems that Microsoft is also just doing things day by day without long-term consideration. It only comes up with a new solution when it's almost too late. I finally understand why MS no longer actively recommends users to use the FAT32 disk format. I don't know how long this NTFS can last :(
(注:原文中“果然解决了”翻译为“it果然 solved the problem”是错误的,正确的应该是“it indeed solved the problem”,但按照要求只修正明显的错别字等,这里“果然”翻译为“indeed”更合适,不过整体按照原文大致翻译,保持原意。)
附件
1: 未命名.JPG (2005-12-29 05:40, 3.96 KiB, 下载附件所需积分 1 点
,下载次数: 5)
|
|
2005-12-29 05:40 |
|
|
220110
荣誉版主
      
积分 718
发帖 313
注册 2005-9-26
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
呵呵,你站得太高了,太远见了。
自然界总会有不足并接近极限以致矛盾产生时,然后才又进化的。
一种技术辉煌一个时代已足够矣。
我用批处理在FAT32下创建2万多个子目录,并没什么问题。
文件夹名用 FOR产生的序列数来命名的;看来应该像wengier 说,理论上可以达到6万多个简单文件名的文件夹的,只是长文件名等因素影响着而已。
Last edited by 220110 on 2005-12-29 at 09:11 ]
Hehe, you're standing too high and have a far-sighted view.
There will always be deficiencies in nature and it will approach the limit until contradictions arise, and then it evolves again.
One technology shining for one era is enough.
I used batch processing to create more than 20,000 subdirectories under FAT32, and there was no problem.
The folder names are named with the sequence numbers generated by FOR; it seems that as wengier said, theoretically, it can reach more than 60,000 folders with simple file names, just that factors like long file names affect it.
Last edited by 220110 on 2005-12-29 at 09:11 ]
附件
1: 目录数.png (2005-12-29 09:08, 8.71 KiB, 下载附件所需积分 1 点
,下载次数: 3)
|
|
2005-12-29 09:08 |
|
|
220110
荣誉版主
      
积分 718
发帖 313
注册 2005-9-26
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
 删除这3万个文件夹用了我5分钟时间,唉. .. 
: :oIt took me 5 minutes to delete these 30,000 folders. Sigh... :(
|
|
2005-12-29 09:13 |
|
|
baby15500
中级用户
  
积分 438
发帖 146
注册 2004-3-10
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
但是现在很少采用8.3格式命名,比较正常的游戏描述就需要几十个字母的长度,比如我图中的这种游戏描述,一个目录放不到七千个文件,而收集一台不完全的主机游戏或者软件,仅仅是一部分就已经达到了一万多文件,除非你手动建立目录按A,B,C这样描述首字母进行分级存放,这显然非常不方便,现在我搞成ntfs解决了,只是不知道上限又是多少,就象是一个定时炸弹一样,晕
But now 8.3 format naming is rarely adopted. A relatively normal game description needs dozens of letters in length. For example, the game description in my picture, one directory can't hold 7,000 files. And collecting a part of an incomplete host game or software has already reached more than 10,000 files. Unless you manually create directories and classify and store them by the first letter of the description like A, B, C, which is obviously very inconvenient. Now I solved it with NTFS, but I just don't know what the upper limit is, just like a time bomb, dizzy
附件
1: 未命名.JPG (2005-12-29 09:58, 83.83 KiB, 下载附件所需积分 1 点
,下载次数: 2)
|
|
2005-12-29 09:58 |
|
|
Wengier
系统支持
             “新DOS时代”站长
积分 27736
发帖 10521
注册 2002-10-9
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
倒不是说只能按照A、B、C这样描述首字母而且专为避免此问题的笨办法来进行分级存放,而是可以采取更好也更实用的存放办法。以上面的那些文件为例,可以在游戏下载目录中分别建立"1st Division Manager .."、"3D Construction Kit .."等目录,然后把各游戏相关的文件放在相应的游戏目录中。必要的话还可以按照游戏类型分类,将相同类型的游戏的目录放在同一个父目录中。这样既方便查找和运行,也可以明显加快读取速度,而不是将所有内容全部放在一起,没有任何层次。而且这样整理归类应该可以算是一种好习惯吧,就像房间中有许多不同的抽屉存放不同的东西一样。我自己平常下载的文件都是这样分类存放的,并不是刻意避免目录中的文件数量限制(我之前这样分类存放从来不是因为这个原因),而已是一种整理文件的习惯了。整理其它文件也类似,如果全摊在一起多不好,操作起来也不太方便。
It's not that we can only classify and store according to the silly way of describing initials like A, B, C to avoid this problem, but that we can adopt a better and more practical storage method. Taking the above files as an example, we can respectively establish directories like "1st Division Manager.." and "3D Construction Kit.." in the game download directory, and then put the files related to each game in the corresponding game directory. If necessary, we can also classify according to the game types, and put the directories of games of the same type in the same parent directory. In this way, it is convenient for searching and running, and can also significantly speed up the reading speed, rather than putting all the contents together without any hierarchy. And this kind of organizing and classifying should be regarded as a good habit, just like having many different drawers in the room to store different things. I usually classify and store the files I download in this way, not deliberately to avoid the file number limit in the directory (I have never classified and stored in this way for this reason before), but it is a habit of organizing files. The same is true for organizing other files. It's not good to spread everything together, and it's not very convenient to operate.
|

Wengier - 新DOS时代
欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)
 |
|
2005-12-29 11:44 |
|
|
baby15500
中级用户
  
积分 438
发帖 146
注册 2004-3-10
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
汗,這個收集有點象MAME街機的ROM,一般是所有遊戲全部放在同一目錄中,MAME的遊戲標準是8.3命名格式,不然現在也快危險了,這個硬盤我現在還是選擇NTFS算了,雖然WIN98不能訪問,但是平時玩模擬器還是在用WINXP
Swe sweat, this collection is a bit like MAME arcade ROMs. Generally, all games are placed in the same directory. The MAME game standard is the 8.3 naming format; otherwise, it's almost risky now. For this hard drive, I still choose NTFS. Although WIN98 can't access it, I'm still using WINXP for playing emulators usually
|
|
2005-12-29 12:04 |
|
|
fujianabc
金牌会员
     
积分 3467
发帖 1616
注册 2004-6-21
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
顺便问一下,是否fat32/fat16的目录层数也有限制,记得以前装过某个软件放在program files内装到一半就装不下去了,而一定要放在根目录下才能完成安装。那个软件的目录层次超多,而且有些目录的文件名特长。
By the way, is there also a limit on the number of directory levels for FAT32/FAT16? I remember that when I installed a certain software before, it couldn't finish installing when placed in the program files. It had to be placed in the root directory to complete the installation. That software had a lot of directory levels, and some directory file names were very long.
|
|
2005-12-29 17:26 |
|
|
darkradx
高级用户
   
积分 972
发帖 420
注册 2004-5-16
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
有限制
可以用SUBST突破某一方面的限制, 然後系統訪問的時候會挂掉
There are restrictions. You can use SUBST to break through certain restrictions, but then the system will crash when accessing.
|

平生进退如飙风 |
|
2005-12-29 19:46 |
|
|
yao741
初级用户
 
积分 128
发帖 75
注册 2005-10-30 来自 黄河北道,天子渡
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
读一读长知识,感谢分享。
Read to gain knowledge, thanks for sharing.
|
|
2006-1-1 22:43 |
|
|
bush
银牌会员
    
积分 2165
发帖 730
注册 2004-4-21
状态 离线
|
|
2006-1-1 23:01 |
|
|
reely
新手上路

积分 6
发帖 3
注册 2005-12-28
状态 离线
|
|
2006-1-6 13:56 |
|
|
electronixtar
铂金会员
      
积分 7493
发帖 2672
注册 2005-9-2
状态 离线
|
『第 14 楼』:
使用 LLM 解释/回答一下
强~~~能bt那么多文件来玩~~
Strong~~~ Can download so many files via BT to play~~
|
|
2006-1-7 13:37 |
|
|
loveqiqi
初级用户
 
积分 38
发帖 16
注册 2006-1-12 来自 中国山东济南
状态 离线
|
『第 15 楼』:
使用 LLM 解释/回答一下
FAT32好象还不支持大于4G的文件
FAT32 seems not to support files larger than 4GB yet
|
|
2006-1-30 15:15 |
|