SlideShare une entreprise Scribd logo
1  sur  54
Guide to Operating Systems,
4th
ed.
Chapter 4: File Systems
Guide to Operating Systems, 4th ed. 2
Objectives
2
• List the basic functions common to all file systems
• Explain the file systems used by Windows XP,
Windows Server 2003, Windows Vista, Windows
Server 2008, and Windows 7 (FAT16, FAT32,
FAT64, and NTFS)
• Discuss the file systems used by UNIX and Linux
systems, including ufs and ext
• Explain the Mac OS X Extended (HFS+) file system
including new features added in Mac OS X version
10.6 Leopard
Guide to Operating Systems, 4th ed. 3
Understanding the File System Functions
• All information stored on a computer’s hard disk is
managed, stored, and retrieved through a file
system
– The file system allocates locations on a disk for storage and it
keeps a record of where specific information is kept
– Some file systems also implement recovery procedures when a
disk area is damaged or when the OS goes down
• The overall purpose of a file system is to create a
structure for filing data
• A file is a set of data that is grouped in some logical
manner, assigned a name, and stored on the disk
Guide to Operating Systems, 4th ed. 4
Understanding File System Functions
• File systems used by operating systems perform
the following general tasks:
– Partition and format disks to store and retrieve information
– Enable files to be organized through directories and folders
– Establish file-naming conventions
– Provide utilities to maintain and manage the file system and
storage media
– Provide for file and data integrity
– Enable error recovery or prevention
– Secure the information in files
Guide to Operating Systems, 4th ed. 5
Understanding File System Functions
• Directory or folder – organizational structure that
contains files and may additionally contain
subdirectories (or subfolders)
• Directories may store the following information
– Date and time the directory or file was created
– Date and time the directory or file was last modified
– Date and time when the directory or file was last accessed
– Directory or file size
– Directory or file attributes, such as security information, or if the
directory or file was backed up
– If the information in a directory or file is compressed or
encrypted
Guide to Operating Systems, 4th ed. 6
Designing a Directory Structure
• A chaotic file structure:
– makes it difficult to run or remove programs
– Makes it difficult to determine the most current versions
– Makes users spend unproductive time looking for specific files
• Some users keep most of their files in the computer’s
primary level or root directory (root folder)
• Some programs use an automated setup that suggests
folders for new programs
– Example – creating new subfolders under the Program Files folder
• To avoid chaos, design the file and folder structure from
the start (especially on servers)
Guide to Operating Systems, 4th ed. 7
Designing a Directory Structure
• Consider following some general practices:
– Root folder should not be cluttered with files or too many
directories/folders
– Each software application should have its own folder/subfolder
– Similar information should be grouped (example: accounting
systems or office productivity software)
– Operating system files should be kept separate and protected
– Directories and folders should have names that clearly reflect
their purposes (a folder named “Shared” would contain
documents that can be shared by many users)
Guide to Operating Systems, 4th ed. 8
Designing a Directory Structure
Sample folder structure for a Windows-based system
Guide to Operating Systems, 4th ed. 9
Disk Storage Basics
• Hard disks arrive from manufacturer with low-level
formatting
– A low-level format is a software process that marks the
location of disk tracks and sectors
– Tracks are like several circles around a disk and each track is
divided into sections of equal size called sectors
Disk Storage Basics
Disk tracks and sectors on a platter
Guide to Operating Systems, 4th ed. 10
Guide to Operating Systems, 4th ed. 11
Block Allocation
• Block allocation – divides the disk into logical blocks
called clusters, which correlate to sectors, heads, and
tracks on the disk
– Keeps track of where specific files are stored on the disk
• Cylinders – tracks that line up on each platter from
top to bottom and are all read at the same time
• Data regarding block allocation is stored using one
of two techniques:
– File allocation table (FAT)
– New Technology File System (NTFS) and Unix/Linux file systems
– uses various locations on the disk to store a special type of file
that is used for directory and file allocation information
Guide to Operating Systems, 4th ed. 12
Partitions
• Partitioning – process of blocking a group of
tracks and sectors to be used by a particular file
system, such as FAT or NTFS
• After partitioning, the disk must be high-level
formatted in order for the OS to store files
• It might be necessary for a disk to have more than
one file system
– Will require a partition for each file system
– Example: To allow the installation of Red Hat Enterprise Linux
and Windows 7 on the same computer
Guide to Operating Systems, 4th ed. 13
Partitions
• Logical drives – creating multiple logical volumes
on a single disk and assigning drive letters to each
volume
• When a partition is created, information about that
partition is stored in a special area of the disk
known as the partition table (in MS-DOS, Mac
OS, and Windows) and disk label (in UNIX/Linux)
• Another piece of disk that is reserved is known as
the boot block in UNIX/Linux and Mac OS X, or
the Master Boot Record (MBR) in MS-DOS and
Windows.
Partitions
• In Windows, the MBR consists of four elements:
– The boot program – examines the partition table to determine
which partition to boot from
– The disk signature – stores information about the disk and is
used by management software such as the Windows registry
– The partition table for the active partition
– The end-of-MBR marker – where the MBR ends
• Not all operating systems support partitions in the
same way
• Each operating system uses specific utilities to
create partitions
Guide to Operating Systems, 4th ed. 14
Guide to Operating Systems, 4th ed. 15
Formatting
• Formatting – the process of placing the file system
on the partition
– Necessary in order to install an operating system
• After the OS is installed, a disk management tool
can be used to partition and format additional free
space
• Can also use the format command from the
Command Prompt window
– The format command includes several switches (extra codes)
– To view a list of these switches, type format /?
Guide to Operating Systems, 4th ed. 16
Formatting
• When a file is stored to disk:
– Data is written to clusters on the disk
– Filename is stored in the folder, along with the number of the first
cluster the data is stored in
– When the OS fills the first cluster, data is written to the next free
cluster and the FAT entry corresponding with the first cluster points to
the number of the second cluster used
– When the second cluster is full, the OS continues with the next free
cluster and the FAT entry for the second cluster points to the number
of the third cluster used, and so on…
– When a file is completely written to the disk, the FAT entry for the final
cluster is filled with all 1s (means end of file)
– This is commonly referred to as the linked-list method
Guide to Operating Systems, 4th ed. 17
Formatting
• Clusters are a fixed length
– When a files does not use all of the space in a cluster, the rest
of the cluster is unusable
– Unusable spots are marked in the FAT as bad clusters (never
used for file storage)
• Each partition stores and extra copy of the FAT
table in case the first copy gets damaged
• There is only one copy of the root directory on each
partition (see figure on the following slide)
• The FAT tables and root directory are at the
beginning of each partition and always at the same
location
Guide to Operating Systems, 4th ed. 18
Formatting
Typical FAT directory structure
Formatting
• Each FAT directory entry contains filename, file
change date and time, file size, and file attributes
• Attributes can indicate whether a file is set to:
– Read-only
– Archive (to be backed up the next time a backup is made)
– System
– Hidden
Guide to Operating Systems, 4th ed. 19
Guide to Operating Systems, 4th ed. 20
Windows File Systems
• Windows XP, Vista 7, Server 2003, and Server
2008 support three files systems:
– Extended FAT16
– FAT32
– NTFS
• These OSs also support file systems for DVD/CD-
ROM drives and USB devices (flash drives)
FAT16 and Extended FAT16
• Extended FAT16 evolved from FAT16 used in
earlier versions of MS-DOS and Windows
(3.x/95/98/Me)
• In extended FAT16:
– Maximum size of a volume is 4GB
– Maximum size of a file is 2GB
– Has been around for awhile and can be read by non-Windows
operating systems like UNIX/Linux
– Considered a stable file system
– Long filenames (LFNs) can be used
• Can contain up to 255 characters
• Not case sensitive
Guide to Operating Systems, 4th ed. 21
Guide to Operating Systems, 4th ed. 22
FAT32
• Support for FAT32 started with Windows 95
Release 2
• Designed to accommodate larger capacity disks
• FAT32:
– Root folder does not have to be at the beginning of a volume
– Can use disk space more efficiently than FAT16 (because it
uses smaller cluster sizes)
– Largest volume that can be formatted is 32 GB
– Maximum file size is 4 GB
– Offers fast response on small 1 or 2 GB partitions
Guide to Operating Systems, 4th ed. 23
FAT64
• FAT64 is also known as exFAT
• Proprietary file system introduced by Microsoft for
mobile personal storage
• Good choice for USB flash devices that may store
large files (such as pictures, videos, etc…)
• Available in Service Pack 1 for Windows Vista,
Windows 7, and Windows Server 2008, Mac OS X
Snow Leopard
• Support is available for Linux from a third party
Guide to Operating Systems, 4th ed. 24
NTFS
• NTFS – dominant Windows file system for all
Windows operating systems starting with Windows
2000
• Uses a Master File Table (MFT) instead of FAT
tables
• The MFT and related files take up about 1 MB of
disk space
• When a file is created, a record for that file is
added to the MFT
– Contains additional attributes such as security settings,
ownership, and permissions
Guide to Operating Systems, 4th ed. 25
NTFS
• The MFT record reflects the sequence of clusters
that a file uses
• It is possible to have multiple filenames that refer to
the same file
– A technique known as hard linking
– This feature is also available in UNIX/Linux file systems
• Windows Vista, Server 2008, and 7 use NTFS
version 6
• Windows XP and Server 2003 use NTFS version 5
• Windows NT 4.0 used NTFS 4
Guide to Operating Systems, 4th ed. 26
NTFS
• Basic features of NTFS:
– Long filenames
– Built-in security features
– Better file compression than FAT
– Ability to use larger disks and files than FAT
– File activity tracking for better recovery and stability than FAT
– Portable Operating System Interface for Unix (POSIX)
support
– Volume striping and volume extensions
– Less disk fragmentation than FAT
Guide to Operating Systems, 4th ed. 27
NTFS
• NTFS is equipped with security features that meet
the US government’s C2 security specifications
– Refers to high-level, “top-secret” standards for data protection,
system auditing, and system access
• Examples:
– System files can be protected so only the server administrator
has access
– A folder of databases can be protected with read access, but
no access to change data
– Public folder can give users in a designated group access to
read and update files, but not to delete files
Guide to Operating Systems, 4th ed. 28
NTFS
• Some files can be compressed by more than 40%,
saving disk storage for other storage needs
• NTFS has the ability to keep a log or journal of file
system activity (called journaling)
– Makes it possible for files to be restored in the event of a power
failure
• NTFS supports volume striping
– Process that equally divides the contents of each file across two or
more volumes to extend disk life, enable fault tolerance, and
balance disk load for better performance
• NTFS has hot fix capabilities
– If a bad disk area is detected, automatically copies the information
to another disk area that is not damaged
Guide to Operating Systems, 4th ed. 29
NTFS
• In addition to NTFS 4 features, NTFS 5 adds
several new features:
– Ability to encrypt files
– No system reboot required after creating an extended volume
– Ability to reduce drive designations
– Indexing for fast access
– Ability to retain shortcuts and other file information when files
and folders are placed on other volumes
– Ability to establish disk quotas (to control how much disk space
users can occupy)
NTFS
• NTFS 6 (latest version) adds several new features:
– Transactional NTFS – used to perform operations in
transactions (all at once or not all)
– Partition resizing – allows administrator to expand or shrink
partitions
– Self-healing – the chkdsk utility runs in the background to
correct hard disk problems (instead of having to take the
volume down to run it)
Guide to Operating Systems, 4th ed. 30
NTFS
• The chkdsk utility can detect and fix an extensive
set of file system problems in FAT and NTFS
system
– This utility is available in all versions of Windows starting with
Windows 2000
– The most common problems found are files with 0 sizes,
caused when a file is not properly closed or chains of clusters
that have no directory entries
• Windows 2000 and later versions have a built-in
disk defragmenting tool
– Rearranges data on the disk in a continuous fashion, ridding
the disk of scattered open clusters
Guide to Operating Systems, 4th ed. 31
NTFS
FAT16, FAT32, FAT64, and NTFS compared
Guide to Operating Systems, 4th ed. 32
CDFS and UDF
• Windows versions after Windows 2000 recognize
some additional file systems used by peripheral
storage technologies
• CD-ROM File System (CDFS) – supported so that
OSs can read and write files to DVD/CD-ROM
drives
• Universal Disk Format (UDF) – also used on
DVD/CD-ROMs, which are used for huge file
storage to accommodate movies and games
Guide to Operating Systems, 4th ed. 33
The UNIX File System
• There are many different file systems that can be
used with UNIX
– Some file systems are more “native” to specific UNIX operating
systems than others
• Most versions of UNIX and Linux support the UNIX
file system (ufs), which is the original native UNIX
file system
– ufs is a hierarchical file system that is expandable, supports
large storage, provides excellent security, and is reliable
– Many qualities of NTFS are modeled after ufs (journaling and
hot fixes)
Guide to Operating Systems, 4th ed. 34
The UNIX File System
• In Linux, the native file system is called the
extended file system (ext or ext fs)
• ext is modeled after ufs and enables the use of the
full range of built-in Linux commands, file
manipulation, and security
• The first ext version had bugs
– ext2 – reliable file system that handles large disk storage
– ext3 – added journaling capabilities
– ext4 – supports file sizes up to 16 TB
Guide to Operating Systems, 4th ed. 35
The UNIX File System
• Both ufs and ext use the same structure
– Built on the concept of information nodes (or inodes)
– Each file has an inode and is identified by an inode number
– An inode contains general information about that file such as:
• User and group ownership, permissions, size and type of file, date
the file was created, and the date the file was last modified and
read
– Each disk is divided into logical blocks
• The superblock contains information about the layout of blocks,
sectors, and cylinder groups on the file system
– The inode for a file contains a pointer (number) that tells the
OS where to find a file on the hard disk (based on logical
blocks)
– Inode 0 contains the root of the folder structure and is the
jumping off point for all other inodesGuide to Operating Systems, 4th ed. 36
The UNIX File System
• A UNIX/Linux system can have many file systems
– Mounts file systems as a sub file system of the root file system
– All file systems are referred to by a path
– The path starts out with / (/ indicates the main root directory of
the file system)
– See Figure 4-14 on the next slide for examples
• Directories in the file system contain a series of
filenames
– UNIX/Linux allows the use of long filenames, which may
include any character that can be represented by ASCII
Guide to Operating Systems, 4th ed. 37
The UNIX File System
UNIX/Linux file system path entries
Guide to Operating Systems, 4th ed. 38
The UNIX File System
• Disks are referenced by a special inode called a
device
• There are two types of devices:
– Raw device – has no logical division in blocks
– Block device – does have logical division in blocks
• Devices are normally kept in the /dev or /devices
directory
• Symbolic link – used to link a directory entry to a
file that is on a different partition
– Merely a pointer to a file
Guide to Operating Systems, 4th ed. 39
The UNIX File System
• You must first partition a disk to use the UNIX/Linux file
system
• The command to partition the disk differs slightly
– Most UNIX systems use either fdisk or format
– Typing man fdisk or man format at the command prompt gives you an
overview of available commands
Guide to Operating Systems, 4th ed. 40
The UNIX File System
• Once a partition is made, a file system can be
created
– You must know the device name of the partition on which you
wish to create a file system
– Type newfs, followed by the name of the device
– The newfs command is not available in all versions of Linux
• Use the mkfs command instead
Guide to Operating Systems, 4th ed. 41
The UNIX File System
• When a file is saved to disk, the system first stores
part of the data to memory until it has time to write
to disk
– If computer is shut down prior to data being written to disk, you
can end up with a damaged file system
– UNIX/Linux systems should always be shut down using proper
shutdown commands
– You can manually force a write of all data in memory by using
the sync command
• Another utility is known as fsck
– Verifies the integrity of the superblock, the inodes, all cluster
groups, and all directory entries
Guide to Operating Systems, 4th ed. 42
The UNIX File System
UNIX/Linux file system commands
Guide to Operating Systems, 4th ed. 43
The Macintosh File System
• The original Macintosh Filing System (MFS) of
1984 was limited
– Kept track of 128 documents, applications or folders
– Reasonable limit when the only storage device was a 400 KB
floppy disk drive
• In 1986, Apple created Hierarchical Filing System
(HFS)
– Divided a volume (disk partition) into allocation blocks – similar
to clusters on PCs
• In 1998, Apple released Mac OS 8.1 with a new file
system called Hierarchical Filing System Extended
Format (HFS+)
Guide to Operating Systems, 4th ed. 44
The Macintosh File System
• In Mac OS X version 3.0, Mac OS Extended
(HFS+) includes new features:
– A case-sensitive format to make the file system more
compatible with other UNIX/Linux systems
– Journaling
– Ability to store up to 16 TB of data
• The first two sectors of a Mac-formatted disk are:
– Boot sectors, or boot blocks
– Volume information block – contains catalog b-tree
• Catalog b-tree is a list of all files on the volume and keeps track of
a file’s name, location in the folder structure, and its physical
location
Guide to Operating Systems, 4th ed. 45
The Macintosh File System
• Macintoshes can read and write to disks from other
operating systems
• Mac OS has always supported what might be
called medium filenames (up to 31 characters)
– Any character may be used in a filename except the colon (:)
– Reason for this: Macintosh paths are written as colon-
separated entities such as:
• Hard Drive:System Folder:Preferences:Finder Prefs
• Mac uses type codes and creator codes instead of
filename extensions as in Windows
– Files created with Apple’s SimpleText editor have a type code
of APPL and a creator code of ttxt
Guide to Operating Systems, 4th ed. 46
The Macintosh File System
• Macintosh files can contain two parts, or forks:
– Data fork – contains frequently changing information (such as
word processing data)
– Resource fork – contains information that is fixed (such as a
program’s icons, menu resources, and splash screens)
• Because Mac files have type and creator codes
and two forks can create problems when storing
files on non-Macintosh servers
– MacBinary – format which joins the two forks into one, and
safely stores the type and creator codes and finder flags
Guide to Operating Systems, 4th ed. 47
The Macintosh File System
• Apple’s equivalent to a Windows shortcut is the
alias (introduced in System 7.0 in 1991)
– The system-level Alias Manager keeps track of the original
– The word “alias” is tacked onto the filename when the alias is
created and the filename is italicized
• Mac OS X comes with two disk utilities:
– Disk Utility – manages disk drives
– Disk First Aid – repairs disk problems
• Mac OS X also comes with a utility (Sherlock) that
searches disks for filenames and text within files
– Spotlight replaced Sherlock in Mac OS X 10.4 Tiger
Guide to Operating Systems, 4th ed. 48
The Macintosh File System
A Spotlight search in Mac OS X Snow Leopard
Guide to Operating Systems, 4th ed. 49
The Macintosh File System
• When a Mac is not shut down properly a disk
integrity check will automatically run at the next
startup
• Macs will boot from a DVD/CD-ROM or various
SCSI devices
– To boot from a DVD/CD-ROM, press the “C” key while booting
up
– Pressing the Shift-Option-Delete-Apple (SODA) keys while
booting will bypass the internal hard drive and boot from the
next drive in a SCSI chain
Guide to Operating Systems, 4th ed. 50
Chapter Summary
• For the user, files are the “bread and butter” of an operating
system. Besides containing the operating system kernel, files hold
documents and programs on which users rely.
• Files are made possible by a file system that enables them to be
created, written, managed, and stored on disk media. All OSs must
have a file system that provides a file-naming convention, a way to
store files, and a means to partition and format disks.
• Besides creating and modifying files, the file system also should
offer the ability to defragment files, compress file contents, ensure
file and data integrity, secure files, and control removable storage
media.
• The main file systems used in Windows since Windows 2000 are
extended FAT16, FAT32, and NTFS.
Guide to Operating Systems, 4th ed. 51
Chapter Summary
• In FAT16 and FAT32, the file system creates a file allocation
table to store information about files.
• FAT32 is more robust than FAT16, providing for the use of
more clusters and larger partitions.
• FAT64 (exFAT) is mainly used for personal mobile storage
devices like flash drives.
• NTFS is the native file system for Windows 2000 and after
with the advantage of better security, larger disk and file
sizes, better management tools, and greater stability than
FAT16 and FAT32.
• chkdsk is an important disk verification and repair utility that
works for FAT16, FAT32, and NTFS.
Guide to Operating Systems, 4th ed. 52
Chapter Summary
• UNIX and Linux support many support many different file
systems but typically employ ufs or ext
• ufs and ext use information nodes (inodes) to organize
information about files.
• Different varieties of UNIX/Linux use different file system
utilities, such as fdisk and format to partition and format
disks. The fsck (file system checker) utility is used to verify
the integrity of UNIX/Linux file systems.
• Mac OS X uses Mac OS Extended (HFS+) file system, which
is an enhancement of HFS and was introduced in 1998 with
Mac OS 8.1.
Guide to Operating Systems, 4th ed. 53
Chapter Summary
• Two important Mac OS X disk tools include Disk Utility and
Disk First Aid.
• Table 4-8 shows the disk management tools you have
learned about in the chapter. Of these tools, the Mac OS X
tool might be the most “one-stop,” because you can use it to
configure, repair, and manage disks.
Guide to Operating Systems, 4th ed. 54

