Hong Kong Polytechnic University Department of Electronic and Information Engineering. Experiment On DOS File system
|
|
- Samson Melton
- 5 years ago
- Views:
Transcription
1 DOSFS/CC/v1 Hong Kong Polytechnic University Department of Electronic and Information Engineering Experiment On DOS File system Objectives : To study how an OS manages its file system in a floppy disk. After completing this experiment, you should know the organization of a floppy disk, and know how DOS uses directories, boot and File Allocation Table (FAT) to manage its disk files. Software : Appratus : Reference : The DEBUG monitor program (to be run under MSDOS). A formatted Floppy disk with data files H-P. Messmer, "The indispensable PC hardware book," 3rd Ed, Addison-Wesley, 1997 Chapter 30 Section 1-4. Concept In order to store data on the disk, both sides of a floppy disk (platter in hard disk) are coated with magnetic materials. Each side of a double-sided diskette is organized into tracks and s. Figure A1 shows an example of the organization. Tracks are organized as concentric circles and their number per disk varies from disk to disk, depending on the size and the technology. Each track is divided into a number of s, and again the number of s per track varies, depending on the density of the disk and the operating system version used to format the disk. Table A1 shows the parameters of some common floppy disks. The s are grouped into clusters. Cluster size varies among formats, but a common size for floppy disks is 1 per cluster. The file allocation table (FAT) keeps track of what clusters are used to store which files. When a disk is formatted, the first is used for the boot record. It is from the boot record that the computer will be able to ascertain the disk type, density, total number of s in the disk, and other essential information needed by BIOS and the operating system. Table A2 describes the details of the boot record. CSF-LAB/File System/CC/EIE PolyU/p.1
2 After the operating system allocates at least one for the boot record and several s for the FAT, it allocates some s for the directory. Which and how many s are allocated for the directory vary among the different disk types. The function of the FAT is to provide a road map for the operating system to find where each file is located. In a floppy (hard) disk, cluster is the basic unit used to store a file. The size of a file could be too large to fit into a cluster. In that case, more than one clusters are used to store the file. FAT is used to tell which clusters are used and how they are linked together to store the file. In fact, the FAT is so critical to the operating system's ability to locate files that two copies of the FAT are kept on the disk, one for use and another one for backup in case something happens to the first one. Their consistency is handled by the OS automatically. If both are damaged, the OS cannot find any file on that disk. The 2 FATs are always located in the s immediately following the boot record. Three FAT formats, namely FAT12, FAT16 and FAT32, are commonly used nowadays. They use 12 bits, 16 bits and 32 bits respectively to record an entry in a FAT. The number of s used by a FAT varies depending on the size and density of the disk. The first 2 entries of a FAT contain the media descriptor byte, followed by F's to pad the remaining space. There is a one-to-one correspondence between each of the remaining entries in the FAT and each cluster on the disk. In other words, if there are 355 clusters on the disk, there will be 355 FAT entries for these clusters. Each FAT entry indicates the status of that cluster as shown in Table 1. Table 1: FAT entry codes and their meanings Code FAT12 FAT16 Meaning 000H 0000H Unused cluster: cluster has never been used 001H 0001H Free cluster: cluster was used previously but is now free 002-FEFH 0002-FFEFH Cluster is used by a file FF0-FF6H FFF0-FFF6H Reserved FF7H FFF7H Bad cluster--cannot be used FF8-FFFH FFF8-FFFFH Last cluster of a file In order to understand the boot record, disk directory, and FAT's functions, we will use the DEBUG program to access the disk s and dump the information into memory, analyzing it byte by byte. First a couple of items about DEBUG: The -L command can be used to load the specific s of a given disk into a specific area of RAM. The -L command is followed by the address that data from the disk should be loaded into, followed by the drive number, then the starting number, and finally the number of s to be loaded. The drive number is 0 for drive A, 1 for drive B, 2 for drive C, and so on. Sectors are stored starting with 0. All numbers for DEBUG are given in hex. For example, C> DEBUG -L CS: CSF-LAB/File System/CC/EIE PolyU/p.2
3 This will load the boot record ( 0) from drive A (drive number 0), and will load only one. After the load, the -D command is used to dump memory onto the screen. The -D command needs to have an address to display from (usually this is the same address you used to load), and a number of bytes to display (in hex again). For example, C> DEBUG -L CS: D CS:100 17F These commands will load 0 from drive A into memory, then dump the first 17F bytes of that memory to the display. Note that, in Intel machines, the least significant byte of data is always stored in the lower memory location. To store 35F6 16, in memory locations 1300 and 1301, for example, will make memory location 1300 contain F6, and 1301 contain 35. Method Using a diskette and the DEBUG program, analyze the boot record, FAT table, and directory structure of a floppy diskette. CSF-LAB/File System/CC/EIE PolyU/p.3
4 Experiment Name Group Date Section A Analysis of Boot Sector Load Sector 0 of the provided floppy disk into CS:100. Fill in the following boot record layout sheet. Item Hex offset As seen Real Hex on disk value Meaning / description 1 0B-0C Bytes per Sector = 2 0D Sector(s) per cluster = 3 0E-0F Reserved (starting at Sector 0) = 4 10 FATs on the diskette = Possible Root Directory entries = Total Sectors on the diskette = Total # of bytes on the diskette = 7 15 Media Descriptor Byte = (read Table A1 for its meaning) Sectors per FAT = Sectors per track = 10 1A-1B Sides (or Heads) = 11 1C-1F Number of hidden Sectors = (Should be 0 for a floppy disk) Total Sectors on the diskette = Used for disk contains more than Sectors. Could be other meaning for different OS versions Reserved, should be all Extended BPB Signature Byte (if present, then the following bytes will also have meaning) A Volume Serial Number Result Dec. value ASCII value 16 2B-35 Volume Label B File System ID From the table above, get or derive the information of the Boot, the first and the second FATs (FAT1 & FAT2), and the root directory to fill in the following table accordingly. Boot FAT1 FAT2 Root directory Size (in terms of number of Sectors) Sectors occupied (from which No. to which No.?) Sector number of the starting In DEC In HEX value value CSF-LAB/File System/CC/EIE PolyU/p.4
5 Section B Analysis of Root Directory From the result you obtained in Section A, you should know which on the diskette is the first of the diskette root directory. Load this to CS:100 and analyze it. You should be able to find some information of 6 files and the disk label in the diskette root directory. Based on the information available in the first of the diskette root directory and Table A3 in the Appendix, determine the files' file attribute, starting cluster, creation date, creation time and file size, and fill in the following table. Attribute Name To be archived (Yes/No) Directory/File (D/F) Volume Label (Yes/No) System file (Yes/No/NA) Hidden File (Yes/No/NA) Read only (Yes/No) Starting cluster Creation time Creation date File size 1 IO.SYS 2 MSDOS.SYS 3 COMMAND.COM 4 DRVSPACE.BIN 5 LAB BDISK 6 LETTER.TXT 7 DATA.GIF You may use Window Explorer to get the corresponding information and compare it with that you derived from the Sector. Section C Analysis of FAT Based on the analysis results obtained in Section A, determine the first s of FAT1 and FAT2. Load the two s to CS:100 and CS:400 respectively, and verify if they are exactly the same. FAT is used to tell which clusters are used and how they are linked together to store the file. You should already get the starting cluster number of file 'DATA.GIF' in the previous Section. Now, starting with this cluster number, determine the cluster chain of file 'DATA.GIF'. The cluster number mentioned so far is actually the sequential order of the corresponding entry in a FAT. To determine the physical location of the corresponding in the diskette, one can use a translation formula given as follows. S = C 2 + Sb + N f S f + Sr Where S = Sector number (which Sector in the diskette) C = Cluster number (which entry in FAT) CSF-LAB/File System/CC/EIE PolyU/p.5
6 S b = Size of the Boot Sector in number of s N = Number of FATs f S = Size of FAT in number of s f S = Size of the root directory in number of s r This formula is valid when a cluster contains 1. Similar formulas can be derived for other cases. Use the above formula to determine the where file 'letter.txt' is in. Load the into cs:100 and verify if the file is really there. - END - CSF-LAB/File System/CC/EIE PolyU/p.6
7 Appendix Byte Medium Double/ Sectors/ Track/ single sided Track side Size DOS version 0F8H Hard disk F0H 3.5" D Mbyte F9H 3.5" D kbyte F9H 5.25" D Mbyte FAH 5.25" S kbyte FAH 3.5" S kbyte FBH 5.25" D kbyte FBH 3.5" D kbyte FCH 5.25" S kbyte FDH 5.25" D kbyte FDH 8" D Mbyte FEH 5.25" S kbyte FEH 8" S kbyte FEH 8" S kbyte FEH 8" S kbyte FFH 5.25" D kbyte 1.10 Table A1. Medium descriptor bytes of different disk formats Item Hex offset Meaning / description 1 0B-0C Bytes per Sector 2 0D Sector(s) per cluster 3 0E-0F Reserved (starting at Sector 0) 4 10 FATs on the diskette Possible Root Directory entries Total Sectors on the diskette 7 15 Media Descriptor Byte (refer to Table A1 for its meaning) Sectors per FAT Sectors per track 10 1A-1B Sides (or Heads) 11 1C-1F Number of hidden Sectors (Should be 0 for a floppy disk) Total Sectors on the diskette Used for disk contains more than Sectors. Could be other meaning for different OS versions Reserved, should be all Extended BPB Signature Byte (if present, then the following bytes will also have meaning) A Volume Serial Number 16 2B-35 Volume Label B File System ID Table A2. Boot record CSF-LAB/File System/CC/EIE PolyU/p.7
8 00h File name 1 (8 bytes, ASCII) 08h 0bh 0ch Extension Attribute 2 Reserved (3 bytes, ASCII) (1 byte) (10 bytes) 32 bytes 16h 18h 1ah 1ch Time of creation/last Change 3 Date of creation/last Change 4 Start cluster File length (2 byte) (2 bytes) (2 bytes, binary) (4 bytes, binary) 1 Values of the 1st character with special meaning: 00h=entry was never in use e5h=entry(file/directory) is deleted 2eh entry is a directory 2 Attribute byte res A D V S H R A- set when file is modified, cleard when it is baked up D- set to indicate that the entry is for a directory V- set to indicate that the entry is for volume label S- set for system files H- set for hidden files R- read-only 3 Time = 2048 x hours + 32 x minutes + seconds/2 4 Date = 512 x (year-1980) + 32 x month+day Table A3. Structure of root directory and subdirectories track 79 track Figure A1. Tracks and s in a floppy disk Note similar arrangement can be found in a hard disk. CSF-LAB/File System/CC/EIE PolyU/p.8
Summer 2003 Lecture 26 07/24/03
Summer 2003 Lecture 26 07/24/03 Organization of Data on the Disk The logical organization of the FAT file system on a disk is made up of the following elements. BOOT Sector Root Directory Structure File
More informationDOS. 5/1/2006 Computer System Software CS 012 BE 7th Semester 2
DOS File System DOS The moment we turn the computer on, the computer loads a special program called the operating system into the computer s memory which provides an environment for us to run other programs.
More informationCS609 Final Term Subjective Paper Solved with references March (2014)
CS609 Final Term Subjective Paper Solved with references March (2014) Solved by: Saher/Aqualeo www.freeittips.com Q:1 How large file contents can be managed using FAT? 2 marks Larger files would be comprised
More informationCS609 Final Term Solved MCQs with References Without Repetitions 14/02/2013
1 CS609 Final Term Solved MCQs with References Without Repetitions 14/02/2013 In BPB, root directory is saved in. (BIOS parameter block) Cluster#0 Cluster#1 (Ref) Cluster#2 Cluster#3 In NTFS, total sizes
More informationTypical File Extensions File Structure
CS 355 Operating Systems File Systems File Systems A file is a collection of data records grouped together for purpose of access control and modification A file system is software responsible for creating,
More information,879 B FAT #1 FAT #2 root directory data. Figure 1: Disk layout for a 1.44 Mb DOS diskette. B is the boot sector.
Homework 11 Spring 2012 File Systems: Part 2 MAT 4970 April 18, 2012 Background To complete this assignment, you need to know how directories and files are stored on a 1.44 Mb diskette, formatted for DOS/Windows.
More informationmakes floppy bootable o next comes root directory file information ATTRIB command used to modify name
File Systems File system o Designed for storing and managing files on disk media o Build logical system on top of physical disk organization Tasks o Partition and format disks to store and retrieve information
More informationFile System Case Studies. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University
File System Case Studies Jin-Soo Kim (jinsookim@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Today s Topics The Original UNIX File System FFS Ext2 FAT 2 UNIX FS (1)
More informationThe FAT File System. 1. FAT Overview. 2. Boot Sector, FAT, Root Directory, and Files The FAT F 䤀耄 le System
CIS 24 Home http://www.c jump.com/cis24/cis24syllabus.htm The FAT File System 1. FAT Overview 2. Boot Sector, FAT, Root Directory, and Files 3. FAT File System Layout 4. FAT Clusters and Sectors 5. FAT,
More informationVolume and File Structure of Disk Cartridges for Information Interchange
Standard ECMA-107 2nd Edition - June 1995 Standardizing Information and Communication Systems Volume and File Structure of Disk Cartridges for Information Interchange Phone: +41 22 849.60.00 - Fax: +41
More informationCS609 FINAL TERM CURRENT 2014 SUBJECTIVE PAPERS
CS609 FINAL TERM CURRENT 2014 SUBJECTIVE PAPERS Current papers of CS609 CS609 SUBJECTIVE CURRENT PAPERS SOLVED BY GHAZAL KANGAN Solved Subjective Current Papers Question:1 How large file contents can be
More informationInitial Bootloader. On power-up, when a computer is turned on, the following operations are performed:
Initial Bootloader Introduction On power-up, when a computer is turned on, the following operations are performed: 1. The computer performs a power on self test (POST) to ensure that it meets the necessary
More informationFile System Case Studies. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University
File System Case Studies Jin-Soo Kim (jinsookim@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Today s Topics The Original UNIX File System FFS Ext2 FAT 2 UNIX FS (1)
More informationFile System: Interface and Implmentation
File System: Interface and Implmentation Two Parts Filesystem Interface Interface the user sees Organization of the files as seen by the user Operations defined on files Properties that can be read/modified
More informationGuide to Computer Forensics and Investigations Fourth Edition. Chapter 6 Working with Windows and DOS Systems
Guide to Computer Forensics and Investigations Fourth Edition Chapter 6 Working with Windows and DOS Systems Understanding Disk Drives Disk drives are made up of one or more platters coated with magnetic
More informationFile System Interpretation
File System Interpretation Part III. Advanced Techniques and Tools for Digital Forensics CSF: Forensics Cyber-Security Fall 2018 Nuno Santos Previously: Introduction to Android forensics! How does Android
More informationBoot Process in details for (X86) Computers
Boot Process in details for (X86) Computers Hello,,, Let's discuss what happens between the time that you power up your PC and when the desktop appears. In fact we should know that the boot process differs
More informationUnderstanding FAT12. Introduction to Computer Forensics. Kessler/Schirling
Understanding FAT12 Introduction to Computer Forensics Kessler/Schirling Fall 2002 EXP 248 Project #3 You have a floppy disk image file Examine floppy to find an address and a password, and verify MD5
More informationSegmentation with Paging. Review. Segmentation with Page (MULTICS) Segmentation with Page (MULTICS) Segmentation with Page (MULTICS)
Review Segmentation Segmentation Implementation Advantage of Segmentation Protection Sharing Segmentation with Paging Segmentation with Paging Segmentation with Paging Reason for the segmentation with
More informationbytes per disk block (a block is usually called sector in the disk drive literature), sectors in each track, read/write heads, and cylinders (tracks).
Understanding FAT 12 You need to address many details to solve this problem. The exercise is broken down into parts to reduce the overall complexity of the problem: Part A: Construct the command to list
More informationChapter 5. File and Memory Management
K. K. Wagh Polytechnic, Nashik Department: Information Technology Class: TYIF Sem: 5G System Subject: Operating Name of Staff: Suyog S.Dhoot Chapter 5. File and Memory Management A. Define file and explain
More informationFigure 1-1 Example of File System Layout
SATA-IP exfat reference design manual Rev1.1 5-Sep-13 1 Introduction The exfat file system is the successor to FAT32 in the FAT family of file systems. It incorporates several improvements over FAT32 such
More informationFile-System Structure. Allocation Methods. Free-Space Management. Directory Implementation. Efficiency and Performance. Recovery
CHAPTER 11: FILE-SYSTEM IMPLEMENTATION File-System Structure Allocation Methods Free-Space Management Directory Implementation Efficiency and Performance Recovery Operating System Concepts, Addison-Wesley
More informationThere is a general need for long-term and shared data storage: Files meet these requirements The file manager or file system within the OS
Why a file system? Why a file system There is a general need for long-term and shared data storage: need to store large amount of information persistent storage (outlives process and system reboots) concurrent
More informationFile Systems Management and Examples
File Systems Management and Examples Today! Efficiency, performance, recovery! Examples Next! Distributed systems Disk space management! Once decided to store a file as sequence of blocks What s the size
More informationProject 3 Help Document
Project 3 Help Document Hard disk drive structure Since the FAT32 file system is originally designed for hard disk drives, it is necessary to understand the structure of a hard drive because FAT32 organize
More informationFile System Case Studies. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University
File System Case Studies Jin-Soo Kim (jinsookim@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Today s Topics The Original UNIX File System FFS Ext2 FAT 2 UNIX FS (1)
More informationDisk Operating System
Disk Operating System DOS stands for Disk Operating System. DOS controls the computer s hardware and provides an environment for programs to run. This system program must always be present when working
More informationCHAPTER 11: IMPLEMENTING FILE SYSTEMS (COMPACT) By I-Chen Lin Textbook: Operating System Concepts 9th Ed.
CHAPTER 11: IMPLEMENTING FILE SYSTEMS (COMPACT) By I-Chen Lin Textbook: Operating System Concepts 9th Ed. File-System Structure File structure Logical storage unit Collection of related information File
More informationΡουτίνες Λειτουργίας (DOS function calls)
Ρουτίνες Λειτουργίας (DOS function calls) Παρακάτω ακολουθεί µία λίστα αυτών των AH κωδικών µε τα ονόµατα της ρουτίνας λειτουργίας (DOS function calls). 00H 01H 02H 03H 04H 05H 06H 07H 08H 09H TERMINATE
More informationlesson 3 Transforming Data into Information
essential concepts lesson 3 Transforming Data into Information This lesson includes the following sections: How Computers Represent Data How Computers Process Data Factors Affecting Processing Speed Extending
More informationCS720 - Operating Systems
CS720 - Operating Systems File Systems File Concept Access Methods Directory Structure File System Mounting File Sharing - Protection 1 File Concept Contiguous logical address space Types: Data numeric
More informationIntroduction to OS. File Management. MOS Ch. 4. Mahmoud El-Gayyar. Mahmoud El-Gayyar / Introduction to OS 1
Introduction to OS File Management MOS Ch. 4 Mahmoud El-Gayyar elgayyar@ci.suez.edu.eg Mahmoud El-Gayyar / Introduction to OS 1 File Management Objectives Provide I/O support for a variety of storage device
More informationCS 111. Operating Systems Peter Reiher
Operating System Principles: File Systems Operating Systems Peter Reiher Page 1 Outline File systems: Why do we need them? Why are they challenging? Basic elements of file system design Designing file
More informationECE 598 Advanced Operating Systems Lecture 17
ECE 598 Advanced Operating Systems Lecture 17 Vince Weaver http://web.eece.maine.edu/~vweaver vincent.weaver@maine.edu 3 April 2018 Announcements Project Topics Should have gotten response on project topic
More informationFile Systems Forensics
File Systems Forensics Section II. Basic Forensic Techniques and Tools CSF: Forensics Cyber-Security MSIDC, Spring 2017 Nuno Santos Summary! Analysis of file systems! Recovery of deleted files 2 Recall
More informationA file system is a clearly-defined method that the computer's operating system uses to store, catalog, and retrieve files.
File Systems A file system is a clearly-defined method that the computer's operating system uses to store, catalog, and retrieve files. Module 11: File-System Interface File Concept Access :Methods Directory
More informationOcean Sensor Systems, Inc. Wave Logger III, OSSI A Self Logging, Self Powered Wave Staff With a Self Grounding Coaxial Staff
Ocean Sensor Systems, Inc. Wave Logger III, OSSI-010-010 A Self Logging, Self Powered Wave Staff With a Self Grounding Coaxial Staff General Description The OSSI-010-010 Wave Logger III combines the high
More information21/02/2012. BIOS and boot process Storage devices Partitions. CSN08101 Digital Forensics Lecture 5A: PC Boot Sequence and Storage Devices.
CSN08101 Digital Forensics Lecture 5A: PC Boot Sequence and Storage Devices Module Leader: Dr Gordon Russell Lecturers: Robert Ludwiniak Objectives BIOS and boot process Storage devices Partitions Computer
More informationComputer Systems. Assembly Language for x86 Processors 6th Edition, Kip Irvine
Computer Systems Assembly Language for x86 Processors 6th Edition, Kip Irvine Chapter 15: Disk Fundamentals Yonsei University Department of Computer Science Jaekyung Kim(kimjk@cs.yonsei.ac.kr) (c) Pearson
More informationHard Disk Organization. Vocabulary
Hard Disk Organization Vocabulary Platter: one ceramic plate, covered with magnetizable film where the bits are actually stored. Both sides of a platter can be used. Increasing the number of platters is
More informationCE-320 Microcomputers I Winter 2010 LAB 1: MINIIDE GROUP #: NAME: PARTNER: Lab 1 Page 1
LAB 1: MINIIDE GROUP #: NAME: PARTNER: Lab 1 Page 1 LAB 1: MINIIDE GOALS Understand Wytec s Dragon12+ evaluation board Know how to use Dragon12 commands Understand an integrated development environment
More informationCS370 Operating Systems
CS370 Operating Systems Colorado State University Yashwant K Malaiya Spring 2018 Lecture 22 File Systems Slides based on Text by Silberschatz, Galvin, Gagne Various sources 1 1 Disk Structure Disk can
More informationIntel Architecture Segment:Offset Memory Addressing
Name: Date: Lab Section: Lab partner s name: Lab PC Number: Objectives: Understanding video memory and character mapping of CGA characters in ROM BIOS, using the DOS debug command. Writing simple assembly-language
More informationCSI3131 Operating Systems Tutorial 9 Winter 2015 File Systems
CSI3131 Operating Systems Tutorial 9 Winter 2015 File Systems 1. Consider a file currently consisting of 100 blocks. Assume that the file control block (and the index block, in the case of indexed allocation)
More informationWINDISK: A File and disk Editor
s WINDISK: A File and disk Editor Table of content Introduction Loading a file Saving the edited file DBCS files DBCS language selection SBCS files Disk geometry Print view Printer Setup Save view to file
More information8086 Interrupts and Interrupt Responses:
UNIT-III PART -A INTERRUPTS AND PROGRAMMABLE INTERRUPT CONTROLLERS Contents at a glance: 8086 Interrupts and Interrupt Responses Introduction to DOS and BIOS interrupts 8259A Priority Interrupt Controller
More informationCSE 4482 Computer Security Management: Assessment and Forensics. Computer Forensics: Working with Windows and DOS Systems
CSE 4482 Computer Security Management: Assessment and Forensics Computer Forensics: Working with Windows and DOS Systems Instructor: N. Vlajic,, Fall 2010 Required reading: Guide to Computer Forensics
More informationImplementation should be efficient. Provide an abstraction to the user. Abstraction should be useful. Ownership and permissions.
File Systems Ch 4. File Systems Manage and organize disk space. Create and manage files. Create and manage directories. Manage free space. Recover from errors. File Systems Complex data structure. Provide
More informationFile Systems Ch 4. 1 CS 422 T W Bennet Mississippi College
File Systems Ch 4. Ë ¾¾ Ì Ï ÒÒ Ø Å ÔÔ ÓÐÐ 1 File Systems Manage and organize disk space. Create and manage files. Create and manage directories. Manage free space. Recover from errors. Ë ¾¾ Ì Ï ÒÒ Ø Å
More informationThe Extended MBR (version 1.05) (dated: 01 Nov 2018) by Benjamin David Lunt Copyright (c) Forever Young Software
The Extended MBR (version 1.05) (dated: 01 Nov 2018) by Benjamin David Lunt Copyright (c) Forever Young Software 1984-2018 http://www.fysnet.net You may distribute this document in its entirety and/or
More informationHard Drive Technologies
Unit 8 Hard Drive Technologies Copyright 2002 Heathkit Company, Inc. All rights reserved. The disk surface is divided into tracks. 2 Most Hard Drives Have Multiple Platters Platter1, Track1 Platter2, Track1
More informationWeek 1. Introduction to Microcomputers and Microprocessors, Computer Codes, Programming, and Operating Systems
Week 1 Introduction to Microcomputers and Microprocessors, Computer Codes, Programming, and Operating Systems 2 Introduction to Microcomputers/ Stored Program C 3 Stored Program Concept There are three
More informationHard facts. Hard disk drives
Hard facts Text by PowerQuest, photos and drawings Vlado Damjanovski 2004 What is a hard disk? A hard disk or hard drive is the part of your computer responsible for long-term storage of information. Unlike
More informationHCS12 Microcontroller and Embedded Systems: Using Assembly and C with CodeWarrior 1 st Edition
Online Instructor s Manual to accompany HCS12 Microcontroller and Embedded Systems: Using Assembly and C with CodeWarrior 1 st Edition Muhammad Ali Mazidi Danny Causey Prentice Hall Boston Columbus Indianapolis
More informationTime Left. sec(s) Quiz Start Time: 12:13 AM. Question # 5 of 10 ( Start time: 12:18:29 AM ) Total Marks: 1
64 Quiz Start Time: 12:13 AM Question # 5 of 10 ( Start time: 12:18:29 AM ) Total Marks: 1 The root directory of floppy contains fixed entries 64 256 128 512 77 Quiz Start Time: 12:13 AM Question # 6 of
More informationChapter Two File Systems. CIS 4000 Intro. to Forensic Computing David McDonald, Ph.D.
Chapter Two File Systems CIS 4000 Intro. to Forensic Computing David McDonald, Ph.D. 1 Learning Objectives At the end of this section, you will be able to: Explain the purpose and structure of file systems
More informationDVD :50 PM Page 1 BIOS
99 0789729741 DVD 3.07 06 09 2003 1:50 PM Page 1 BIOS 99 0789729741 DVD 3.07 06 09 2003 1:50 PM Page 2 2 BIOS AMI BIOS POST Checkpoint Codes Table 1 AMI BIOS POST Checkpoint Codes for All AMI BIOS Products
More informationM.A.S.H. Design Document
M.A.S.H. Design Document William Dang, Chia-Hung Lee, Stephen Lee, Oleg Mironov, and Zijian Zhou April 3, 2004 1 Introduction For our Embedded Systems Final Design Project, we are implementing a basic
More informationFile Shredders. and, just what is a file?
File Shredders. File shredders delete a file but they do that in a way that is different from how the Windows operating system (and all regular Windows applications) delete files. To understand the difference,
More informationLesson 09: SD Card Interface
Lesson 09: SD Card Interface 1. Introduction A Secure Data (SD) card is a data storage device that can be used as massive storage in an embedded system. We will introduce a method to access data on a SD
More informationInput & Output 1: File systems
Input & Output 1: File systems What are files? A sequence of (usually) fixed sized blocks stored on a device. A device is often refered to as a volume. A large device might be split into several volumes,
More information412 Notes: Filesystem
412 Notes: Filesystem A. Udaya Shankar shankar@cs.umd.edu December 5, 2012 Contents 1 Filesystem interface 2 2 Filesystem implementation 3 3 FAT (mostly from Wikepedia) 5 4 UFS (mostly from Wikepedia)
More informationFile System Management
Lecture 8: Storage Management File System Management Contents Non volatile memory Tape, HDD, SSD Files & File System Interface Directories & their Organization File System Implementation Disk Space Allocation
More informationNextor 2.0 Driver Development Guide
Nextor 2.0 Driver Development Guide By Konamiman, 4/2014 Index 1. Introduction... 2 2. The Nextor kernel architecture... 2 2.1. The MSX-DOS 1 kernel... 2 2.2. The MSX-DOS 2 kernel... 3 2.3. The Nextor
More informationChapter. Chapter. Magnetic and Solid-State Storage Devices
Chapter Chapter 9 Magnetic and Solid-State Storage Devices Objectives Explain how magnetic principles are applied to data storage. Explain disk geometry. Identify disk partition systems. Recall common
More informationFile Management. Ezio Bartocci.
File Management Ezio Bartocci ezio.bartocci@tuwien.ac.at Cyber-Physical Systems Group Institute for Computer Engineering Faculty of Informatics, TU Wien Motivation A process can only contain a limited
More informationCP/M-86 Compatibility Guide For CP/M-80 Users
CCGFCU.WS4 ---------- CP/M-86 Compatibility Guide For CP/M-80 Users (= CCGFCU...) Copyright (c) 1980 Digital Research Pacific Grove, California (Revision of 10/21/80) (= 21 October 1980) (Retyped by Emmanuel
More informationTable 12.2 Information Elements of a File Directory
Table 12.2 Information Elements of a File Directory Basic Information File Name File Type File Organization Name as chosen by creator (user or program). Must be unique within a specific directory. For
More informationProgramming in Module. Near Call
Programming in Module Main: sub1: call sub1 sub ax,ax sub1 sub1 proc near sub ax,ax endp sub1 sub1 proc Far sub ax,ax endp Near Call sub1 sub1 Main: call sub1 sub1: sub ax,ax proc near sub ax,ax endp SP
More informationFile Directories Associated with any file management system and collection of files is a file directories The directory contains information about
1 File Management 2 File Directories Associated with any file management system and collection of files is a file directories The directory contains information about the files, including attributes, location
More informationFile Systems. Martin Děcký. DEPARTMENT OF DISTRIBUTED AND DEPENDABLE SYSTEMS
File Systems Martin Děcký DEPARTMENT OF DISTRIBUTED AND DEPENDABLE SYSTEMS http://d3s.mff.cuni.cz/ CHARLES UNIVERSITY IN PRAGUE FACULTY OF MATHEMATICS AND PHYSICS MS-DOS FAT History 1977 1996 FAT32 FAT12
More informationCS 4284 Systems Capstone
CS 4284 Systems Capstone Disks & File Systems Godmar Back Filesystems Files vs Disks File Abstraction Byte oriented Names Access protection Consistency guarantees Disk Abstraction Block oriented Block
More information17: Filesystem Examples: CD-ROM, MS-DOS, Unix
17: Filesystem Examples: CD-ROM, MS-DOS, Unix Mark Handley CD Filesystems ISO 9660 Rock Ridge Extensions Joliet Extensions 1 ISO 9660: CD-ROM Filesystem CD is divided into logical blocks of 2352 bytes.
More informationCS609 - System Programing Final-Term Papers Solved MCQS with Reference (1 to 45 lectures) by Arslan Arshad (Zain Nasar)
CS609 - System Programing Final-Term Papers Solved MCQS with Reference (1 to 45 lectures) by Arslan Arshad (Zain Nasar) June 21,2016 PH # 0300-2462284 http://lmshelp.blogspot.com/ Arslan.arshad01@gmail.com
More informationLab 10 CST8214 Ian! D. Allen Fall 2007
Name: Date: Lab Section: Lab partner s name: Lab PC Number: Objectives: Understanding video memory and character mapping of CGA characters in ROM BIOS, using the DOS debug command. Writing simple assembly
More informationUNIX File Systems. How UNIX Organizes and Accesses Files on Disk
UNIX File Systems How UNIX Organizes and Accesses Files on Disk Why File Systems File system is a service which supports an abstract representation of the secondary storage to the OS A file system organizes
More informationFILE SYSTEMS. CS124 Operating Systems Winter , Lecture 23
FILE SYSTEMS CS124 Operating Systems Winter 2015-2016, Lecture 23 2 Persistent Storage All programs require some form of persistent storage that lasts beyond the lifetime of an individual process Most
More informationA+ Guide to Managing and Maintaining your PC, 6e. Chapter 8 Hard Drives
A+ Guide to Managing and Maintaining your PC, 6e Chapter 8 Hard Drives Introduction Hard drive: most important secondary storage device Hard drive technologies have evolved rapidly Hard drive capacities
More information16-Bit Intel Processor Architecture
IBM-PC Organization 16-Bit Intel Processor Architecture A-16 bit microprocessor can operate on 16 bits of data at a time. 8086/8088 have the simplest structure 8086/8088 have the same instruction set,
More informationA+ Guide to Hardware, 4e. Chapter 7 Hard Drives
A+ Guide to Hardware, 4e Chapter 7 Hard Drives Objectives Learn how the organization of data on floppy drives and hard drives is similar Learn about hard drive technologies Learn how a computer communicates
More information- Remarks (1) and (2) about the FCB format in version 2 of MSX-DOS have been added.
MSX2 TECHNICAL HANDBOOK ----------------------- Edited by: ASCII Systems Division Published by: ASCII Coprporation - JAPAN First edition: March 1987 Text files typed by: Nestor Soriano (Konami Man) - SPAIN
More informationIS-Dev Kit-7 & 7D User s Manual
IS-Dev Kit-7 (ISC15ANP4) IS-Dev Kit-7 & 7D User s Manual Revision A Firmware Version 2.4 IS-Dev Kit-7D (ISC01P) NKK SWITCHES 7850 E. Gelding Drive Scottsdale, AZ 85260 Toll Free 1-877-2BUYNKK (877-228-9655)
More informationPreview. COSC350 System Software, Fall
Preview File System File Name, File Structure, File Types, File Access, File Attributes, File Operation Directories Directory Operations File System Layout Implementing File Contiguous Allocation Linked
More informationInternal Commands COPY and TYPE
Internal Commands COPY and TYPE Ch 5 1 Overview Will review file-naming rules. Ch 5 2 Overview Will learn some internal commands that can be used to manage and manipulate files. Ch 5 3 Overview The value
More informationwe are here Page 1 Recall: How do we Hide I/O Latency? I/O & Storage Layers Recall: C Low level I/O
CS162 Operating Systems and Systems Programming Lecture 18 Systems October 30 th, 2017 Prof. Anthony D. Joseph http://cs162.eecs.berkeley.edu Recall: How do we Hide I/O Latency? Blocking Interface: Wait
More informationHard Drive Technologies
Unit 8 Hard Drive Technologies Copyright 2002 Heathkit Company, Inc. All rights reserved. The disk surface is divided into tracks. 2 Most Hard Drives Have Multiple Platters Platter1, Track1 Platter2, Track1
More informationBasic Tiger File System for SmartMedia. Version 1.04
Basic Tiger File System for SmartMedia Version 1.04 Introduction...4 BTFS for SmartMedia Card...4 BTFS for SmartMedia File List...4 FS Include Files (directory File_System )...4 FS Examples (directory
More informationCS3600 SYSTEMS AND NETWORKS
CS3600 SYSTEMS AND NETWORKS NORTHEASTERN UNIVERSITY Lecture 11: File System Implementation Prof. Alan Mislove (amislove@ccs.neu.edu) File-System Structure File structure Logical storage unit Collection
More informationAdvanced Operating Systems
Advanced Operating Systems File Systems: File Allocation Table, Linux File System, NTFS Lecture 10 Case Studies of File Systems File Allocation Table (FAT) Unix File System Berkeley Fast File System Linux
More informationSecondary Storage (Chp. 5.4 disk hardware, Chp. 6 File Systems, Tanenbaum)
Secondary Storage (Chp. 5.4 disk hardware, Chp. 6 File Systems, Tanenbaum) Secondary Stora Introduction Secondary storage is the non volatile repository for (both user and system) data and programs. As
More informationChapter 3. Bit Addressable Area. By DeccanRobots
Chapter 3 Bit Addressable Area By DeccanRobots What is Bit Addressable Area? FFh 2Fh 20h 00h Data Memory General purpose Memory Area Bit Addressable Memory Registers Memory Area from 20H to 2FH is Bit
More informationCSC 306 Assignment 4: A Floppy Disk Dumper
CSC 306 Assignment 4: A Floppy Disk Dumper Project due date: 11:59pm CST, 11/18/10 Statement Windows and Linux systems allow a programmer to open the floppy disk and read/write its contents as if it were
More informationIntroduction. Secondary Storage. File concept. File attributes
Introduction Secondary storage is the non-volatile repository for (both user and system) data and programs As (integral or separate) part of an operating system, the file system manages this information
More informationINDEX OF COMMANDS. ATTRIB [+r] [x:]{file} [-r] 92, 180. BACKUP x:[{file}] y:[/d][/m][/s] BASIC [[x:]{file}] BASICA [[x:]{file}] CD [[x:]\{name}]
INDEX OF COMMANDS In this index of commands, anything between square brackets indicates an alternative or a facultative addition to the command in question; "x:" and "y:" mean the designation of a drive;
More informationDiskOnChip 2000 MD2200, MD2201 Data Sheet
DiskOnChip 2000 MD2200, MD2201 Data Sheet Features Single chip plug-and-play Flash Disk 2-72MB capacity (144MB in 1H99) Simple, easy to integrate interface 32-pin DIP JEDEC standard EEPROM compatible pin-out
More informationProposed Common Configuration Method
Proposed Common Configuration Method July 9, 1991 The Common Configuration Method (CCM) simplifies configuration of disks and other storage devices. This definition includes a Standard AT Compatible Register
More informationwe are here I/O & Storage Layers Recall: C Low level I/O Recall: C Low Level Operations CS162 Operating Systems and Systems Programming Lecture 18
I/O & Storage Layers CS162 Operating Systems and Systems Programming Lecture 18 Systems April 2 nd, 2018 Profs. Anthony D. Joseph & Jonathan Ragan-Kelley http://cs162.eecs.berkeley.edu Application / Service
More informationECE 598 Advanced Operating Systems Lecture 18
ECE 598 Advanced Operating Systems Lecture 18 Vince Weaver http://web.eece.maine.edu/~vweaver vincent.weaver@maine.edu 5 April 2016 Homework #7 was posted Project update Announcements 1 More like a 571
More informationDisk divided into one or more partitions
UNIX File System Filesystem structure Disk divided into one or more partitions independent file system on each partition Sector 0 contains the Master Boot Record (MBR) MBR contains partition table one
More information