TAILIEUCHUNG - Bài giảng Hệ điều hành nâng cao - Chapter 11: File System Implementation

Bài giảng Hệ điều hành nâng cao - Chapter 11: File System Implementation trình bày về cấu trúc tập tin hệ thống, thực hiện tập tin hệ thống, thực hiện thư mục, phương pháp phân bổ, quản lý không gian trống,.Mời bạn đọc cùng tham khảo. | Chapter 11: File System Implementation 1 Chapter 11: File System Implementation File-System Structure File-System Implementation Directory Implementation Allocation Methods Free-Space Management Efficiency and Performance Recovery NFS Example: WAFL File System 2 Objectives To describe the details of implementing local file systems and directory structures To describe the implementation of remote file systems To discuss block allocation and free-block algorithms and trade-offs 3 File-System Structure File structure Logical storage unit Collection of related information File system resides on secondary storage (disks) Provided user interface to storage, mapping logical to physical Provides efficient and convenient access to disk by allowing data to be stored, located retrieved easily Disk provides in-place rewrite and random access I/O transfers performed in blocks of sectors (usually 512 bytes) File control block – storage structure consisting of information about a file Device driver controls the physical device File system organized into layers 4 Layered File System 5 File System Layers Device drivers manage I/O devices at the I/O control layer Given commands like “read drive1, cylinder 72, track 2, sector 10, into memory location 1060” outputs low-level hardware specific commands to hardware controller Basic file system given command like “retrieve block 123” translates to device driver Also manages memory buffers and caches (allocation, freeing, replacement) Buffers hold data in transit Caches hold frequently used data File organization module understands files, logical address, and physical blocks Translates logical block # to physical block # Manages free space, disk allocation File System Layers (Cont.) Logical file system manages metadata information Translates file name into file number, file handle, location by maintaining file control blocks (inodes in Unix) Directory management Protection Layering useful for reducing complexity and redundancy, but adds .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.