There's no practical limit on the combined sizes of all the files in a folder, though there may be limits on the number of files in a folder. More importantly, there are limits on individual file size that depend on what filesystem you're using on your hard disk. (The "filesystem" is nothing more than the specification of exactly how files are store on disk.)
Let's break this down by file system:
FAT aka FAT16
FAT, for File Allocation Table, is the successor to the original FAT12 filesystem that shipped with MS-DOS many, many years ago.
Maximum disk size: 4 gigabytes
Maximum file size: 4 gigabytes
Maximum number of files on disk: 65,517
Maximum number of files in a single folder: 512 (if I recall correctly, the root folder "/" had a lower limit of 128).
FAT32
"There's no practical limit on the combined sizes of all the files in a folder, though there may be limits on the number of files in a folder."FAT32 was introduced to overcome some of the limitations of FAT16.
Maximum disk size: 2 terabytes
Maximum file size: 4 gigabytes
Maximum number of files on disk: 268,435,437
Maximum number of files in a single folder: 65,534
NTFS
NTFS, or "New Technology File System" introduced with Windows NT, is a completely redesigned file system.
Maximum disk size: 256 terabytes
Maximum file size: 256 terabytes
Maximum number of files on disk: 4,294,967,295
Maximum number of files in a single folder: 4,294,967,295
Note that when I say "disk" above, I'm really talking about "logical" disks, not necessarily physical. No one makes a 256 terabyte disk drive, but using NTFS you can treat an array of disk drives as a single logical disk. Presumably if you have enough of them, you can build a huge logical drive.
Also note that the NTFS's 256 terabyte limitation may well simply be an implementation restriction - I've read that the NTFS format can support disks up to 16 exabytes (16 times 1,152,921,504,606,846,976 bytes).
发布评论
评论(2)
尽管文件夹中的文件数量可能有限制,但文件夹中所有文件的总大小没有实际限制。更重要的是,单个文件大小存在限制,具体取决于您在硬盘上使用的文件系统。 (“文件系统”只不过是文件在磁盘上存储方式的具体规范。)
让我们按文件系统进行分解:
FAT 又名 FAT16
FAT,即文件分配表,是随同提供的原始 FAT12 文件系统的后继者。 MS-DOS 很多很多年前了。
FAT32
“尽管文件夹中的文件数量可能有限制,但文件夹中所有文件的总大小没有实际限制。” 引入 FAT32 是为了克服 FAT16 的一些限制。
NTFS
NTFS 或 Windows NT 引入的“新技术文件系统”是完全重新设计的文件系统。
请注意,当我上面说“磁盘”时,我实际上是在谈论“逻辑”磁盘,不一定是物理的。没有人制造 256 TB 的磁盘驱动器,但使用 NTFS,您可以将一组磁盘驱动器视为单个逻辑磁盘。据推测,如果您有足够的逻辑驱动器,您就可以构建一个巨大的逻辑驱动器。
另请注意,NTFS 的 256 TB 限制很可能只是一种实现限制 - 我读到 NTFS 格式可以支持高达 16 EB 的磁盘(1,152,921,504,606,846,976 字节的 16 倍)。
来源:http://ask-leo.com/is_there_a_limit_to_what_a_single_folder_or_directory_can_hold.html
There's no practical limit on the combined sizes of all the files in a folder, though there may be limits on the number of files in a folder. More importantly, there are limits on individual file size that depend on what filesystem you're using on your hard disk. (The "filesystem" is nothing more than the specification of exactly how files are store on disk.)
Let's break this down by file system:
FAT aka FAT16
FAT, for File Allocation Table, is the successor to the original FAT12 filesystem that shipped with MS-DOS many, many years ago.
FAT32
"There's no practical limit on the combined sizes of all the files in a folder, though there may be limits on the number of files in a folder."FAT32 was introduced to overcome some of the limitations of FAT16.
NTFS
NTFS, or "New Technology File System" introduced with Windows NT, is a completely redesigned file system.
Note that when I say "disk" above, I'm really talking about "logical" disks, not necessarily physical. No one makes a 256 terabyte disk drive, but using NTFS you can treat an array of disk drives as a single logical disk. Presumably if you have enough of them, you can build a huge logical drive.
Also note that the NTFS's 256 terabyte limitation may well simply be an implementation restriction - I've read that the NTFS format can support disks up to 16 exabytes (16 times 1,152,921,504,606,846,976 bytes).
Source: http://ask-leo.com/is_there_a_limit_to_what_a_single_folder_or_directory_can_hold.html
根据此来源,每个文件夹没有限制。嗯,限制是您可以在卷 (NTFS) 中存储的相同数量的文件。
编辑:Microsoft 链接,如 服务器故障。
According to this source, there's not limit per folder. Well, the limit is the same number of files you can store in the volume (NTFS).
Edit: Microsoft link, as pointed in Serverfault.