Skip to content

CSAPP的6.24,计算扇区数答案不太一样 #1

Description

@jilly5

这道题要读一个2MB块打小是512字节的文件,硬盘扇区大小也正好是512字节,也就是说要读4000个扇区。
磁盘中,1MB=10^6B,所以2*(10^6)/512=3906.25,为什么你直接约到4000?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions