DOS ELEMENTS. Abstract:

Similar documents
Disk Operating System

Computer Technology Flash Card 2

Chapter Two. Lesson A. Objectives. Exploring the UNIX File System and File Security. Understanding Files and Directories

Introduction to Computers. Joslyn A. Smith

User. Application program. Interfaces. Operating system. Hardware

A1-R3: IT TOOLS & APPLICATIONS

DOS. 5/1/2006 Computer System Software CS 012 BE 7th Semester 2

IntroductIon to dos. 2.1 IntroductIon. 2.2 SettIng up dos

Chapter 14: Mass-Storage Systems

Fundamentals of Computer Processing

What is Information Technology. Chapter 1: Computer System. Why use Information Technology? What is Data?

8.1 Software/Hardware Required: Core 2 duo/i3/i5/i7-64bit processor Operating System ubuntu/fedora 64bit OS Assembler: NASM Editor Used gedit

13 File Structures. Source: Foundations of Computer Science Cengage Learning. Objectives After studying this chapter, the student should be able to:

Module 13: Secondary-Storage

INDEX 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}]

5. a computer which CPU speed around 100 million instruction per second and with the word length of around 64 bits is known as

Parts of the Computer System. Parts of the Computer System. Parts of the Computer System. Essential Computer Hardware. Information Processing Cycle

Computer Programming for Engineering

Download from Powered By JbigDeaL

Computer Fundamentals

Computer Skills: Files and Folders Tutorial

Chapter 12: Mass-Storage Systems. Operating System Concepts 8 th Edition,

LECTURE SCHEDULE 2. Units of Memory, Hardware, Software and Classification of Computers

THE MICROCOMPUTER SYSTEM CHAPTER - 2

Chapter 2: Computers: The Machines Behind Computing.

HIGHER SECONDARY FIRST YEAR 2 MARK & 5 MARK NOTES CHAPTER 1 1. INTRODUCTION TO COMPUTER

The Host Environment. Module 2.1. Copyright 2006 EMC Corporation. Do not Copy - All Rights Reserved. The Host Environment - 1

1. Restarting a computer which is already running is referred to as

Types and Functions of Win Operating Systems

Hard Disk Organization. Vocabulary

Pharmacy college.. Assist.Prof. Dr. Abdullah A. Abdullah

Design Choices 2 / 29

A+ Guide to Managing and Maintaining your PC, 6e. Chapter 2 Introducing Operating Systems

Tape pictures. CSE 30341: Operating Systems Principles

UNIT 4 Device Management

Directory Structure and File Allocation Methods

CHAPTER 11: IMPLEMENTING FILE SYSTEMS (COMPACT) By I-Chen Lin Textbook: Operating System Concepts 9th Ed.

Lecture-7 Characteristics of Memory: In the broad sense, a microcomputer memory system can be logically divided into three groups: 1) Processor

Unit - II. Computer Concepts and C Programming 06CCP13. Unit II

MODULE 4. FILE SYSTEM AND SECONDARY STORAGE

Systems software. Definition. Categories of software. Examples Of Systems Software 11/23/2018

Systems Programming. The Unix/Linux Operating System

Input/Output Management

(Refer Slide Time 00:01:09)

Typical File Extensions File Structure

OPERATING SYSTEM. Functions of Operating System:

Operating Systems: The Genie in the Computer. Chapter 6: Operating Systems: The Genie in the Computer. What is an operating system?

DATA STRUCTURES USING C

DATA PROCESSING Scheme of work for 2016 SS Three Extension Class

INTRODUCTION TO COMPUTERS

Definition. A series of detailed instructions that control the operation of a computer system. are developed by computer programmers

Operating Systems. V. Input / Output. Eurecom

CSCI 120 Introduction to Computation Operating System (draft)

ABC Atanasoff-Berry Computer

Chapter 14: Mass-Storage Systems. Disk Structure

Lecture -1- By lec. (Eng.) Hind Basil University of technology Department of Materials Engineering

Chapter 2: Operating-System Structures

What Operating Systems Do An operating system is a program hardware that manages the computer provides a basis for application programs acts as an int

Downloaded from various sources on the NET

Zimmer CSCI /24/18. CHAPTER 1 Overview. COMPUTER Programmable devices that can store, retrieve, and process data.

CS 552 -Final Study Guide Summer 2015

v.m.g.rajasekaran ramani sri sarada sakthi mat. Hr. sec. school

Computer Organization

Input/Output. Today. Next. Principles of I/O hardware & software I/O software layers Disks. Protection & Security

Memory Study Material

Chapter. Chapter. Magnetic and Solid-State Storage Devices