Contenu connexe

Tendances

Enhanced Embedded Linux Board Support Package Field Upgrade – A Cost Effectiv...
Enhanced Embedded Linux Board Support Package Field Upgrade – A Cost Effectiv...Enhanced Embedded Linux Board Support Package Field Upgrade – A Cost Effectiv...
Enhanced Embedded Linux Board Support Package Field Upgrade – A Cost Effectiv...ijesajournal
 
Selecting and Installing Operating System
Selecting and Installing Operating SystemSelecting and Installing Operating System
Selecting and Installing Operating SystemAmir Villas
 
Dheeraj chugh -_presentation_on_ms-dos
Dheeraj chugh -_presentation_on_ms-dosDheeraj chugh -_presentation_on_ms-dos
Dheeraj chugh -_presentation_on_ms-dosREXY J
 
Driver development – memory management
Driver development – memory managementDriver development – memory management
Driver development – memory managementVandana Salve
 
Linux for embedded_systems
Linux for embedded_systemsLinux for embedded_systems
Linux for embedded_systemsVandana Salve
 
DOS Operating System
DOS Operating SystemDOS Operating System
DOS Operating SystemAnjan Mahanta
 
Introduction to Disk Storage
Introduction to Disk StorageIntroduction to Disk Storage
Introduction to Disk StorageAmir Villas
 
