目录是按物理地址还是逻辑地址存储? [英] Are Directories stored at physical or logical adress?

查看:139
本文介绍了目录是按物理地址还是逻辑地址存储?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在阅读亚伯拉罕写的《操作系统概念》一书.我想知道目录存储在哪里?物理或逻辑地址!请稍作解释.

解决方案

两者.当引用系统上的文件和目录时,用户级别(或更高内核级别)的代码将使用逻辑地址对其进行寻址.但是,实际的磁盘驱动程序将通过将逻辑地址转换为物理地址来对其进行寻址,以便读取或写入磁盘的特定区域.


im reading operating system concepts book by Abraham. I was wondering where are the directories stored? physical or logical adress! explain a bit please.

解决方案

Both. When referencing files and directories on a system, the user level (or higher kernel level) code will address them with logical addresses. However, the actual disk driver will address them by converting the logical addresses to physical in order to read or write specific areas of the disk.


这篇关于目录是按物理地址还是逻辑地址存储?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