Đang chuẩn bị liên kết để tải về tài liệu:
Bài giảng Nhập môn Hệ điều hành: File system - Nguyễn Xuân Vinh

Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ

Chương này tiếp tục trình bày về hệ thống file trong Linux. Thông qua chương này người học sẽ biết được cách để lưu trữ dữ liệu trong bộ nhớ, cách để người dùng truy cập được dữ liệu, biết được các loại hệ thống file,. để nắm bắt các nội dung chi tiết. | FILE SYSTEM Nguyễn Xuân Vinh nguyenxuanvinh@hcmuaf.edu.vn NHẬP MÔN HỆ ĐIỀU HÀNH INTRODUCTION TO OPERATING SYSTEMS [214242] 2 Introduction Filesystem How are data stored in storage? How do users access the data? Data organization, files and directories Filesystem types Disk FS: ext2, ext3, FAT, FAT32 & NTFS Network FS: Samba & NFS Flash FS: JFFS2 Special FS: proc FS 2 3 Introduction (cont’d) You should understand Linux FS Why? Everything in Linux is file, if it is NOT process Easy to use Open file, read/write and close the file Unlike Windows, Linux FS is standard FS Everyone should learn standards 3 4 Filesystem Hierarchy Standard Started by Dennis Ritchie, 1993 Defines the main directories and their contents in most Linux-based systems Current Version: 2.3, 29 Jan 2004. 4 5 FHS There is not any drive C:, D:, All directories are under “/” “/” is the root directory It is possible to have multiple partitions to multiple filesystems 5 6 The “/” The primary hierarchy in FSH The root of tree of filesystem All paths start form here There is only one “/” in filesystem 6 7 The “/” 7 8 boot Linux kernel Boot loader configuration If you lost boot You cannot boot your OS 8 9 boot 9 10 bin Essential programs Need for system startup Basic commands for Navigating in filesystem File management 10 11 bin 11 12 dev Everything is file Hardware components (devices) are file Hard disk Key board All device files are here Direct interaction with device driver Open the device file Read & Write 12 13 dev 13 14 etc System configuration directory What is done by the registry in Windows All configuration file are text files You can view and edit it manually 14 15 etc 15 16 home Home directory of user Each user has a directory /home/bahador /home/hamed All files of user are stored here 16 17 lib Programs need libraries Dynamically linked libraries Programmers need libraries All essential libraries are here Needed for system startup 17 18 lib 18 19 proc Kernel’s interface Kernel . | FILE SYSTEM Nguyễn Xuân Vinh nguyenxuanvinh@hcmuaf.edu.vn NHẬP MÔN HỆ ĐIỀU HÀNH INTRODUCTION TO OPERATING SYSTEMS [214242] 2 Introduction Filesystem How are data stored in storage? How do users access the data? Data organization, files and directories Filesystem types Disk FS: ext2, ext3, FAT, FAT32 & NTFS Network FS: Samba & NFS Flash FS: JFFS2 Special FS: proc FS 2 3 Introduction (cont’d) You should understand Linux FS Why? Everything in Linux is file, if it is NOT process Easy to use Open file, read/write and close the file Unlike Windows, Linux FS is standard FS Everyone should learn standards 3 4 Filesystem Hierarchy Standard Started by Dennis Ritchie, 1993 Defines the main directories and their contents in most Linux-based systems Current Version: 2.3, 29 Jan 2004. 4 5 FHS There is not any drive C:, D:, All directories are under “/” “/” is the root directory It is possible to have multiple partitions to multiple filesystems 5 6 The “/” The primary hierarchy in FSH The root of