Presentation is loading. Please wait.

Presentation is loading. Please wait.

Presented to: Sir Ahmad Karim

Similar presentations


Presentation on theme: "Presented to: Sir Ahmad Karim"— Presentation transcript:

1 Presented to: Sir Ahmad Karim
Presented by: Tahmina Gillani (MIT-08-13) Mehwish saba (MIT-08-03) Hira Nargis (MIT-08-19) Misbah Fatima (MIT-08-12) Ayesha Raee (MIT-08-04)

2 FILE SYSTEMS

3 File Names 1 to 255 characters in length
This includes the path You can use uppercase and lowercase (case-aware, but not case-sensitive) You can use spaces and periods You cannot use these characters: / \ : * ? “ < > |

4 File Names continued Filenames consist of two parts
Main part of filename Identifies the contents of the file File extension Identifies the file type The last period separates the file extension from the main part of the filename. Windows typically associates a file extension with an application installed on a computer

5 Folder Names Folder names follow the same guidelines for naming files
Folder names usually do not have a file extension

6 MS-DOS filename Filename: 1 to 8 characters
File extension: 1 to 3 characters DOS only uses uppercase You cannot use spaces A single period separates the file extension from the filename You cannot use these characters: / \ : * ? “ < > | + = ; , [ ]

7 The Full Path What does it mean?
The complete path from the root of the files system to the desired object. Use \ (vs. /) C:\ - the root C:\documents and settings\theresa\octc\cis110\filesystems.ppt

8 File Systems A file system defines the structure and the rules used to read, write, and maintain information stored on a disk. Which system used is determined by; Hardware Software Security needs Need for a dual-booting system

9 FAT??? file allocation table – where the OS records how the disk space is used

10 File Systems FAT 16 – oldest, created for DOS, supported by most OSs’, cannot be installed on partitions larger than 2 GB, or on hard drives larger than 4GB. FAT 32 – supports disks from 512 to 2TB, compatible with Windows 98 and up NTFS – (new technology file system) – better file security (Encrypting File System), disk compression, logging features, reliability and stability. NTFS volumes can not be accessed by DOS, or Windows 95 or Windows 98.

11 File Systems The operating system keeps track of data (documents, pictures, etc.) by placing it into a file. To store and retrieve files: Disk divided into tracks Tracks are divided into sectors Sectors grouped into clusters Number of sectors in a cluster is determined by Size of the hard drive File allocation system – FAT, FAT32, NTFS

12 Tracks Sectors within a Track Cluster

13 A hard disk has extremely smooth metal or glass plates called “platters” (vs. the floppy mylar disk of a floppy disk). Each platter is divided into tracks and sectors by the format operation, like a floppy disk, however the number of tracks and sectors is different. The number of tracks on a hard disk depends on the disk size and the manufacturer.

14 Clusters? A cluster, also known as an allocation unit, consists of one or more sectors of storage space, and represents the minimum amount of space that an operating system allocates when saving the contents of a file to a disk. The number of sectors per cluster is dependent on Type of disk (floppy disk, hard disk) Version of operating systems Size of disk Every sector contains 512 bytes. (NTFS does allow you to change this number.) The number of clusters per disk is determined by the filing system (FAT 16, FAT 32 or NTFS).

15 DRIVE SIZE Cluster Size
FAT 16 Cluster Size FAT 32 NTFS 260 to 511 MB 8 KB (16 sectors) Not Supported 512 bytes (1 sector) 512 to 1023 MB 16 KB (32 sectors) 4 KB (8 sectors) 1KB (2 sectors) 1024 MB to 2 GB 32 KB (64 sectors) 2 KB (4 sectors) 2 to 4 GB 64 KB (128 sectors) 4 to 8 GB 8 to 16 GB 16 to 32 GB 32 KB ( 64 sectors) >32 GB (up to 2 TB)

16 So, what does this all mean to us, as Windows XP users?
The bigger your disk – the bigger your clusters (because there is a maximum number of clusters per disk). One way to help alleviate the problem of slack space is to partition the hard drive into smaller “drives”. Reducing the drive size will reduce the cluster size.

17 Which file system should you use?
If your computer runs only Windows XP and you do not plan to install other OS, use NTFS However if you want to use other OS and you want to access the volumes you must use FAT16 or FAT32

18 OS and File System Compatibility
Operating System FAT16 FAT32 NTFS Windows XP Windows 2000 Windows NT Windows 95, 98, ME Windows 95 MS-DOS

19 What happens during the Formatting Process?
OS creates four tables in the 1st sectors Boot Record – the name & version number of the OS, info. Master File Table #1- keeps track of Available clusters Clusters that contain data Clusters that are defective Clusters that contain OS files Master File Table #2 – copy of MFT #1 Directory Table – top level folder and file information

20 Formatting Process, cont.
Full Format lays down new tracks and sectors Verifies the integrity of each sector By doing a surface scan – OS will put dummy data into sectors and then try to read the sector Quick Format Removes files Does not check for defective sectors

21 Ext 3 Ext 3(third extended file system):
Journaled file system used by Linux kernel. Introduced November 2001(Linux ) Enhanced form of Ext 2 which Improve reliability Eliminates the need to check the file system after an unclean shut down.

22 Advantages Back up and restore data
Less CPU power than other file systems in Linux like XFS. More safer due to its relative simplicity and wider testing base.

23 Cont’d The ext3 file system adds, over its predecessor:
A journaling file system. Online file system growth. Htree indexing for larger directries.

24 Cont’d Size limits: Maximum size for both indiviual files and entire file systems. Max file size 16 GB – 2 TB. Max number of files:Variable,Allocated at creation time. Max file name length:254 Bytes.

25 Journalling levels Three levels in Linux implementation of Ext 3:
Journal(lowest risk) Ordered(medium risk) Writeback(highest risk)

26 Disadvantages Functionality Defregmentation Recovery Compression
NO checksumming in journal

27 Thanks for your kind presence


Download ppt "Presented to: Sir Ahmad Karim"

Similar presentations


Ads by Google