Windows OS Architecture in Summery
Windows OS Architecture in SummeryWindows OS Architecture in Summery
Windows OS Architecture in SummeryAsanka Dilruk
 
Operating System Case Study and I/O System
Operating System Case Study and I/O SystemOperating System Case Study and I/O System
Operating System Case Study and I/O Systemprakash ganesan
 
Configuring Devices in Windows
Configuring Devices in WindowsConfiguring Devices in Windows
Configuring Devices in WindowsAmir Villas
 
Case study operating systems
Case study operating systemsCase study operating systems
Case study operating systemsAkhil Bevara
 

Tendances (20)

9781111306366 ppt ch9
9781111306366 ppt ch99781111306366 ppt ch9
9781111306366 ppt ch9
 
Enhanced Embedded Linux Board Support Package Field Upgrade – A Cost Effectiv...
Enhanced Embedded Linux Board Support Package Field Upgrade – A Cost Effectiv...Enhanced Embedded Linux Board Support Package Field Upgrade – A Cost Effectiv...
Enhanced Embedded Linux Board Support Package Field Upgrade – A Cost Effectiv...
 
9781111306366 ppt ch8
9781111306366 ppt ch89781111306366 ppt ch8
9781111306366 ppt ch8
 
Selecting and Installing Operating System
Selecting and Installing Operating SystemSelecting and Installing Operating System
Selecting and Installing Operating System
 
