BOOT SECTOR, RDE AND FAT ANALYSIS AND STUDY. FLOPPY CONSTRUCTION 1.Write - Protect Notch. 2.Hub. 3.Shutter. 4.Outer Jacket. 5.Protective Woolen Film.

Slides:



Advertisements
Similar presentations
Chapter 4 Storing Information in a Computer Peter Nortons Introduction to Computers.
Advertisements

Introduction Computer Hardware Jess 2006 Floppy Drives.
Computer Basics Whats that thingamagige?. Parts of a computer.
Operating Systems File Management.
Chapter 4 : File Systems What is a file system?
Computer System Basics 2 Hard Drive Storage & File Partitions Computer Forensics BACS 371.
SEMINAR ON FILE SLACK AND DISK SLACK
Computer Forensics NTFS File System.
FILE SYSTEMS. File Names 1 to 255 characters in length  This includes the path You can use uppercase and lowercase (case-aware, but not case-sensitive)
The FAT File System CSC 414. Objectives  Understand the structure and components of the FAT (12/16/32) File Systems  Understand what happens when a.
Digital Forensics Module 11 CS /26/2004Module 112 Outline of Module #11 Overview of Windows file systems Overview of ProDiscover Overview of UNIX.
11/13/01CS-550 Presentation - Overview of Microsoft disk operating system. 1 An Overview of Microsoft Disk Operating System.
Ceng Operating Systems
Operating Systems File systems
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 –
Files & Partitions BACS 371 Computer Forensics. Data Hierarchy Computer Hard Disk Drive Partition File Physical File Logical File Cluster Sector Word.
BACS 371 Computer Forensics
Computer System Basics 2 Hard Drive Storage & File Partitions Computer Forensics BACS 371.
1 Partitioning a Hard Drive ©Richard Goldman Revised January 8, 2001 Revised December 9, 2002.
1 File Systems Chapter Files 6.2 Directories 6.3 File system implementation 6.4 Example file systems.
FAT Structure. File Allocation Table (FAT) File Systems Used with all flavors of Windows Supported by all Windows and UNIX varieties Used in flash cards.
Chapter 8 File Management
Disk Structures. CTEC 1102 Formatting a Disk Two parts to formatting a disk:  Low-level (physical) formatting  High level (logical) formatting Low-level.
 FILE S SYSTEM  DIFFERENT FILE SYSTEMS  FILE SYSTEM COMPONENTS  FILE OPERATIONS  LOG STRUCTERD FILE SYSTEM  FILE EXAMPLES.
