1 / 27

Presented to: Sir Ahmad Karim

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). FILE SYSTEMS. File Names.

awen
Download Presentation

Presented to: Sir Ahmad Karim

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

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. 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.

  16. 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

  17. OS and File System Compatibility

  18. 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

  19. 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

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

  21. 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.

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

  23. 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.

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

  25. Disadvantages • Functionality • Defregmentation • Recovery • Compression • NO checksumming in journal

  26. Thanks for your kind presence

More Related