Dheeraj chugh -_presentation_on_ms-dos
Dheeraj chugh -_presentation_on_ms-dosDheeraj chugh -_presentation_on_ms-dos
Dheeraj chugh -_presentation_on_ms-dos
 
file management
 file management file management
file management
 
09. storage-part-1
09. storage-part-109. storage-part-1
09. storage-part-1
 
Driver development – memory management
Driver development – memory managementDriver development – memory management
Driver development – memory management
 
SSD HSD storage drives
SSD HSD storage drives SSD HSD storage drives
SSD HSD storage drives
 
Linux for embedded_systems
Linux for embedded_systemsLinux for embedded_systems
Linux for embedded_systems
 
DOS Operating System
DOS Operating SystemDOS Operating System
DOS Operating System
 
Introduction to Disk Storage
Introduction to Disk StorageIntroduction to Disk Storage
Introduction to Disk Storage
 
Windows OS Architecture in Summery
Windows OS Architecture in SummeryWindows OS Architecture in Summery
Windows OS Architecture in Summery
 
Operating System Case Study and I/O System
Operating System Case Study and I/O SystemOperating System Case Study and I/O System
Operating System Case Study and I/O System
 
Window architecture
Window architecture Window architecture
Window architecture
 
Case study windows
Case study windowsCase study windows
Case study windows
 
Configuring Devices in Windows
Configuring Devices in WindowsConfiguring Devices in Windows
Configuring Devices in Windows
 
Case study operating systems
Case study operating systemsCase study operating systems
Case study operating systems
 
Ch12
Ch12Ch12
Ch12
 
Operating system and services
Operating system and servicesOperating system and services
Operating system and services
 

En vedette

Disk management server
Disk management serverDisk management server
Disk management serveranilinvns
 
Comparison of android and black berry forensic techniques
Comparison of android and black berry forensic techniquesComparison of android and black berry forensic techniques
Comparison of android and black berry forensic techniquesYury Chemerkin
 
Major Google Algorithm Updates: A Brief Overview
Major Google Algorithm Updates: A Brief OverviewMajor Google Algorithm Updates: A Brief Overview
Major Google Algorithm Updates: A Brief OverviewOneThingMKT
 
Advanced SEO - BlogPaws 2015
Advanced SEO - BlogPaws 2015Advanced SEO - BlogPaws 2015
Advanced SEO - BlogPaws 2015Jill Caren
 
What One Digital Forensics Expert Found on Hundreds of Hard Drives, iPhones a...
What One Digital Forensics Expert Found on Hundreds of Hard Drives, iPhones a...What One Digital Forensics Expert Found on Hundreds of Hard Drives, iPhones a...
What One Digital Forensics Expert Found on Hundreds of Hard Drives, iPhones a...Blancco
 
Brev loc cloud data storage, backup and recovery pres
Brev loc cloud data storage, backup and recovery presBrev loc cloud data storage, backup and recovery pres
Brev loc cloud data storage, backup and recovery presdanmraz
 
Managing windows xp file systems and storage.2012.university duhok.bioloy.das...
Managing windows xp file systems and storage.2012.university duhok.bioloy.das...Managing windows xp file systems and storage.2012.university duhok.bioloy.das...
Managing windows xp file systems and storage.2012.university duhok.bioloy.das...Dashty Rihany
 
File system Os
File system OsFile system Os
File system OsNehal Naik
 
New SEO Strategy for 2014
New SEO Strategy for 2014New SEO Strategy for 2014
New SEO Strategy for 2014Digital Success
 
Fat and ntfs
Fat and ntfsFat and ntfs
Fat and ntfsLucky Ali
 
Partitioning a Hard Drive
Partitioning a Hard DrivePartitioning a Hard Drive
Partitioning a Hard DriveJamaica Olazo
 
Data recovery from storage device
Data recovery from storage deviceData recovery from storage device
Data recovery from storage deviceMohit Shah
 

En vedette (20)

Disk management
Disk managementDisk management
Disk management
 
Hard drive partitions
Hard drive partitionsHard drive partitions
Hard drive partitions
 
Disk management server
Disk management serverDisk management server
Disk management server
 
Comparison of android and black berry forensic techniques
Comparison of android and black berry forensic techniquesComparison of android and black berry forensic techniques
Comparison of android and black berry forensic techniques
 
Major Google Algorithm Updates: A Brief Overview
Major Google Algorithm Updates: A Brief OverviewMajor Google Algorithm Updates: A Brief Overview
Major Google Algorithm Updates: A Brief Overview
 
Seminar 1
Seminar 1Seminar 1
Seminar 1
 
Advanced SEO - BlogPaws 2015
Advanced SEO - BlogPaws 2015Advanced SEO - BlogPaws 2015
Advanced SEO - BlogPaws 2015
 
Panda, Penguin, Hummingbird
Panda, Penguin, HummingbirdPanda, Penguin, Hummingbird
Panda, Penguin, Hummingbird
 
What One Digital Forensics Expert Found on Hundreds of Hard Drives, iPhones a...
What One Digital Forensics Expert Found on Hundreds of Hard Drives, iPhones a...What One Digital Forensics Expert Found on Hundreds of Hard Drives, iPhones a...
What One Digital Forensics Expert Found on Hundreds of Hard Drives, iPhones a...
 
Brev loc cloud data storage, backup and recovery pres
Brev loc cloud data storage, backup and recovery presBrev loc cloud data storage, backup and recovery pres
Brev loc cloud data storage, backup and recovery pres
 
Disk formatting
Disk formattingDisk formatting
Disk formatting
 
Managing windows xp file systems and storage.2012.university duhok.bioloy.das...
Managing windows xp file systems and storage.2012.university duhok.bioloy.das...Managing windows xp file systems and storage.2012.university duhok.bioloy.das...
Managing windows xp file systems and storage.2012.university duhok.bioloy.das...
 
File system Os
File system OsFile system Os
File system Os
 
New SEO Strategy for 2014
New SEO Strategy for 2014New SEO Strategy for 2014
New SEO Strategy for 2014
 
File Carving
File CarvingFile Carving
File Carving
 
Fat and ntfs
Fat and ntfsFat and ntfs
Fat and ntfs
 
Disk structure
Disk structureDisk structure
Disk structure
 
Partitioning a Hard Drive
Partitioning a Hard DrivePartitioning a Hard Drive
Partitioning a Hard Drive
 
Data recovery from storage device
Data recovery from storage deviceData recovery from storage device
Data recovery from storage device
 