Computer is an electronic machine that can receive, store, transform and output data of all kinds (image, text, numeric, graphics and sound).

File Management. Ezio Bartocci.

Database Management Systems, 2nd edition, Raghu Ramakrishnan, Johannes Gehrke, McGraw-Hill

ACCESSDATA SUPPLEMENTAL APPENDIX

CHAPTER 2 BASIC OPERATING SYSTEM CONCEPT MANAGEMENT

UNIT 2. OPERATING SYSTEM STRUCTURES

ELEC 377 Operating Systems. Week 8 Class 1

Last class: OS and Architecture. OS and Computer Architecture

Last class: OS and Architecture. Chapter 3: Operating-System Structures. OS and Computer Architecture. Common System Components

Chapter 13: Mass-Storage Systems. Disk Scheduling. Disk Scheduling (Cont.) Disk Structure FCFS. Moving-Head Disk Mechanism

Chapter 13: Mass-Storage Systems. Disk Structure

ICDL-IT. ICDL The ICDL L4 IT. ICDL-IT ICDL

Fundamental of digital computer

Chapter 3: Operating-System Structures

Introduction to OS. File Management. MOS Ch. 4. Mahmoud El-Gayyar. Mahmoud El-Gayyar / Introduction to OS 1

Computer Principles and Components 1

OPERATING SYSTEMS & UTILITY PROGRAMS

MASS-STORAGE STRUCTURE

About the Presentations

File Systems. File system interface (logical view) File system implementation (physical view)

IT ESSENTIALS V. 4.1 Module 5 Fundamental Operating Systems

Aryan College. Computer Fundamental. Introduction to Computer System

File System: Interface and Implmentation

OPERATING SYSTEMS. After A.S.Tanenbaum, Modern Operating Systems, 3rd edition. Uses content with permission from Assoc. Prof. Florin Fortis, PhD

Chapter 3: Operating-System Structures

Chapter 1 Basic Computer Organization

A+ Guide to Managing and Maintaining Your PC. How Hardware and Software Work Together

Some popular Operating Systems include Linux Operating System, Windows Operating System, VMS, OS/400, AIX, z/os, etc.

Operating System Concepts Rab Nawaz Khan Jadoon

File System Interface and Implementation

Operating Systems. V. Input / Output

5 Computer Organization

Components of a personal computer

Operating-System Structures

Transcription:

DOS ELEMENTS Smita Srivastava 1, Shweta Kurda 2, Priya Dubey 3 Information Technology Dronacharya College of Engineering, Gurgaon Abstract: This paper evaluates several hardware platforms and operating systems using a set of benchmarks that stress kernel entry/exit, file systems, and other things related to operating systems. The overall conclusion is that operating system performance is not improving at the same rate as the base speed of the underlying hardware. The most obvious ways to remedy this situation are to improve memory bandwidth and reduce operating systems tendency to wait for disk operations to complete. Since the invention of the movable head disk, people have improved I/O performance by intelligent scheduling of disk accesses. Processor speed and memory capacity are increasing several times faster than disk speed. This disparity suggests that disk I/O performance will become an important bottleneck.methods are needed for using disks more efficiently. Past analysis of disk scheduling algorithms has largely been experimental and little attempt has been made to develop algorithms with provable performance guarantees. Keywords: Disk scheduling, SSTF, C-LOOK, SCAN, FCFS, C-SCAN, LOOK. History: In the early days of computers, there were no disk drives, floppies or modern flash storage devices. Early storage devices such as delay lines, punched cards, paper tape, magnetic tape, and magnetic drums were used instead. And in the early days of microcomputers, paper tape or audio cassette tape (see Kansas City standard) or nothing were used instead. In the latter case, program and data entry was done at front panel switches directly into memory or through a computer terminal / keyboard, sometimes controlled by a read-only memory (ROM) BASIC interpreter; when power was turned off after running the program, the information so entered vanished. Both hard disks and floppy disk drives require software to manage rapid access to block storage of sequential and other data. When microcomputers rarely had expensive disk drives of any kind, the need to have software to manage such devices (the disks) carried much status. To have one or the other was a mark of distinction and prestige, and so was having the Disk sort of an Operating System. As prices for both disk hardware and operating system software decreased, there were many such microcomputer systems. Mature versions of the Commodore, SWTPC, Atari and Apple home computer systems all featured a disk operating system (actually called 'DOS' in the case of the Commodore 64 (CBM DOS), Atari 800 (Atari DOS), and Apple II machines (Apple DOS)), as did (at the other end of the hardware spectrum, and much earlier) IBM's 260