Hardware Case that houses the computer Monitor Keyboard and Mouse Disk Drives – floppy disk, hard disk, CD Motherboard Power Supply (PSU) Speakers Ports.
HARDWARE: CPU & STORAGE How to Buy a Multimedia Computer System.
1Fall 2008, Chapter 11 Disk Hardware Arm can move in and out Read / write head can access a ring of data as the disk rotates Disk consists of one or more.
Lecture 9: The FAT and VFAT Filesystems 6/16/2003 CSCE 590 Summer 2003.
Programming the Microprocessor A Course in Microprocessor Electrical Engineering Dept. University of Indonesia.
3 1 Data, Information, and Files Ch.4-A; Ch.3-A,B; Ch.10-A FALL 2000 Rob Wolfe.
Assembly Language for Intel-Based Computers, 5 th Edition Chapter 14: Disk Fundamentals (c) Pearson Education, All rights reserved. You may.
GCSE Information Technology Storing data Data storage devices can be divided into 2 main categories: Backing storage is used to store programs and data.
Bits, Bytes, Files, Hard Drives. Bits, Bytes, Letters and Words ● Bit – single piece of information ● Either a 0 or a 1 ● Byte – 8 bits of information.
File System Management File system management encompasses the provision of a way to store your data in a computer, as well as a way for you to find and.
ENGI 3655 Lab Sessions 1Richard Khoury.  Linked Allocation ◦ Section Richard Khoury2.
Chapter 3 Partitioning Drives using NTFS and FAT32 Prepared by: Khurram N. Shamsi.
File Systems in Real-Time Embedded Applications March 5th Eric Julien Understanding How the File Allocation Table (FAT) Operates 1.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 7 Floppy Drives.
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 7 Storage. What is storage? Holds data, instructions, and information for future use Storage medium is physical material used for storage Also.
DISK THEORY. Disk Theory n How information is stored on disk n How we can take advantage of that when bad things happen.
1 Floppy Drive Formatting ©Richard Goldman February, 2001.
Allow computers to store programs and information for use at a later date Storage Devices.
OPERATING SYSTEMS Frans Sanen.  Analyze a FAT file system manually  FAT12 first and simplest version  Still used on smaller disks (e.g. floppies) 
University of Pennsylvania 10/31/00CSE 3801 Windows File System - FAT originally invented as a method for storing data on floppy disks. later used by MS-DOS.
FAT File Allocation Table
Lecture 10 Page 1 CS 111 Summer 2013 File Systems Control Structures A file is a named collection of information Primary roles of file system: – To store.
Computer Forensics Hard Drive Format.
NTFS Filing System CHAPTER 9. New Technology File System (NTFS) Started with Window NT in 1993, Windows XP, 2000, Server 2003, 2008, and Window 7 also.
Memory The term memory is referred to computer’s main memory, or RAM (Random Access Memory). RAM is the location where data and programs are stored (temporarily),
Disk storage systems Question#1 (True/False) A track is divided into multiple units called sectors.
Chapter 8 File Systems FAT 12/16/32. Defragmentation Defrag a hard drive – Control Panel  System and Security  Administration tools  Defrag hard drive.
BITS Pilani Pilani Campus Pawan Sharma Lecture ES C263 INSTR/CS/EEE F241 Microprocessor Programming and Interfacing.
SVBIT SUBJECT:- Operating System TOPICS:- File Management
Master Boot Record (MBR)
UMBC CMSC 421 Spring 2017 The FAT Filesystem.
CENG334 Introduction to Operating Systems
Chapter 11: File System Implementation
File System Structure How do I organize a disk into a file system?
A “Walk Through” Experiment
GUID Partition Table Unified Extensible Firmware Interface (UEFI)
Partitioning a Hard Drive
CS-401 Computer Architecture & Assembly Language Programming
THIS IS Jeopardy. THIS IS Jeopardy With Your Host... Mrs. Glenn.
Disk Structure Analysis
Sector 25 from the Root Directory (in 32 byte chunks)
Off-line Direct Disk Access System
Chapter 14: File-System Implementation
GUID Partition Table Unified Extensible Firmware Interface (UEFI)
FAT File System.
Presentation transcript:

BOOT SECTOR, RDE AND FAT ANALYSIS AND STUDY

FLOPPY CONSTRUCTION 1.Write - Protect Notch. 2.Hub. 3.Shutter. 4.Outer Jacket. 5.Protective Woolen Film. 6.Magnetic Disk. 7.Sectors.

DATA DISTRIBUTION (PHYSICAL) TRACKS SECTORS 2 sides/disk 80 tracks/side 18 sectors/track 512 bytes/sector Total = bytes = 1440 Kbytes = Approx MB Note: While Calculating disk space 1 KB = 1000 bytes

DATA DISTRIBUTION (LOGICAL) SYSTEM AREADATA AREA / FILE AREA 1.44MB FLOPPY SPACE BOOTSECTORBOOTSECTOR 12 FAT ROOT DIRECTORY ENTRY SECTORS BOOT SECTOR = 1 SECTOR FAT = (9+9) 18 SECTORS RDE = 14 SECTORS TOTAL = 33 SECTORS i.e  TWO FAT RECORDS AND IDENTICAL TO EACH OTHER. 1 SECTOR = 1 CLUSTER.

OUR AIM 1. TO DISPLAY THE BOOT SECTOR OF THE FLOPPY DISK. 2. TO DISPLAY THE ROOT DIRECTORY ENTRY. 3. THE DISPLAY THE FAT INFORMATION AND FILE CONTENTS OF A SPECIFIC FILE.

AIM 1 : BOOT SECTOR.  BOOT SECTOR It gives physical characteristics of the disk. As the name suggests boot sector is of 1 sector i.e. 1 cluster. The 2-byte numbers are stored little endian (low order byte first).