Windows File Systems
Windows File SystemsWindows File Systems
Windows File Systems
 

Similaire à Guide to File Systems in Operating Systems

Similaire à Guide to File Systems in Operating Systems (20)

Windows Forensics- Introduction and Analysis
Windows Forensics- Introduction and AnalysisWindows Forensics- Introduction and Analysis
Windows Forensics- Introduction and Analysis
 
Os
OsOs
Os
 
Course 102: Lecture 26: FileSystems in Linux (Part 1)
Course 102: Lecture 26: FileSystems in Linux (Part 1) Course 102: Lecture 26: FileSystems in Linux (Part 1)
Course 102: Lecture 26: FileSystems in Linux (Part 1)
 
File system
File systemFile system
File system
 
File system
File systemFile system
File system
 
Windows File Systems
Windows File SystemsWindows File Systems
Windows File Systems
 
File system
File systemFile system
File system
 
NTFS vs FAT
NTFS vs FATNTFS vs FAT
NTFS vs FAT
 
UNIT 4-UNDERSTANDING VIRTUAL MEMORY.pptx
UNIT 4-UNDERSTANDING VIRTUAL MEMORY.pptxUNIT 4-UNDERSTANDING VIRTUAL MEMORY.pptx
UNIT 4-UNDERSTANDING VIRTUAL MEMORY.pptx
 
Windows file system
Windows file systemWindows file system
Windows file system
 
File systems for Embedded Linux
File systems for Embedded LinuxFile systems for Embedded Linux
File systems for Embedded Linux
 
Disk and File System Management in Linux
Disk and File System Management in LinuxDisk and File System Management in Linux
Disk and File System Management in Linux
 
Managing Files
Managing FilesManaging Files
Managing Files
 
Windowsforensics
WindowsforensicsWindowsforensics
Windowsforensics
 
Operating system
Operating systemOperating system
Operating system
 
Microsoft Windows File System in Operating System
Microsoft Windows File System in Operating SystemMicrosoft Windows File System in Operating System
Microsoft Windows File System in Operating System
 
Lesson four operating system basics
Lesson four operating system basicsLesson four operating system basics
Lesson four operating system basics
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
 
File System and File allocation tables
File System and File allocation tablesFile System and File allocation tables
File System and File allocation tables
 
Storage Devices
Storage DevicesStorage Devices
Storage Devices
 

Plus de Dr. Ahmed Al Zaidy

Chapter 14 Exploring Object-based Programming
Chapter 14 Exploring Object-based ProgrammingChapter 14 Exploring Object-based Programming
Chapter 14 Exploring Object-based ProgrammingDr. Ahmed Al Zaidy
 
Chapter 13 Programming for web forms
Chapter 13 Programming for web formsChapter 13 Programming for web forms
Chapter 13 Programming for web formsDr. Ahmed Al Zaidy
 
Chapter 12 Working with Document nodes and style sheets
Chapter 12 Working with Document nodes and style sheetsChapter 12 Working with Document nodes and style sheets
Chapter 12 Working with Document nodes and style sheetsDr. Ahmed Al Zaidy
 
Chapter 11 Working with Events and Styles
Chapter 11 Working with Events and StylesChapter 11 Working with Events and Styles
Chapter 11 Working with Events and StylesDr. Ahmed Al Zaidy
 
Chapter 10 Exploring arrays, loops, and conditional statements
Chapter 10 Exploring arrays, loops, and conditional statementsChapter 10 Exploring arrays, loops, and conditional statements
Chapter 10 Exploring arrays, loops, and conditional statementsDr. Ahmed Al Zaidy
 
Chapter 9 Getting Started with JavaScript
Chapter 9 Getting Started with JavaScriptChapter 9 Getting Started with JavaScript
Chapter 9 Getting Started with JavaScriptDr. Ahmed Al Zaidy
 
Chapter 8 Enhancing a website with multimedia
Chapter 8 Enhancing a website with multimediaChapter 8 Enhancing a website with multimedia
Chapter 8 Enhancing a website with multimediaDr. Ahmed Al Zaidy
 
Chapter 7 Designing a web form
Chapter 7 Designing a web formChapter 7 Designing a web form
Chapter 7 Designing a web formDr. Ahmed Al Zaidy
 
Chapter 6 Working with Tables and Columns
Chapter 6 Working with Tables and ColumnsChapter 6 Working with Tables and Columns
Chapter 6 Working with Tables and ColumnsDr. Ahmed Al Zaidy
 
Chapter 5 Designing for the mobile web
Chapter 5 Designing for the mobile webChapter 5 Designing for the mobile web
Chapter 5 Designing for the mobile webDr. Ahmed Al Zaidy
 
Chapter 4 Graphic Design with CSS
Chapter 4 Graphic Design with CSSChapter 4 Graphic Design with CSS
Chapter 4 Graphic Design with CSSDr. Ahmed Al Zaidy
 
Chapter 3 Designing a Page Layout
Chapter 3 Designing a Page LayoutChapter 3 Designing a Page Layout
Chapter 3 Designing a Page LayoutDr. Ahmed Al Zaidy
 
Chapter 2 Getting Started with CSS
Chapter 2 Getting Started with CSSChapter 2 Getting Started with CSS
Chapter 2 Getting Started with CSSDr. Ahmed Al Zaidy
 
Chapter 1 Getting Started with HTML5
Chapter 1 Getting Started with HTML5Chapter 1 Getting Started with HTML5
Chapter 1 Getting Started with HTML5Dr. Ahmed Al Zaidy
 
testing throughout-the-software-life-cycle-section-2
testing throughout-the-software-life-cycle-section-2testing throughout-the-software-life-cycle-section-2
testing throughout-the-software-life-cycle-section-2Dr. Ahmed Al Zaidy
 
Chapter 14 Business Continuity
Chapter 14 Business ContinuityChapter 14 Business Continuity
Chapter 14 Business ContinuityDr. Ahmed Al Zaidy
 
Chapter 13 Vulnerability Assessment and Data Security
Chapter 13 Vulnerability Assessment and Data SecurityChapter 13 Vulnerability Assessment and Data Security
Chapter 13 Vulnerability Assessment and Data SecurityDr. Ahmed Al Zaidy
 

Plus de Dr. Ahmed Al Zaidy (20)

Chapter 14 Exploring Object-based Programming
Chapter 14 Exploring Object-based ProgrammingChapter 14 Exploring Object-based Programming
Chapter 14 Exploring Object-based Programming
 
Chapter 13 Programming for web forms
Chapter 13 Programming for web formsChapter 13 Programming for web forms
Chapter 13 Programming for web forms
 
Chapter 12 Working with Document nodes and style sheets
Chapter 12 Working with Document nodes and style sheetsChapter 12 Working with Document nodes and style sheets
Chapter 12 Working with Document nodes and style sheets
 
Chapter 11 Working with Events and Styles
Chapter 11 Working with Events and StylesChapter 11 Working with Events and Styles
Chapter 11 Working with Events and Styles
 
Chapter 10 Exploring arrays, loops, and conditional statements
Chapter 10 Exploring arrays, loops, and conditional statementsChapter 10 Exploring arrays, loops, and conditional statements
Chapter 10 Exploring arrays, loops, and conditional statements
 
Chapter 9 Getting Started with JavaScript
Chapter 9 Getting Started with JavaScriptChapter 9 Getting Started with JavaScript
Chapter 9 Getting Started with JavaScript
 
Chapter 8 Enhancing a website with multimedia
Chapter 8 Enhancing a website with multimediaChapter 8 Enhancing a website with multimedia
Chapter 8 Enhancing a website with multimedia
 
