Figure 10-3 shows how a disk surface is dividedinto sectors and tracks. A 360K floppy disk is dividedinto 9 sectors per track and 40 tracks per side. Eachsector is capable of holding 512 bytes. Simple mathtells us the 512 bytes per sector times 9 sectors per tracktimes 40 tracks per side times 2 sides equals 368,640bytes.Cylinder AddressingDisk drives generally use the cylinder addressingmethod to store and retrieve data. In a disk drive, theread/write heads are positioned concurrently by parallelaccess arms to the same track number. In other words,if one head seeks track 20, then all heads move to track20 of their respective recording surface.This means that all identically numbered tracks onthe disk pack recording surfaces form a verticalcylinder. The cylinder number corresponds to the tracknumber. All track 00s form cylinder 00. All track 200sform cylinder 200 and so on. Figure 10-4 shows anexample of a disk drive seeking cylinder 20 of a diskpack. If a disk pack has 10 recording surfaces with 800tracks per surface, then it would have 800 cylinders.Data is stored or retrieved by using the cylinder address.The cylinder address consists of the cylinder number,sector number, and head or recording surface number.FormattingAs we have seen, formatting a disk writes the tracksand sectors on the disk. In addition, the format programused with personal computers also examines the diskfor bad areas and creates the root directory, the fileallocation table (FAT), and the disk boot sector. Theboot sector contains information to tell the computerwhat type of disk is being used, what format the data isin, and other information that the DOS needs to read thedisk.Fixed disks used in personal computers need anadditional high-level format that defines the type ofdrive and the operating system being used.Once a disk is formatted, it is ready to have datawritten on it. How the data is stored in the sectors isprimarily driven by the disk operating system (DOS).The following section shows how DOS organizes dataon floppy and fixed disks by using directories.DirectoriesDOS stores data in directories. A directory is a filesystem that enables DOS to manage files. There are twotypes of directories: the root directory and thesubdirectories.Figure 10-3—Sectors and tracks on a magnetic disk.10-4
Integrated Publishing, Inc. - A (SDVOSB) Service Disabled Veteran Owned Small Business