为什么Minix文件系统中的分区大小为64m?
我已经阅读了Wikipedia的Minix文件系统的简介。我不明白这句话,“但是,由于Minix FS使用未签名的短裤作为块指针,因此仅限于6400万个分区”。块指针的数据结构与分区大小之间有什么关系?
I have read Introduction to the Minix File System from Wikipedia. I don't understand this sentence, "but since the Minix fs uses unsigned shorts for block pointers, it is limited to 64M partitions". What's the relationship between the data structure of block pointers and the size of partitions?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Minix 1和2(以及从中衍生的Linux
minixfs
使用固定大小的1,024字节块。如果每个块在C中给出了16位(无符号的简短
)数字,则最远的块的最远字节将在Offset 64 MIB-1处。Minix 3在2005年取消了这两个限制,但是绝大多数现有文件系统符合较旧的格式,这对其设计的软盘来说已经足够了。
MINIX 1 and 2 (and the Linux
minixfs
which derives from it) use fixed-size 1,024-byte blocks. If each block is given a 16-bit (unsigned short
in C) number, the farthest byte of the farthest block will be at offset 64 MiB-1.Those two limits were lifted in 2005 with MINIX 3, but the vast majority of existing file systems comply with the older format, which is more than enough for the floppies it was designed for.