Chapter 7 Designing a web form
Chapter 7 Designing a web formChapter 7 Designing a web form
Chapter 7 Designing a web form
 
Chapter 6 Working with Tables and Columns
Chapter 6 Working with Tables and ColumnsChapter 6 Working with Tables and Columns
Chapter 6 Working with Tables and Columns
 
Chapter 5 Designing for the mobile web
Chapter 5 Designing for the mobile webChapter 5 Designing for the mobile web
Chapter 5 Designing for the mobile web
 
Chapter 4 Graphic Design with CSS
Chapter 4 Graphic Design with CSSChapter 4 Graphic Design with CSS
Chapter 4 Graphic Design with CSS
 
Chapter 3 Designing a Page Layout
Chapter 3 Designing a Page LayoutChapter 3 Designing a Page Layout
Chapter 3 Designing a Page Layout
 
Chapter 2 Getting Started with CSS
Chapter 2 Getting Started with CSSChapter 2 Getting Started with CSS
Chapter 2 Getting Started with CSS
 
Chapter 1 Getting Started with HTML5
Chapter 1 Getting Started with HTML5Chapter 1 Getting Started with HTML5
Chapter 1 Getting Started with HTML5
 
Integer overflows
Integer overflowsInteger overflows
Integer overflows
 
testing throughout-the-software-life-cycle-section-2
testing throughout-the-software-life-cycle-section-2testing throughout-the-software-life-cycle-section-2
testing throughout-the-software-life-cycle-section-2
 
Fundamental of testing
Fundamental of testingFundamental of testing
Fundamental of testing
 
Chapter 15 Risk Mitigation
Chapter 15 Risk MitigationChapter 15 Risk Mitigation
Chapter 15 Risk Mitigation
 
Chapter 14 Business Continuity
Chapter 14 Business ContinuityChapter 14 Business Continuity
Chapter 14 Business Continuity
 
Chapter 13 Vulnerability Assessment and Data Security
Chapter 13 Vulnerability Assessment and Data SecurityChapter 13 Vulnerability Assessment and Data Security
Chapter 13 Vulnerability Assessment and Data Security
 

Dernier

Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 

Dernier (20)

Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 