System/360, 370 and (later) 390 series of mainframes (e.g., DOS/360: Disk Operating System / 360 and DOS/VSE: Disk Operating System / Virtual Storage Extended). Most home computer DOS'es were stored on a floppy disk always to be booted at start-up, with the notable exception of Commodore, whose DOS resided on ROM chips in the disk drives themselves (the computer itself had no DOS, just a form of a BIOS for communicating with peripherals). The Lt. Kernel hard disk subsystem for the Commodore 64 and Commodore 128 models stored its DOS on the disk, as is the case with modern systems, and loaded the DOS into RAM at boot time. Definition: DOS (Disk Operating System) was the first widely-installed operating system for personal computers. (Earlier, the same name had been used for an IBM operating system for a line of business computers.) The first personal computer version of DOS, called PC-DOS, was developed for IBM by Bill Gates and his new Microsoft Corporation. He retained the rights to market a Microsoft version, called MS- DOS. PC-DOS and MS-DOS are almost identical and most users have referred to either of them as just "DOS." DOS was (and still is) a non-graphical line-oriented command- or menu-driven operating system, with a relatively simple interface but not overly "friendly" user interface. Its prompt to enter a command looks like this: C :> The first Microsoft Windows operating system was really an application that ran on top of the MS-DOS operating system. Today, Windows operating systems continue to support DOS (or a DOS-like user interface) for special purposes by emulating the operating system. In the 1970s before the personal computer was invented, IBM had a different and unrelated DOS (Disk Operating System) that ran on smaller business computers. It was replaced by IBM's VSE operating system. As the name suggests, the operating System is used for operating the system or the computer. It is a set of computer programs and also known as DOS (Disk Operating System). The main functions of DOS are to manage disk files, allocate system resources according to the requirement. DOS provides features essential to control hardware devices such as Keyboard, Screen, Disk Devices, Printers, Modems and programs. Basically, DOS is the medium through which the user and external devices attached to the system communicate with the system. DOS translate the command issued by the user in the format that is understandable by the computer and instruct computer to work accordingly. It also translates the result and any error message in the format for the user to understand. LOADING OF DOS The BOOT Record into the computer memory loads DOS. BOOT Record in turn is triggered by ROM program already there in the computer. The system start-up routine of ROM runs a reliability test called Power On Self-Test (POST) which initializes the chips and the standard equipment attached to the PC, and check whether peripherals connected to the computer are working or not. Then it tests the RAM memory. Once this process is 261

over, the ROM bootstrap loader attempts to read the Boot record and if successful, passes the control on to it. The instructions/programs in the boot record then load the rest of the program. After the ROM boot strap loader turns the control over to boot record, the boot tries to load the DOS into the memory by reading the two hidden files IBMBIO.COM and IBMDOS.COM. If these two are found, they are loaded along with the DOS command interpreter COMMAND.COM. COMMAND.COM contains routines that interpret what is typed in through the keyboard in the DOS command mode. By comparing the input with the list of command, it acts by executing the required routines/commands or by searching for the required routine utility and loads it into the memory. COMPUTER FILES IN DOS A file may contain a program or any other kind of information. Generally, a file must be given a name that can be used to identify it. DOS permits the user to assign a name consisting of two parts to a file primary and secondary names. Primary name can be of a maximum of eight characters consisting of Characters, Alphabets, Number and Hyphen), and the Secondary name should consist of three characters, which is optional. The primary name and the secondary (or extension) name, if any, are to be separated by a dot (.). Primary name can be linked to proper name, whereas extensions are like surnames of people. Using an extension with the file name is preferable, though optional. However, once the extension is specified, using the complete name (primary name and extension, with the period separating them can only refer the file). Using extensions can be an excellent way of naming a file so that it can be identified easily. Examples: DOS has a way of showing which disk drive is currently active. The floppy disk drives are assigned alphabets A and B, whereas the hard disk drive is assigned the alphabet C. If your PC has a single floppy drive, the drive would be A and B if it has two, they would be termed as A and B. If your PC includes a hard disk, besides a FDD (Floppy Disk Drive), the drive names would be A and C. If the prompt is A, then it implies that the first floppy disk drive is active. Whereas the DOS prompt would be C, if the hard disk is active. Data as well as instructions reside in a file stored in a disk. DIRECTORY STRUCTURE IN DOS The files in the computer come from various sources. Some files come with DOS, while other come with publications such as a word processor. These files contain codes and other information that is necessary to make the computer application operational. Before long, there will be hundreds or even thousands of files in the computer, which can make it difficult to locate specific files. The names of all the files created in a disk are stored in its directory. Directory is just like a file folder, which contain all the logically related files. DOS files are organized in a hierarchical or an inverted 262

