Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials – 8 th Edition Chapter 3: Windows7 Part 3.

Slides:



Advertisements
Similar presentations
COMP091 – Operating Systems 1
Advertisements

Allocation Methods - Contiguous
File Systems Examples.
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.
Chapter 10: File-System Interface
File System Analysis.
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.
Day 29 File System.
File Management Systems
File System Implementation
File management in UNIX and windows 2000
1 Case Study 2: Windows 2000 Chapter History of windows Programming windows System structure 11.4 Processes and threads in.
Windows XP 1 © Silbershatz, Galvin, Gagne CS502 Spring 2006 Windows XP CS-502 Operating Systems Slides excerpted from Silbershatz, Ch. 22.
Operating Systems File systems
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 11: File System Implementation.
1 File Management in Representative Operating Systems.
CS-3013 & CS-502, Summer 2006 Windows XP1 CS-502 Operating Systems Slides excerpted from Silbershatz, Ch. 22.
Computer Forensics Principles and Practices by Volonino, Anzaldua, and Godwin Chapter 6: Operating Systems and Data Transmission Basics for Digital Investigations.
Chapter 12 File Management Systems
File System Variations and Software Caching May 19, 2000 Instructor: Gary Kimura.
Wince File systems. File system on embedded File system choice on embedded is important –File system size can be an issue –Different media are used –
Introduction to NT Operating system
File Management Chapter 12.
Operating Systems.
Chapter 16: Windows 7.
Tasks Necessary for Setting Up a Hard Disk Initializing the disk with basic or dynamic storage type Creating partitions on basic disks or volumes on dynamic.
MCSE Guide to Microsoft Windows 7 Chapter 5 Managing File Systems.
Storage and NT File System INFO333 – Lecture Mariusz Nowostawski Noria Foukia.
Ceng Operating Systems 11-1 Chapter 11 : Case Study - Win 2000 History of windows 2000 Programming windows 2000 System structure Processes and threads.
IT Essentials: PC Hardware and Software 1 Chapter 7 Windows NT/2000/XP Operating Systems.
®® Microsoft Windows 7 for Power Users Tutorial 5 Comparing Windows 7 File Systems.
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.
Dr Damitha Karunaratna University of Colombo school of computing
1 Chapter 12 File Management Systems. 2 Systems Architecture Chapter 12.
Chapter Oracle Server An Oracle Server consists of an Oracle database (stored data, control and log files.) The Server will support SQL to define.
Chapter pages1 File Management Chapter 12.
Gorman, Stubbs, & CEP Inc. 1 Introduction to Operating Systems Lesson 12 Windows 2000 Server.
Window NT File System JianJing Cao (#98284).
Page 110/1/2015 CSE 30341: Operating Systems Principles Windows XP  32-bit preemptive multitasking operating system for Intel microprocessors  Key goals.
In a nut shell 1.  Goals  A little history  System components  Threads & CPU scheduling  Virtual memory  Environmental subsystems  File System:
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 11: File System Implementation.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 13 Understanding and Installing Windows 2000 and Windows NT.
IOS110 Introduction to Operating Systems using Windows Session 5 1.
MCTS Guide to Microsoft Windows Vista Chapter 4 Managing Disks.
Windows NTFS Introduction to Operating Systems: Module 15.
Microsoft Windows 2000 Daniel Hummell Ryan McKenica Valerie Grinblat.
Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials– 8 th Edition Chapter 10: File System Implementation.
Chapter 11: File System Implementation Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 1, 2005 File-System Structure.
MCSE GUIDE TO MICROSOFT WINDOWS 7 Chapter 5 Managing File Systems.
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 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.
Chapter 11: Implementing File Systems Silberschatz, Galvin and Gagne ©2005 Operating System Principles Chapter 11: Implementing File Systems Chapter.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 12: File System Implementation File System Structure File System Implementation.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 11: File System Implementation.
Chapter 11: File System Implementation Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 1, 2005 Implementation.
MCSE Guide to Microsoft Windows Vista Professional Chapter 5 Managing File Systems.
12.1 Silberschatz, Galvin and Gagne ©2003 Operating System Concepts with Java Chapter 12: File System Implementation Chapter 12: File System Implementation.
Chapter 11: File System Implementation Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 11: File System Implementation Chapter.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition File System Implementation.
Lecture 18 Windows – NT File System (NTFS)
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 11: File System Implementation.
UNIX & Windows NT Name: Jing Bai ID: Date:8/28/00.
11.1 Silberschatz, Galvin and Gagne ©2005 Operating System Principles 11.5 Free-Space Management Bit vector (n blocks) … 012n-1 bit[i] =  1  block[i]
MCSE GUIDE TO MICROSOFT WINDOWS 7 Chapter 5 Managing File Systems.
Digital Forensics Dr. Bhavani Thuraisingham The University of Texas at Dallas Lecture #8 File Systems September 22, 2008.
Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials – 8 th Edition Chapter 2: The Linux System Part 5.
Hands-On Microsoft Windows Server 2008 Chapter 7 Configuring and Managing Data Storage.
Day 28 File System.
Chapter 3: Windows7 Part 3.
Presentation transcript:

Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials – 8 th Edition Chapter 3: Windows7 Part 3

15.2 Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials– 8 th Edition Chapter 3: Windows7 History Design Principles System Components Environmental Subsystems File system Networking Programmer Interface

Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials – 8 th Edition Environmental Subsystems

15.4 Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials– 8 th Edition Environmental Subsystems User-mode processes layered over the native Windows executive services to enable Windows to run programs developed for other operating system. Windows 7 uses the Win32 subsystem as the main operating environment; Win32 is used to start all processes. It also provides all the keyboard, mouse and graphical display capabilities. The POSIX subsystem is designed to run POSIX applications following the POSIX.1 standard which is based on the UNIX model.

15.5 Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials– 8 th Edition Environmental Subsystems (Cont.) Logon and Security Subsystems authenticates users logging on to Windows 7 systems Users are required to have account names and passwords. The authentication package authenticates users whenever they attempt to access an object from a remote system.

Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials – 8 th Edition File System

15.7 Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials– 8 th Edition File System The fundamental structure of the Windows 7 file system (NTFS) is a volume Created by the Windows disk administrator utility Based on a logical disk partition May occupy a portions of a disk, an entire disk, or span across several disks All metadata, such as information about the volume, is stored in a regular file NTFS uses clusters as the underlying unit of disk allocation A cluster is a number of disk sectors that is a power of two Because the cluster size is smaller than for the older 16-bit FAT file system, the amount of internal fragmentation is reduced

15.8 Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials– 8 th Edition File System — Internal Layout NTFS uses logical cluster numbers (LCNs) as disk addresses A file in NTFS is not a simple byte stream, as in MS-DOS or UNIX, rather, it is a structured object consisting of attributes Every file in NTFS is described by one or more records in an array stored in a special file called the Master File Table (MFT) Each file on an NTFS volume has a unique ID called a file reference. 64-bit quantity that consists of a 48-bit file number and a 16-bit sequence number Can be used to perform internal consistency checks The NTFS name space is organized by a hierarchy of directories; the index root contains the top level of the B+ tree

15.9 Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials– 8 th Edition File System — Recovery All file system data structure updates are performed inside transactions that are logged. Before a data structure is altered, the transaction writes a log record that contains redo and undo information. After the data structure has been changed, a commit record is written to the log to signify that the transaction succeeded. After a crash, the file system data structures can be restored to a consistent state by processing the log records.

15.10 Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials– 8 th Edition File System — Recovery (Cont.) This scheme does not guarantee that all the user file data can be recovered after a crash, just that the file system data structures (the metadata files) are undamaged and reflect some consistent state prior to the crash. The log is stored in the third metadata file at the beginning of the volume. The logging functionality is provided by the Windows log file service.

15.11 Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials– 8 th Edition File System — Security Security of an NTFS volume is derived from the Windows object model. Each file object has a security descriptor attribute stored in the MFT record. This attribute contains the security ID of the owner of the file, and an access control list that states the access privileges that are granted to each user and group that has access to the file.

15.12 Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials– 8 th Edition Volume Management and Fault Tolerance FtDisk, the fault tolerant disk driver for Windows, provides several ways to combine multiple disk drives into one logical volume Logically concatenate multiple disks to form a large logical volume, a volume set Disk mirroring, or RAID level 1, is a robust scheme that uses a mirror set — two equally sized partitions on tow disks with identical data contents To deal with disk sectors that go bad, FtDisk, uses a hardware technique called sector sparing and NTFS uses a software technique called cluster remapping

15.13 Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials– 8 th Edition Volume Set On Two Drives

15.14 Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials– 8 th Edition Stripe Set on Two Drives

15.15 Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials– 8 th Edition Mirror Set on Two Drives

15.16 Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials– 8 th Edition File System — Compression To compress a file, NTFS divides the file’s data into compression units, which are blocks of 16 contiguous clusters. For sparse files, NTFS uses another technique to save space. Clusters that contain all zeros are not actually allocated or stored on disk. Instead, gaps are left in the sequence of virtual cluster numbers stored in the MFT entry for the file. When reading a file, if a gap in the virtual cluster numbers is found, NTFS just zero-fills that portion of the caller’s buffer.

15.17 Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials– 8 th Edition File System — Encryption NTFS provides per-file encryption services for encrypting individual files or directories of files using EFS (Encrypted File System). Windows will also encrypt entire volumes with BitLocker Essentially all of the volume is encrypted There are three levels of key protection  Hardware TPM  An electronic key plugged into a USB connection  User password BitLocker machines should be shutdown rather than placed in standby to avoid attacks on the unencrypted physical memory. Systems protected by BitLocker have a high-degree of security against data theft of lost laptops or stolen systems.