[OS] File-System interface

박의진·2023년 7월 5일
0

TABA3기

목록 보기
8/16
post-thumbnail
post-custom-banner

File operations

  • Create

  • Write

  • Read

  • File-Pointer

  • Delete

  • Reposition within file

  • Turncate

  • Open

  • Close

    Sequential access

  • Operations

    • read next
    • wirte next
    • reset
    • no read after last write (rewrite)

Direct access(relative access)

  • Operations

    • read n
    • wirte n
    • rewrite n
      *n = relative block number

Other access method

Index

File 자체는 하드 디스크 상에 존재 하지만 Index나 file에 관한 정보는 Main memory에 load 되어 있다.

A typical file-system organization

Single-Level directory

Tree-Structured drectories

post-custom-banner

0개의 댓글