Оцените презентацию от 1 до 5 баллов!
Тип файла:
ppt / pptx (powerpoint)
Всего слайдов:
29 слайдов
Для класса:
1,2,3,4,5,6,7,8,9,10,11
Размер файла:
8.93 MB
Просмотров:
94
Скачиваний:
1
Автор:
неизвестен
Слайды и текст к этой презентации:
№1 слайд![Chapter File Systems and](/documents_6/92b86b0d0aaa3695dc6bcf8c9e2c6795/img0.jpg)
Содержание слайда: Chapter 11
File Systems and Directories
№2 слайд![Chapter Goals Describe the](/documents_6/92b86b0d0aaa3695dc6bcf8c9e2c6795/img1.jpg)
Содержание слайда: Chapter Goals
Describe the purpose of files, file systems, and directories
Distinguish between text and binary files
Identify various file types by their extensions
Explain how file types improve file usage
Define the basic operations on a file
№3 слайд![Chapter Goals Compare and](/documents_6/92b86b0d0aaa3695dc6bcf8c9e2c6795/img2.jpg)
Содержание слайда: Chapter Goals
Compare and contrast sequential and direct file access
Discuss the issues related to file protection
Describe a directory tree
Create absolute and relative paths for a directory tree
Describe several disk-scheduling algorithms
№4 слайд![File Systems File A named](/documents_6/92b86b0d0aaa3695dc6bcf8c9e2c6795/img3.jpg)
Содержание слайда: File Systems
File A named collection of related data
File system The logical view that an operating system provides so that users can manage information as a collection of files
Directory A named group of files
№5 слайд![Text and Binary Files Text](/documents_6/92b86b0d0aaa3695dc6bcf8c9e2c6795/img4.jpg)
Содержание слайда: Text and Binary Files
Text file A file in which the bytes of data are organized as characters from the ASCII or Unicode character sets
Binary file A file that contains data in a specific format, requiring interpretation
№6 слайд![Text and Binary Files The](/documents_6/92b86b0d0aaa3695dc6bcf8c9e2c6795/img5.jpg)
Содержание слайда: Text and Binary Files
The terms text file and binary file are somewhat misleading
They seem to imply that the information in a text file is not stored as binary data
Ultimately, all information on a computer is stored as binary digits
These terms refer to how those bits are formatted: as chunks of 8 or 16 bits, interpreted as characters, or in some other special format
№7 слайд![File Types Most files,](/documents_6/92b86b0d0aaa3695dc6bcf8c9e2c6795/img6.jpg)
Содержание слайда: File Types
Most files, whether they are in text or binary format, contain a specific type of information
For example, a file may contain a Java program, a JPEG image, or an MP3 audio clip
The kind of information contained in a document is called the file type
Most operating systems recognize a list of specific file types
№8 слайд![File Types File names are](/documents_6/92b86b0d0aaa3695dc6bcf8c9e2c6795/img7.jpg)
Содержание слайда: File Types
File names are often separated, usually by a period, into two parts
Main name
File extension
The file extension indicates the type of the file
№9 слайд![File Operations Create a file](/documents_6/92b86b0d0aaa3695dc6bcf8c9e2c6795/img8.jpg)
Содержание слайда: File Operations
Create a file
Delete a file
Open a file
Close a file
Read data from a file
Write data to a file
Reposition the current file pointer in a file
№10 слайд![File Access Sequential access](/documents_6/92b86b0d0aaa3695dc6bcf8c9e2c6795/img9.jpg)
Содержание слайда: File Access
Sequential access Information in the file is processed in order, and read and write operations move the current file pointer as far as needed to read or write the data
The most common file access technique, and the simplest to implement
№11 слайд![File Access](/documents_6/92b86b0d0aaa3695dc6bcf8c9e2c6795/img10.jpg)
Содержание слайда: File Access
№12 слайд![File Access Direct access](/documents_6/92b86b0d0aaa3695dc6bcf8c9e2c6795/img11.jpg)
Содержание слайда: File Access
Direct access Files are conceptually divided into numbered logical records and each logical record can be accessed directly by number
№13 слайд![File Access](/documents_6/92b86b0d0aaa3695dc6bcf8c9e2c6795/img12.jpg)
Содержание слайда: File Access
№14 слайд![File Protection In multiuser](/documents_6/92b86b0d0aaa3695dc6bcf8c9e2c6795/img13.jpg)
Содержание слайда: File Protection
In multiuser systems, file protection is of primary importance
We don’t want one user to be able to access another user’s files unless the access is specifically allowed
A file protection mechanism determines who can use a file and for what general purpose
№15 слайд![File Protection A file s](/documents_6/92b86b0d0aaa3695dc6bcf8c9e2c6795/img14.jpg)
Содержание слайда: File Protection
A file’s protection settings in the Unix operating system is divided into three categories
Owner
Group
World
№16 слайд![Directory Trees A directory](/documents_6/92b86b0d0aaa3695dc6bcf8c9e2c6795/img15.jpg)
Содержание слайда: Directory Trees
A directory of files can be contained within another directory
The directory containing another is usually called the parent directory, and the one inside is called a subdirectory
Directory tree A logical view of a file system; a structure showing the nested directory organization of a file system
Root directory The directory at the highest level
№17 слайд![Directory Trees](/documents_6/92b86b0d0aaa3695dc6bcf8c9e2c6795/img16.jpg)
Содержание слайда: Directory Trees
№18 слайд![Directory Trees At any point](/documents_6/92b86b0d0aaa3695dc6bcf8c9e2c6795/img17.jpg)
Содержание слайда: Directory Trees
At any point in time, you can be thought of as working in a particular location (that is, a particular subdirectory)
Working directory The subdirectory in which you are working
№19 слайд![A Unix Directory Tree](/documents_6/92b86b0d0aaa3695dc6bcf8c9e2c6795/img18.jpg)
Содержание слайда: A Unix Directory Tree
№20 слайд![Path Names Path A text](/documents_6/92b86b0d0aaa3695dc6bcf8c9e2c6795/img19.jpg)
Содержание слайда: Path Names
Path A text designation of the location of a file or subdirectory in a file system, consisting of the series of directories through which you must go to find the file
Absolute path A path that begins at the root and specifies each step down the tree until it reaches the desired file or directory
Relative path A path name that begins at the current working directory
№21 слайд![Path Names Examples of](/documents_6/92b86b0d0aaa3695dc6bcf8c9e2c6795/img20.jpg)
Содержание слайда: Path Names
Examples of absolute path
C:\Program Files\MS Office\WinWord.exe
C:\My Documents\letters\applications\vaTech.doc
C:\Windows\System\QuickTime
Suppose the current working directory is
C:\My Documents\letters
Then the following relative path names could be used
cancelMag.doc
applications\calState.doc
№22 слайд![Disk Scheduling File systems](/documents_6/92b86b0d0aaa3695dc6bcf8c9e2c6795/img21.jpg)
Содержание слайда: Disk Scheduling
File systems must be accessed in an efficient manner
As a computer deals with multiple processes over a period of time, a list of requests to access the disk builds up
Disk scheduling The technique that the operating system uses to determine which requests to satisfy first
№23 слайд![Disk Scheduling](/documents_6/92b86b0d0aaa3695dc6bcf8c9e2c6795/img22.jpg)
Содержание слайда: Disk Scheduling
№24 слайд![Disk Scheduling First-Come,](/documents_6/92b86b0d0aaa3695dc6bcf8c9e2c6795/img23.jpg)
Содержание слайда: Disk Scheduling
First-Come, First-Served Requests are serviced in the order they arrive, without regard to the current position of the heads
Shortest-seek-time-first (SSTF) Disk heads are moved the minimum amount possible to satisfy a pending request
Scan Disk heads continuously move in and out servicing requests as they are encountered
№25 слайд![Disk Scheduling SCAN Disk](/documents_6/92b86b0d0aaa3695dc6bcf8c9e2c6795/img24.jpg)
Содержание слайда: Disk Scheduling
SCAN Disk Scheduling works like an elevator
An elevator is designed to visit floors that have people waiting. In general, an elevator moves from one extreme to the other (say, the top of the building to the bottom), servicing requests as appropriate.
The SCAN disk-scheduling algorithm works in a similar way, except instead of moving up and down, the read/write heads move in toward the spindle, then out toward the platter edge, then back toward the spindle, and so forth.
№26 слайд![How To Transfer Files FTP](/documents_6/92b86b0d0aaa3695dc6bcf8c9e2c6795/img25.jpg)
Содержание слайда: How To Transfer Files
FTP Clients
FileZilla is one of the best
№27 слайд![Other Types Of File Transfers](/documents_6/92b86b0d0aaa3695dc6bcf8c9e2c6795/img26.jpg)
Содержание слайда: Other Types Of File Transfers
& Systems
Secure FTP (SSH, SFTP, FTPS)
Network File System (NFS)
Storage Area Networking (SANs)
RAID Devices
Peer-to-Peer (P2P)
BitTorrent
№28 слайд![BitTorrent](/documents_6/92b86b0d0aaa3695dc6bcf8c9e2c6795/img27.jpg)
Содержание слайда: BitTorrent
№29 слайд![Have A Nice Night](/documents_6/92b86b0d0aaa3695dc6bcf8c9e2c6795/img28.jpg)
Содержание слайда: Have A Nice Night