IT320 OPERATING SYSTEM CONCEPTS Unit 7: File Management July 2011 Kaplan University 1.

Slides:



Advertisements
Similar presentations
Chapter 12: File System Implementation
Advertisements

Chapter 12 File Management Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
Chapter 4 : File Systems What is a file system?
Allocation Methods - Contiguous
File Management Chapter 12. File Management File management system is considered part of the operating system Input to applications is by means of a file.
File Management Chapter 12. File Management A file is a named entity used to save results from a program or provide data to a program. Access control.
1 File Management (a). 2 File-System Interface  File Concept  Access Methods  Directory Structure  File System Mounting  File Sharing  Protection.
Chapter 11: File System Implementation
File Management Systems
File System Implementation
File System Implementation
Chapter 12: File System Implementation
CS 104 Introduction to Computer Science and Graphics Problems Operating Systems (4) File Management & Input/Out Systems 10/14/2008 Yang Song (Prepared.
1 Operating Systems Chapter 7-File-System File Concept Access Methods Directory Structure Protection File-System Structure Allocation Methods Free-Space.
Chapter 12 File Management Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E William Stallings.
6/24/2015B.RamamurthyPage 1 File System B. Ramamurthy.
1 File Management in Representative Operating Systems.
1 File Management Chapter File Management File management system consists of system utility programs that run as privileged applications Input to.
Chapter 12 File Management Systems
File System Implementation
04/07/2010CSCI 315 Operating Systems Design1 File System Implementation.
File Management Chapter 12.
7/15/2015B.RamamurthyPage 1 File System B. Ramamurthy.
Chapter 5 Part 2 Secondary Storage Mgt. File Mgt. in Popular OSs
File Management Chapter 12. File Management File management system is considered part of the operating system Input to applications is by means of a file.
1 Chapter 12 File Management Systems. 2 Systems Architecture Chapter 12.
Chapter pages1 File Management Chapter 12.
Operating Systems (CS 340 D) Dr. Abeer Mahmoud Princess Nora University Faculty of Computer & Information Systems Computer science Department.
Software.
IT320 OPERATING SYSTEM CONCEPTS Unit 6: Processor Scheduling September 2012 Kaplan University 1.
File Management Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Dr. Sunny Jeong & Mike Huang Operating Systems: Internals and Design Principles,
Chapter 11: File System Implementation Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 1, 2005 File-System Structure.
Fall 2000M.B. Ibáñez Lecture 22 File-System I File Concept.
File Management Chapter 12. File Management File management system is considered part of the operating system Input to applications is by means of a file.
1 File Management Chapter File Management n File management system consists of system utility programs that run as privileged applications n Concerned.
File Storage Organization The majority of space on a device is reserved for the storage of files. When files are created and modified physical blocks are.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 12: File System Implementation File System Structure File System Implementation.
File System Implementation
Chapter 11: File System Implementation Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 1, 2005 Implementation.
Module 4.0: File Systems File is a contiguous logical address space.
1 File Management Chapter File Management File management system consists of system utility programs that run as privileged (kernel) application.
12.1 Silberschatz, Galvin and Gagne ©2003 Operating System Concepts with Java Chapter 12: File System Implementation Chapter 12: File System Implementation.
Chapter 16 File Management The Architecture of Computer Hardware and Systems Software: An Information Technology Approach 3rd Edition, Irv Englander John.
IT320 OPERATING SYSTEM CONCEPTS Unit 7: File Management May 2012 Kaplan University 1.
Unit 9: Distributing Computing & Networking Kaplan University 1.
1 File Management Chapter File Management File management system consists of system utility programs that run as privileged applications Input to.
Chapter 12 File Management Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
Operating Systems 1 K. Salah Module 4.0: File Systems  File is a contiguous logical address space (of related records)  Access Methods  Directory Structure.
File Management (Chapter 12) Files –Field: Basic element of data. –Record: A collection of related fields that can be treated as a unit. –File: A collection.
Unit 4: Processes, Threads & Deadlocks June 2012 Kaplan University 1.
File Management Chapter File Management File management system consists of system utility programs that run as privileged applications Input to.
Chapter 12 File Management Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E William Stallings.
Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials – 8 th Edition Chapter 3: Windows7 Part 3.
File-System Management
File System Implementation
File Management Chapter 12.
IT 320 Operating Systems Concepts Seminar 7
IT320 Operating System Concepts
Chapter 11: File System Implementation
Chapter 12 File Management
Day 27 File System.
File Management Chase Goehring.
File Sharing Sharing of files on multi-user systems is desirable
Chapter 3: Windows7 Part 3.
File System B. Ramamurthy B.Ramamurthy 11/27/2018.
Files Management – The interfacing
Chapter 16 File Management
Lecture 4: File-System Interface
Presentation transcript:

IT320 OPERATING SYSTEM CONCEPTS Unit 7: File Management July 2011 Kaplan University 1

Upcoming Topics Kaplan University 2  Unit 7: File Management  Unit 8: Computer Security Risks & Data Protection  Unit 9: Distributing Computing and Networking  Unit 10: Final Project  Due Tuesday, July 26 by 11:59 ET

Unit 7 Overview Kaplan University 3  Readings  Discussion Questions  Review Unit 7 Assignment  Lecture on File Management  Preview of Final Project

Unit 7: Reading & Assignments Kaplan University 4  Textbook Reading  Chapter 12 – File Management  Start with chapter summary first!  Web Articles Reading  2 Discussion Questions  3 page essay based on File Management (due Tuesday)

Unit 7: Discussion Questions Kaplan University 5  DQ1: NTFS vs FAT o Visit the two links below to learn more about NTFS and FAT. Feel free to review other publications to learn about the two file systems, including their highlights, applications, strengths, and weaknesses. DQ2: Directory Structure – Linux vs Windows o In addition to your book reading about the Linux file system, take a look at this article about the Linux file system anatomy. Compare Linux to the way Windows deals with files and compare the two directory structures. o filesystem/

Unit 7: Assignment Kaplan University 6 1.Select one operating system you are familiar with. Write a one-page summary that lists and explains the utilities provided by the operating system to manage the file system.  How often should these utilities be executed?  How is file security implemented? 2.Write a one-page summary comparing FAT/FAT32 and NTFS file systems in a Windows operating system. What are the benefits of each? Why would one file system used over the other? 3.Write a one-page summary comparing the Unix, Linux, and Windows file systems.

Unit 7: File Management Kaplan University 7  Your paper should include at least 3 pages of content (including required content, intro & conclusion)  Note that your paper will be longer than 3 pages as it will have a title page and a reference page in addition to the actual content pages required.  Be to include an introduction and conclusion (5 pts each)  Use APA format

Unit 7: Grading Rubric Kaplan University 8

Chapter 12 – File Management 9 Kaplan University

File Management System  File Management System  Set of system software that provides services to users and applications in the user the files  Minimum set of requirements: Users should be able to create, delete, read, write and modify files Users may have controlled access to other users’ files Users may control types of access to files Users should be able to move data between files Users should be able to back up and recover files Users should be able access files by name rather than numbers Kaplan University 10

File System Architecture  Figure 12.1 (Textbook – p. 555)  Top Level – Access method  Standard interface between applications and the files systems and device that hold data  2 nd Level – Logical I/O  Enables users and applications to access records  3 rd Level – Basic I/0 Supervisor  Responsible for all file I/O initiation and termination Kaplan University 11

File System Architecture  4 th Level – Basic File System  Also known as Physical I/O Level  Primary interface with the environment outisde the computer system  Deals with blocks of data exchanged on secondary storage device  Can you name an example of secondary storage?  5 th Level – Device Drivers  Communicate directly with peripheral devices or their controllers or channels Kaplan University 12

File Organization & Access  Important Criteria:  Short access time  Ease of update  Economy of storage  Simple maintenance  Reliability  File Organization Types  Pile  Sequential File  Indexed Sequential File  Indexed File  Direct (hashed) file  See pp Kaplan University

File Directory  The Directory contains information about the files, including attributes, location, & ownership.  Figure 12.2 (p. 563) show information elements  Basic Information file name, file type, file organization  Address Information volume, starting address, size used  Access Control Information owner, access information, permitted actions  Usage Information date created, indentity, last read, last modified 14

File Sharing  Access rights include  None  Knowledge  Execution  Reading  Appending  Updating  Changing Protection  Deletion Kaplan University 15

Windows File System  New Technology File System (NTFS)  Flexible and powerful file system build on simple file system model  Recoverability  Security  Large disks and large files (more efficient than FAT)  Multiple data streams  Journaling  Compression & Encryption Kaplan University 16

NTFS Volume & File Structure  Disk Storage Concepts  Sector Smallest physical storage unit on disk, typically 512 bytes  Cluster One or more contiguous sectors (next to each other)  Volume A logical partition on a disk, consisting of one or more clusters used by a file system to allocate space Kaplan University 17

File Allocation Table (FAT)  File Allocation Table (FAT)  Stores position of each file in a directory tree  Directories are not files  Need a mapping function to dynamically construct files corresponding to the directories  What issues can you see with FAT vs NTFS? Kaplan University 18

Linux Virtual File System  Virtual File System (VFS)  Single, uniform file system interface to user processes  Assumes files are objects in computer’s storage memory  Files have symbolic names to allow unique ID  Diagram of Linux File system Figure (p. 588) Kaplan University 19

Comparing Windows & Linux  Nice comparison chart (p. 592)  Windows File System  NTFS  Implemented as a device driver (can be layered)  Depends on I/O System & Cache manager  Directories, files, & file system metadata are all represented as files by NTFS  Relies on unified caching by the CACHE manager Kaplan University 20

Comparing Windows & Linux  Linux File System  Most common are Ext2, Ext3, JFS (Journaling file system)  Implemented using the Virtual File System (VFS) technique (created by Sun Microsystems)  File Systems are plug-ins for VFS model  Used a page cache, keeps copies of recently used pages in memory  VFS treats directory entries and file metadata separate from actual files Kaplan University 21

Operating System Utilities  Definition – “system software designed to help analyze, configure, optimize, and maintain the computer” (Wikipedia, 2010).  Different than application software  Typically highly specialized   Can you name 2 examples of operating system utilities? Kaplan University 22

OS Utility Categories  Disk Storage  Defragmenters  Disk Checkers  Disk Cleaners  Disk Partitions  Backup  Disk Compression  File Managers  Archive  System Profilers  Anti-virus  Cryptographic  Registry Cleaners  Network Utilities 23 Kaplan University

Preview – Final Project 24 Kaplan University

Final Project Kaplan University 25  Due Tuesday, July 26  No late assignments accepted!!!  Final Project is worth 200 points  Write a 5 – 10 page essay explaining how a mainstream modern (Linux or Windows) Operating System is designed to integrate all components of the operating system.  At least 3 outside references  Include topics on the next page

Final Project Kaplan University 26  The following list of topics is a starting point for your essay. You may include other topics if you feel they are important.  Processes and threads  Memory management  Scheduling (Including deadlock prevention)  File Management  Input and Output devices  Security issues (Discuss current malware threats & prevention techniques)  Data protection (RAID & Clusters)

 Paper Length (5 pages), APA Style10 pts  Content of paper shows understanding20 pts  Introduction & Conclusion included10 pts  Processes & Threads20 pts  Deadlock (avoidance, prevention, detection)20 pts  I/O for chosen OS20 pts  Scheduling20 pts  Data Protection (RAID, backups)20 pts  File Management20 pts  Security Techniques & Defenses20 pts  Security Threats20 pts Kaplan University 27 Final Project – Grading Rubric

Any Questions? Kaplan University 28  Pam Van Hook