Guide to File Systems in Operating Systems

  • 1. Guide to Operating Systems, 4th ed. Chapter 4: File Systems
  • 2. Guide to Operating Systems, 4th ed. 2 Objectives 2 • List the basic functions common to all file systems • Explain the file systems used by Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, and Windows 7 (FAT16, FAT32, FAT64, and NTFS) • Discuss the file systems used by UNIX and Linux systems, including ufs and ext • Explain the Mac OS X Extended (HFS+) file system including new features added in Mac OS X version 10.6 Leopard
  • 3. Guide to Operating Systems, 4th ed. 3 Understanding the File System Functions • All information stored on a computer’s hard disk is managed, stored, and retrieved through a file system – The file system allocates locations on a disk for storage and it keeps a record of where specific information is kept – Some file systems also implement recovery procedures when a disk area is damaged or when the OS goes down • The overall purpose of a file system is to create a structure for filing data • A file is a set of data that is grouped in some logical manner, assigned a name, and stored on the disk
  • 4. Guide to Operating Systems, 4th ed. 4 Understanding File System Functions • File systems used by operating systems perform the following general tasks: – Partition and format disks to store and retrieve information – Enable files to be organized through directories and folders – Establish file-naming conventions – Provide utilities to maintain and manage the file system and storage media – Provide for file and data integrity – Enable error recovery or prevention – Secure the information in files
  • 5. Guide to Operating Systems, 4th ed. 5 Understanding File System Functions • Directory or folder – organizational structure that contains files and may additionally contain subdirectories (or subfolders) • Directories may store the following information – Date and time the directory or file was created – Date and time the directory or file was last modified – Date and time when the directory or file was last accessed – Directory or file size – Directory or file attributes, such as security information, or if the directory or file was backed up – If the information in a directory or file is compressed or encrypted
  • 6. Guide to Operating Systems, 4th ed. 6 Designing a Directory Structure • A chaotic file structure: – makes it difficult to run or remove programs – Makes it difficult to determine the most current versions – Makes users spend unproductive time looking for specific files • Some users keep most of their files in the computer’s primary level or root directory (root folder) • Some programs use an automated setup that suggests folders for new programs – Example – creating new subfolders under the Program Files folder • To avoid chaos, design the file and folder structure from the start (especially on servers)
  • 7. Guide to Operating Systems, 4th ed. 7 Designing a Directory Structure • Consider following some general practices: – Root folder should not be cluttered with files or too many directories/folders – Each software application should have its own folder/subfolder – Similar information should be grouped (example: accounting systems or office productivity software) – Operating system files should be kept separate and protected – Directories and folders should have names that clearly reflect their purposes (a folder named “Shared” would contain documents that can be shared by many users)
  • 8. Guide to Operating Systems, 4th ed. 8 Designing a Directory Structure Sample folder structure for a Windows-based system
  • 9. Guide to Operating Systems, 4th ed. 9 Disk Storage Basics • Hard disks arrive from manufacturer with low-level formatting – A low-level format is a software process that marks the location of disk tracks and sectors – Tracks are like several circles around a disk and each track is divided into sections of equal size called sectors
  • 10. Disk Storage Basics Disk tracks and sectors on a platter Guide to Operating Systems, 4th ed. 10
  • 11. Guide to Operating Systems, 4th ed. 11 Block Allocation • Block allocation – divides the disk into logical blocks called clusters, which correlate to sectors, heads, and tracks on the disk – Keeps track of where specific files are stored on the disk • Cylinders – tracks that line up on each platter from top to bottom and are all read at the same time • Data regarding block allocation is stored using one of two techniques: – File allocation table (FAT) – New Technology File System (NTFS) and Unix/Linux file systems – uses various locations on the disk to store a special type of file that is used for directory and file allocation information
  • 12. Guide to Operating Systems, 4th ed. 12 Partitions • Partitioning – process of blocking a group of tracks and sectors to be used by a particular file system, such as FAT or NTFS • After partitioning, the disk must be high-level formatted in order for the OS to store files • It might be necessary for a disk to have more than one file system – Will require a partition for each file system – Example: To allow the installation of Red Hat Enterprise Linux and Windows 7 on the same computer
  • 13. Guide to Operating Systems, 4th ed. 13 Partitions • Logical drives – creating multiple logical volumes on a single disk and assigning drive letters to each volume • When a partition is created, information about that partition is stored in a special area of the disk known as the partition table (in MS-DOS, Mac OS, and Windows) and disk label (in UNIX/Linux) • Another piece of disk that is reserved is known as the boot block in UNIX/Linux and Mac OS X, or the Master Boot Record (MBR) in MS-DOS and Windows.
  • 14. Partitions • In Windows, the MBR consists of four elements: – The boot program – examines the partition table to determine which partition to boot from – The disk signature – stores information about the disk and is used by management software such as the Windows registry – The partition table for the active partition – The end-of-MBR marker – where the MBR ends • Not all operating systems support partitions in the same way • Each operating system uses specific utilities to create partitions Guide to Operating Systems, 4th ed. 14
  • 15. Guide to Operating Systems, 4th ed. 15 Formatting • Formatting – the process of placing the file system on the partition – Necessary in order to install an operating system • After the OS is installed, a disk management tool can be used to partition and format additional free space • Can also use the format command from the Command Prompt window – The format command includes several switches (extra codes) – To view a list of these switches, type format /?
  • 16. Guide to Operating Systems, 4th ed. 16 Formatting • When a file is stored to disk: – Data is written to clusters on the disk – Filename is stored in the folder, along with the number of the first cluster the data is stored in – When the OS fills the first cluster, data is written to the next free cluster and the FAT entry corresponding with the first cluster points to the number of the second cluster used – When the second cluster is full, the OS continues with the next free cluster and the FAT entry for the second cluster points to the number of the third cluster used, and so on… – When a file is completely written to the disk, the FAT entry for the final cluster is filled with all 1s (means end of file) – This is commonly referred to as the linked-list method
  • 17. Guide to Operating Systems, 4th ed. 17 Formatting • Clusters are a fixed length – When a files does not use all of the space in a cluster, the rest of the cluster is unusable – Unusable spots are marked in the FAT as bad clusters (never used for file storage) • Each partition stores and extra copy of the FAT table in case the first copy gets damaged • There is only one copy of the root directory on each partition (see figure on the following slide) • The FAT tables and root directory are at the beginning of each partition and always at the same location
  • 18. Guide to Operating Systems, 4th ed. 18 Formatting Typical FAT directory structure
  • 19. Formatting • Each FAT directory entry contains filename, file change date and time, file size, and file attributes • Attributes can indicate whether a file is set to: – Read-only – Archive (to be backed up the next time a backup is made) – System – Hidden Guide to Operating Systems, 4th ed. 19
  • 20. Guide to Operating Systems, 4th ed. 20 Windows File Systems • Windows XP, Vista 7, Server 2003, and Server 2008 support three files systems: – Extended FAT16 – FAT32 – NTFS • These OSs also support file systems for DVD/CD- ROM drives and USB devices (flash drives)
  • 21. FAT16 and Extended FAT16 • Extended FAT16 evolved from FAT16 used in earlier versions of MS-DOS and Windows (3.x/95/98/Me) • In extended FAT16: – Maximum size of a volume is 4GB – Maximum size of a file is 2GB – Has been around for awhile and can be read by non-Windows operating systems like UNIX/Linux – Considered a stable file system – Long filenames (LFNs) can be used • Can contain up to 255 characters • Not case sensitive Guide to Operating Systems, 4th ed. 21
  • 22. Guide to Operating Systems, 4th ed. 22 FAT32 • Support for FAT32 started with Windows 95 Release 2 • Designed to accommodate larger capacity disks • FAT32: – Root folder does not have to be at the beginning of a volume – Can use disk space more efficiently than FAT16 (because it uses smaller cluster sizes) – Largest volume that can be formatted is 32 GB – Maximum file size is 4 GB – Offers fast response on small 1 or 2 GB partitions
  • 23. Guide to Operating Systems, 4th ed. 23 FAT64 • FAT64 is also known as exFAT • Proprietary file system introduced by Microsoft for mobile personal storage • Good choice for USB flash devices that may store large files (such as pictures, videos, etc…) • Available in Service Pack 1 for Windows Vista, Windows 7, and Windows Server 2008, Mac OS X Snow Leopard • Support is available for Linux from a third party
  • 24. Guide to Operating Systems, 4th ed. 24 NTFS • NTFS – dominant Windows file system for all Windows operating systems starting with Windows 2000 • Uses a Master File Table (MFT) instead of FAT tables • The MFT and related files take up about 1 MB of disk space • When a file is created, a record for that file is added to the MFT – Contains additional attributes such as security settings, ownership, and permissions
  • 25. Guide to Operating Systems, 4th ed. 25 NTFS • The MFT record reflects the sequence of clusters that a file uses • It is possible to have multiple filenames that refer to the same file – A technique known as hard linking – This feature is also available in UNIX/Linux file systems • Windows Vista, Server 2008, and 7 use NTFS version 6 • Windows XP and Server 2003 use NTFS version 5 • Windows NT 4.0 used NTFS 4
  • 26. Guide to Operating Systems, 4th ed. 26 NTFS • Basic features of NTFS: – Long filenames – Built-in security features – Better file compression than FAT – Ability to use larger disks and files than FAT – File activity tracking for better recovery and stability than FAT – Portable Operating System Interface for Unix (POSIX) support – Volume striping and volume extensions – Less disk fragmentation than FAT
  • 27. Guide to Operating Systems, 4th ed. 27 NTFS • NTFS is equipped with security features that meet the US government’s C2 security specifications – Refers to high-level, “top-secret” standards for data protection, system auditing, and system access • Examples: – System files can be protected so only the server administrator has access – A folder of databases can be protected with read access, but no access to change data – Public folder can give users in a designated group access to read and update files, but not to delete files
  • 28. Guide to Operating Systems, 4th ed. 28 NTFS • Some files can be compressed by more than 40%, saving disk storage for other storage needs • NTFS has the ability to keep a log or journal of file system activity (called journaling) – Makes it possible for files to be restored in the event of a power failure • NTFS supports volume striping – Process that equally divides the contents of each file across two or more volumes to extend disk life, enable fault tolerance, and balance disk load for better performance • NTFS has hot fix capabilities – If a bad disk area is detected, automatically copies the information to another disk area that is not damaged
  • 29. Guide to Operating Systems, 4th ed. 29 NTFS • In addition to NTFS 4 features, NTFS 5 adds several new features: – Ability to encrypt files – No system reboot required after creating an extended volume – Ability to reduce drive designations – Indexing for fast access – Ability to retain shortcuts and other file information when files and folders are placed on other volumes – Ability to establish disk quotas (to control how much disk space users can occupy)
  • 30. NTFS • NTFS 6 (latest version) adds several new features: – Transactional NTFS – used to perform operations in transactions (all at once or not all) – Partition resizing – allows administrator to expand or shrink partitions – Self-healing – the chkdsk utility runs in the background to correct hard disk problems (instead of having to take the volume down to run it) Guide to Operating Systems, 4th ed. 30
  • 31. NTFS • The chkdsk utility can detect and fix an extensive set of file system problems in FAT and NTFS system – This utility is available in all versions of Windows starting with Windows 2000 – The most common problems found are files with 0 sizes, caused when a file is not properly closed or chains of clusters that have no directory entries • Windows 2000 and later versions have a built-in disk defragmenting tool – Rearranges data on the disk in a continuous fashion, ridding the disk of scattered open clusters Guide to Operating Systems, 4th ed. 31
  • 32. NTFS FAT16, FAT32, FAT64, and NTFS compared Guide to Operating Systems, 4th ed. 32
  • 33. CDFS and UDF • Windows versions after Windows 2000 recognize some additional file systems used by peripheral storage technologies • CD-ROM File System (CDFS) – supported so that OSs can read and write files to DVD/CD-ROM drives • Universal Disk Format (UDF) – also used on DVD/CD-ROMs, which are used for huge file storage to accommodate movies and games Guide to Operating Systems, 4th ed. 33
  • 34. The UNIX File System • There are many different file systems that can be used with UNIX – Some file systems are more “native” to specific UNIX operating systems than others • Most versions of UNIX and Linux support the UNIX file system (ufs), which is the original native UNIX file system – ufs is a hierarchical file system that is expandable, supports large storage, provides excellent security, and is reliable – Many qualities of NTFS are modeled after ufs (journaling and hot fixes) Guide to Operating Systems, 4th ed. 34
  • 35. The UNIX File System • In Linux, the native file system is called the extended file system (ext or ext fs) • ext is modeled after ufs and enables the use of the full range of built-in Linux commands, file manipulation, and security • The first ext version had bugs – ext2 – reliable file system that handles large disk storage – ext3 – added journaling capabilities – ext4 – supports file sizes up to 16 TB Guide to Operating Systems, 4th ed. 35
  • 36. The UNIX File System • Both ufs and ext use the same structure – Built on the concept of information nodes (or inodes) – Each file has an inode and is identified by an inode number – An inode contains general information about that file such as: • User and group ownership, permissions, size and type of file, date the file was created, and the date the file was last modified and read – Each disk is divided into logical blocks • The superblock contains information about the layout of blocks, sectors, and cylinder groups on the file system – The inode for a file contains a pointer (number) that tells the OS where to find a file on the hard disk (based on logical blocks) – Inode 0 contains the root of the folder structure and is the jumping off point for all other inodesGuide to Operating Systems, 4th ed. 36
  • 37. The UNIX File System • A UNIX/Linux system can have many file systems – Mounts file systems as a sub file system of the root file system – All file systems are referred to by a path – The path starts out with / (/ indicates the main root directory of the file system) – See Figure 4-14 on the next slide for examples • Directories in the file system contain a series of filenames – UNIX/Linux allows the use of long filenames, which may include any character that can be represented by ASCII Guide to Operating Systems, 4th ed. 37
  • 38. The UNIX File System UNIX/Linux file system path entries Guide to Operating Systems, 4th ed. 38
  • 39. The UNIX File System • Disks are referenced by a special inode called a device • There are two types of devices: – Raw device – has no logical division in blocks – Block device – does have logical division in blocks • Devices are normally kept in the /dev or /devices directory • Symbolic link – used to link a directory entry to a file that is on a different partition – Merely a pointer to a file Guide to Operating Systems, 4th ed. 39
  • 40. The UNIX File System • You must first partition a disk to use the UNIX/Linux file system • The command to partition the disk differs slightly – Most UNIX systems use either fdisk or format – Typing man fdisk or man format at the command prompt gives you an overview of available commands Guide to Operating Systems, 4th ed. 40
  • 41. The UNIX File System • Once a partition is made, a file system can be created – You must know the device name of the partition on which you wish to create a file system – Type newfs, followed by the name of the device – The newfs command is not available in all versions of Linux • Use the mkfs command instead Guide to Operating Systems, 4th ed. 41
  • 42. The UNIX File System • When a file is saved to disk, the system first stores part of the data to memory until it has time to write to disk – If computer is shut down prior to data being written to disk, you can end up with a damaged file system – UNIX/Linux systems should always be shut down using proper shutdown commands – You can manually force a write of all data in memory by using the sync command • Another utility is known as fsck – Verifies the integrity of the superblock, the inodes, all cluster groups, and all directory entries Guide to Operating Systems, 4th ed. 42
  • 43. The UNIX File System UNIX/Linux file system commands Guide to Operating Systems, 4th ed. 43
  • 44. The Macintosh File System • The original Macintosh Filing System (MFS) of 1984 was limited – Kept track of 128 documents, applications or folders – Reasonable limit when the only storage device was a 400 KB floppy disk drive • In 1986, Apple created Hierarchical Filing System (HFS) – Divided a volume (disk partition) into allocation blocks – similar to clusters on PCs • In 1998, Apple released Mac OS 8.1 with a new file system called Hierarchical Filing System Extended Format (HFS+) Guide to Operating Systems, 4th ed. 44
  • 45. The Macintosh File System • In Mac OS X version 3.0, Mac OS Extended (HFS+) includes new features: – A case-sensitive format to make the file system more compatible with other UNIX/Linux systems – Journaling – Ability to store up to 16 TB of data • The first two sectors of a Mac-formatted disk are: – Boot sectors, or boot blocks – Volume information block – contains catalog b-tree • Catalog b-tree is a list of all files on the volume and keeps track of a file’s name, location in the folder structure, and its physical location Guide to Operating Systems, 4th ed. 45
  • 46. The Macintosh File System • Macintoshes can read and write to disks from other operating systems • Mac OS has always supported what might be called medium filenames (up to 31 characters) – Any character may be used in a filename except the colon (:) – Reason for this: Macintosh paths are written as colon- separated entities such as: • Hard Drive:System Folder:Preferences:Finder Prefs • Mac uses type codes and creator codes instead of filename extensions as in Windows – Files created with Apple’s SimpleText editor have a type code of APPL and a creator code of ttxt Guide to Operating Systems, 4th ed. 46
  • 47. The Macintosh File System • Macintosh files can contain two parts, or forks: – Data fork – contains frequently changing information (such as word processing data) – Resource fork – contains information that is fixed (such as a program’s icons, menu resources, and splash screens) • Because Mac files have type and creator codes and two forks can create problems when storing files on non-Macintosh servers – MacBinary – format which joins the two forks into one, and safely stores the type and creator codes and finder flags Guide to Operating Systems, 4th ed. 47
  • 48. The Macintosh File System • Apple’s equivalent to a Windows shortcut is the alias (introduced in System 7.0 in 1991) – The system-level Alias Manager keeps track of the original – The word “alias” is tacked onto the filename when the alias is created and the filename is italicized • Mac OS X comes with two disk utilities: – Disk Utility – manages disk drives – Disk First Aid – repairs disk problems • Mac OS X also comes with a utility (Sherlock) that searches disks for filenames and text within files – Spotlight replaced Sherlock in Mac OS X 10.4 Tiger Guide to Operating Systems, 4th ed. 48
  • 49. The Macintosh File System A Spotlight search in Mac OS X Snow Leopard Guide to Operating Systems, 4th ed. 49
  • 50. The Macintosh File System • When a Mac is not shut down properly a disk integrity check will automatically run at the next startup • Macs will boot from a DVD/CD-ROM or various SCSI devices – To boot from a DVD/CD-ROM, press the “C” key while booting up – Pressing the Shift-Option-Delete-Apple (SODA) keys while booting will bypass the internal hard drive and boot from the next drive in a SCSI chain Guide to Operating Systems, 4th ed. 50
  • 51. Chapter Summary • For the user, files are the “bread and butter” of an operating system. Besides containing the operating system kernel, files hold documents and programs on which users rely. • Files are made possible by a file system that enables them to be created, written, managed, and stored on disk media. All OSs must have a file system that provides a file-naming convention, a way to store files, and a means to partition and format disks. • Besides creating and modifying files, the file system also should offer the ability to defragment files, compress file contents, ensure file and data integrity, secure files, and control removable storage media. • The main file systems used in Windows since Windows 2000 are extended FAT16, FAT32, and NTFS. Guide to Operating Systems, 4th ed. 51
  • 52. Chapter Summary • In FAT16 and FAT32, the file system creates a file allocation table to store information about files. • FAT32 is more robust than FAT16, providing for the use of more clusters and larger partitions. • FAT64 (exFAT) is mainly used for personal mobile storage devices like flash drives. • NTFS is the native file system for Windows 2000 and after with the advantage of better security, larger disk and file sizes, better management tools, and greater stability than FAT16 and FAT32. • chkdsk is an important disk verification and repair utility that works for FAT16, FAT32, and NTFS. Guide to Operating Systems, 4th ed. 52
  • 53. Chapter Summary • UNIX and Linux support many support many different file systems but typically employ ufs or ext • ufs and ext use information nodes (inodes) to organize information about files. • Different varieties of UNIX/Linux use different file system utilities, such as fdisk and format to partition and format disks. The fsck (file system checker) utility is used to verify the integrity of UNIX/Linux file systems. • Mac OS X uses Mac OS Extended (HFS+) file system, which is an enhancement of HFS and was introduced in 1998 with Mac OS 8.1. Guide to Operating Systems, 4th ed. 53
  • 54. Chapter Summary • Two important Mac OS X disk tools include Disk Utility and Disk First Aid. • Table 4-8 shows the disk management tools you have learned about in the chapter. Of these tools, the Mac OS X tool might be the most “one-stop,” because you can use it to configure, repair, and manage disks. Guide to Operating Systems, 4th ed. 54