Title: Floppy%20Drives
1Chapter 7
2Floppy Drives
- 3.5 inch 1.44 Mbytes
- Usages
- Data transfer
- Small file backup
- Software distribution, e.g., device drivers
3Floppy Drive Subsystem
4How Data Is Physically Stored on a Floppy Disk
- In concentric circles (tracks or cylinders)
- Each track is divided into sectors
- Each sector holds 512 bytes of data
5How Data Is Physically Stored on a Floppy Disk
6Floppy Disk
- Each bit is a magnetized, rectangular spot
- Two read/write heads
- Head actuator physically positions the
read/write heads over the correct track - Spindle motor spins the floppy disk
- Tunnel-erase heads erase any stray magnetic
information recorded outside the defined track it
is writing
7Inside a Floppy Disk Drive
8How Data Is Physically Stored on a Floppy Disk
9Formatting a Floppy Disk
- Low-level formatting recording the tracks and
marking the start of each sector on each track - High-level formatting creating the disk's
logical structures such as the file allocation
table and root directory
10Ways to Format a Floppy Disk
- Format command from a command prompt
- Windows Explorer, right-click the 3½ Floppy (A)
icon and select Format on shortcut menu
113.5 inch Floppy Disk Geometry
- 2 sides
- 80 tracks/side
- 18 sectors/track
- 512 bytes/sector
- Storage capacity
12How Data Is Logically Stored on a Floppy Disk
- Cluster
- Smallest logical unit of space allocated and
accessed by the operating system - On a 3½-inch high-density floppy disk, one
cluster one sector (512 bytes)
13Project 1 Data are Allocated in Clusters?
- Insert a floppy disk, check its space usage
- Create a file with only one letter and save it to
the floppy disk - Check the space usage again
14High-level Formatting of a Floppy
- Creates boot record
- Creates two copies of file allocation table (FAT)
- Creates root directory
15Boot Record
- First sector of the disk (track 0, sector 1
(bottom of the disk, outermost track)) - Stores basic information about how the disk is
organized - Has a bootstrap loader that can be used to boot
from the disk
16File Allocation Table (FAT 12)
- One-column table
- Width of each entry in the column is 12 bits
- Records
- Location of the next file cluster
- Unused/Bad status
17Root Directory Table
- A table with a fixed number of entries, each for
a file or a subdirectory under the root directory - Each entry
- File name and extension
- Time and date of last update
- File size
- File attributes
- Starting cluster
18How the OS Uses the FAT and Directory Table
19Common Error Messages
- Non-system disk or disk error. Replace and strike
any key when ready.No operating system found. - Bad or missing COMMAND.COMError in Config.sys
line xxHimem.sys not loadedMissing or corrupt
Himem.sys
20Common Error Messages
- Invalid Drive Specification
- Not ready reading drive A, Abort, Retry, Fail?
- General failure reading drive A, Abort, Retry,
Fail? - Track 0 bad, disk not usable
- Write-protect error writing drive A
21Project 2 Replacing a Floppy Drive
- Check that computer and other peripherals are
working - Turn off computer and remove cover
- Unplug data cable and power cable from old drive
unscrew and dismount the drive - Slide new drive into the bay reconnect data
cable and power cable - Turn on computer check setup test the drive
turn off computer and replace the cover