tree-like structure. The general analogy is with a file cabinet containing a number of drawers, which in turn may contain folders. The content of these folders is the needed information. The file cabinet here is the ROOT DIRECTORY, the drawer is INDIVIDUAL DIRECTORY, the folders are SUBDIRECTORY and the information in these folders may in turn be classified as FILES. Otherwise, the large number of files that get created for various purposes in a disk can make the directory huge and difficult to view and manage. Therefore, DOS enables the user to organize the files in a disk into directories and sub-directories in a hierarchical structure. Directories can contain other directories. A directory within another directory is called a sub-directory. Of course, there may be sub-directories of sub-directories, but a file name is the furthest you may descend down the (inverted) tree of directories and files. Thus, a file name corresponds to a tree leaf, a subdirectory to a branch, the directory to the trunk, and the root directory to the root of the tree, hence the name ROOT DIRECTORY. DIRECTORY COMMAND The content of each of the sub-directory cannot be viewed unless it is made active, or a sub-directory is specified as part of the DIR command. Doing either of these requires an understanding of the concepts of navigating around the disk. The directory, the user is in at any point of time, is called the WORKING/PRESENT/CURRENT director y. DOS indicates which directory you are in by displaying the directory s name in the command prompt. For example, the following command prompt indicate that you are in the DOS directory: C:\DOS>. Knowing which directory is current helps you find files, and to move from one directory to another more easily. Typically, the ROOT DIRECTORY (\) is the initial working directory. The entire specification of directory from root is called a PATH. By itself, the DIR command is applicable to the working/present directory. The names of the sub-directories at adjacent levels are separated by backslash (\), while specifying the path to be followed while traveling to a sub-directory. DIR COMMAND The DIR command gives the list of is there on the disk that is mounted on the active drive. Syntax: C :\> DIR A :\> DIR Example A :\> DIR Volume in drive A has no label Directory of A:\ COMMAND COM 23612 10-20- 88 11.30a DISKCOPY COM 4235 10-20- 88 12.00p FORMAT COM 15780 03-12- 89 12.00p 3 file(s) 325013 bytes free A :\> As can be seen, on typing DIR followed by key at DOS prompt, five columns of data followed by the number of files and bytes that are free in the disk are displayed. The first column contains the primary name of each file resident on the disk. However, most files are named with an extension, which appear in the second column. Whereas, the third column contains the size of the file in bytes, and the fourth and fifth 263

columns show the date and time on which the files was created or last modified. The last line displays the number of file(s) and remaining disk space free in bytes. It is important to note that the DIR command only displays the names of the files and not their contents. CHANGING A DIRECTORY All the names displayed using DIR command that have besides them are directories. You can see the list of files in another directory by changing to that directory and then using the DIR command again. The Change Directory (CHDIR) or CD command enables the user to travel around the directories in a disk. Type the CD command at the command prompt. Syntax: A :\> CHDIR {path} or A :\> CD {path} Examples: (Refer to the figure) # 1. A:\>CD \NOS This command makes the NOS subdirectory under the root directory (\) active. # 2. A:\>CD \NOS\LETTERS The backslash indicates the root, and LETTERS, which is a sub-directory under the NOS directory, becomes the working directory. # 3. A :\> CD \ The root directory becomes the working directory; i.e. You will change back to the root or main directory. The slash typed in this command is a backslash (\). No matter which directory you are in, this command always returns you to the root directory of a drive. The root directory does not have a name, it is simply referred to by a backslash (\). how to characterize a device s performance. From the above experiment and comparison of commands with existing commands in different operating system. All those who wants to work with disk operating System open new era for them. This would help the new generation to be go ahead. REFERENCES [1] Accetta, M., et al. Mach: A New Kernel Foundation for UNIX Development. Proceedings of the USENIX 1986 Summer Conference, July 1986, pp. 93-113. [2] Hill, M., et al. Design Decisions in SPUR. IEEE Computer, Vol. 19, No. 11, November 1986, pp. 8-22. [3] Howard, J., et al. Scale and Performance in a Distributed File System. ACM Transactions on Computer Systems, Vol. 6, No. 1, February 1988, pp. 51-81. [4] Nelson, M., Welch, B., and Ousterhout, J. Caching in the Sprite Network File System. ACM Transactions on Computer Systems, Vol. 6, No. 1, February 1988, pp. 134-154. [5] Ousterhout, J., et al. the Sprite Network Operating System. IEEE Computer, Vol. 21, No. 2, February 1988, pp. 23-36. CONCLUSION In conclusion, we have presented a new realtime disk operating system that imposes performance and durability. We showed 264