TAILIEUCHUNG - Lecture Operating system concepts (Fifth edition): Module 10 - Avi Silberschatz, Peter Galvin

Module 10 - File-system interface. In this chapter, we consider the various aspects of files and the major directory structures. We also discuss the semantics of sharing files among multiple processes, users, and computers. Finally, we discuss ways to handle file protection, necessary when we have multiple users and we want to control who may access files and how files may be accessed. | Lecture Operating system concepts Fifth edition Module 10 - Avi Silberschatz Peter Galvin Module 10 File-System Interface File Concept Access Methods Directory Structure Protection Consistency Semantics Silberschatz and Galvin 1999 File Concept Contiguous logical address space Types Data numeric character binary Program Silberschatz and Galvin 1999 File Structure None - sequence of words bytes Simple record structure Lines Fixed length Variable length Complex Structures Formatted document Relocatable load file Can simulate last two with first method by inserting appropriate control characters. Who decides Operating system Program Silberschatz and Galvin 1999 File Attributes Name only information kept in human-readable form. Type needed for systems that support different types. Location pointer to file location on device. Size current file size. Protection controls who can do reading writing executing. Time date and user identification data for protection security and usage monitoring. Information about files are kept in the directory structure which is maintained on the disk. Silberschatz and Galvin 1999 File Operations create write read reposition within file file seek delete truncate open Fi search the directory structure on disk for entry Fi and move the content of entry to memory. close Fi move the content of entry Fi in memory to directory structure on disk. Silberschatz and Galvin 1999 File Types name extension File Type Usual extension Function Executable exe com bin or ready-to-run machine- none language program Object obj o complied machine language not linked Source code c p pas 177 source code in various asm a languages Batch bat sh commands to the command interpreter Text txt doc textual data documents Word processor wp tex rrf etc. various word-processor formats Library lib a libraries of routines Print or view ps dvi gif ASCII or binary file Archive arc zip tar related files grouped into one file sometimes compressed. .

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.