什么是物理存储分配?

What is physical storage allocation?

我在Msc.It读书。在名为'Advanced Operating System'的主题中,有一个名为文件系统的章节,其中有一个名为"PHYSICAL STORAGE ALLOCATION"的主题。我也在书籍和互联网上进行了搜索,但没有找到与之相关的任何主题。谁能给我 PHYSICAL STORAGE ALLOCATION 的定义并用 4-5 行解释它的工作原理。

恕我直言,该术语含糊不清。

这可能意味着,在 file systems, the allocation and management of blocks on a physical device (e.g. a disk, a disk partition, some USB storage key). The ext2 wikipage has a nice figure explaining that (for the old ext2 file system). In general, data is read and written from disks in blocks of fixed size (512 bytes on old disks, 4Kbytes on newer ones), and the file system code organize files and provide the "file" abstraction 以上这些块的上下文中。

(您的编辑和您显示的图像表明第一个意思)

这也可能意味着,在 virtual memory, the allocation of pages in physical RAM (related to the configuration of the MMU) 的上下文中,或者可能在交换设备中。

另请阅读 Operating Systems: Three Easy Pieces(可免费下载)。