Distribution of BOOT SECTOR. Offset in Boot Sector(HEX) Length in Bytes MnemonicStandard Value 003Jump to bootstrap either EB XX 90 (90 is NOP)or E9 XX XX 038OEM_Identifier"IBM 3.3", "IBM 20.0", "MSDOS5.0", "MSWIN4.0". 0B2Bytes Per Sector0200H 0D1Sectors Per Cluster0001H 0E2Reserved Sectors0000H 101Number Of FATs0002H 112No. of Root Directory Entries224H 132Number Of Sectors2880H 151Media Descriptor TableF0H  1.44MB, F9  1.2 MB 162Sectors Per FAT09 182Sectors Per Track18 1A2No. of Heads2 1C4Hidden Sectors0 204Big Number Of Sectors0 241Physical Drive Number00 251Reserved00 261Extended Boot Signature Record29H bit Binary Volume IDXX 2B11Volume LabelVolume Name 368Reserved00 3E1C2Bootstrap( Signature ) Must END WITH 55 AA.

Ending bit of the boot sector are “55 AA”

THE CODING PART  The interrupt used is 25H : absolute disk read interrupt. Input : AL  00H for drive A: CX  X1h = no. of sectors. DX  X2h = starting sector no. DS:BX  offset of buffer.

Values of X1 and X2 CX(X1)DX(X2) BOOT1H0H RDE0EH13H FAT09H01H Example : MOV AL,00H MOV CX,01H MOV DX,00H MOV BX,OFFSET BUFF INT 25H This will point to the starting address of the boot sector.

Root Directory Entry  Immediately after these FAT sectors, the root directory sectors start.  In a FAT file system, root directories comprise 14 sectors.  You know that the maximum directory entry allowed under the root directory for the FAT file system on a 3.5" floppy disk is 224.  The size for root directory entries is (14 * 512) bytes, which is equivalent to 7168 bytes.  Divide 7168 bytes with the max root entries for the FAT; you will get each entry size for the root directory, which is 32 bytes.  Each 32 bytes holds information about a file or directory.

ROOT DIRECTORY ENTRY Byte RangeDescriptionSize 00HShort name for file8 08Hext3 0BH File attribute (Read only, directory, System file, and so on) 1 0CHReservedA 16HTime2 18HDate2 1AH16-bit cluster number2 1CHFile size in bytes4 Notes on the first byte of the FAT directory entry: 1. If the first byte is equal to 0x00, this entry is available and no entry beyond this one has been used. 2. If the first byte is equal to 0xE5, this entry has been erased and is available for use. 3. If the first byte is equal to 0x05, the actual filename character for this byte is 0xE5.

The Date and Time Format Notes on the Date/Time format of the FAT directory entry:  Date Format: The date field is 16-bit. This is relative to 01/01/1980. Bits 0 - 4: Day of month, range 1-31 Bits 5 - 8: Month of year, range 1-12 Bits : Count of years, range 0 – 127  Time format: This is also 16-bit and its granularity is 2 seconds. Bits 0 - 4: 2-second count, valid value range 0-29 inclusive ( seconds) Bits : Minutes, range 0-59 Bits : Hours, range 0-23

FAT (File Allocation Table)  The traditional DOS file system types are FAT12 and FAT16.  Here FAT stands for File Allocation Table: the disk is divided into clusters, the unit used by the file allocation, and the FAT describes which clusters are used by which files.  The FAT12/16 type is important, not only because of the traditional use, but also because it is useful for data exchange between different operating systems, and because it is the file system type used by all kinds of devices, like digital cameras.

 The first cluster of the data area is cluster #2. That leaves the first two entries of the FAT unused.  In the first byte of the first entry a copy of the media descriptor is stored. The remaining bits of this entry are 1.  In the second entry the end-of-file marker is stored. Which is FFFFH.

F0FF F0FF X 1.5 = 3 Even X 1.5 = 4 Odd X 1.5 = 6 F X 1.5 = 7 FFF

 This concludes the study of the floppy disk but it has much to study in the future.  It the simplest data storage device which can be referred to study the other complex and vast data storage devices like hard disks, Compact discs, flash drives and memory cards which has the most complex physical structure.

ANY QUESTION ? References : 1.The WORLD WIDE WEB. 2.WIKIPEDIA. 3.GOOGLE. And 4.TEACHERS.

THANK YOU !!!