TAILIEUCHUNG - Lecture Operating system concepts (Sixth ed) - Chapter 11: 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. | File Concept Contiguous logical address space Types Data numeric character binary Program Operating System Concepts Silberschatz Galvin and Gagne 2002 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 Operating System Concepts Silberschatz Galvin and Gagne 2002 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. Operating System Concepts Silberschatz Galvin and Gagne 2002 File Operations Create Write Read Reposition within file - file seek Delete Truncate Open F - search the directory structure on disk for entry F and move the content of entry to memory. Close Fi - move the content of entry Fi in memory to directory structure on disk. Operating System Concepts Silberschatz Galvin and Gagne 2002 File Types - Name Extension file type usual extension function executable exe com bin or none read to run machinelanguage program object obj 0 compiled machine language not linked source code c cc java pas asm a source code in various languages batch bat sh commands to the command interpreter text txt doc textual data documents word processor wp tex rrf doc various word-processor formats library lib a so dll mpeg mov rm libraries of routines for programmers print or view arc zip tar ASCII or binary file in a format for printing or viewing archive arc zip tar related files grouped into one file sometimes compressed for archiving or storage .

TÀI LIỆU MỚI ĐĂNG
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.