HP-UX Reference (11i v1 05/09) - 7 Device (Special) Files, 9 General Information, Index (vol 10)

f
floppy(7) floppy(7)
Media Type Use Capacity Heads Tracks Sectors Sector Size -f
3.5in DS DD 630,784 2 77 16 256 1
3.5in DS DD 655,360 2 80 16 256 21
3.5in DS DD 655,360 2 80 8 512 26
3.5in DS DD 709,632 2 77 9 512 2
3.5in DS DD DOS 720K 737,280 2 80 9 512 16
3.5in DS DD 788,480 2 77 5 1024 3
3.5in DS HD’ DOS 1.2M 1,228,800 2 80 15 512 26
3.5in DS HD’ 1,261,568 2 77 8 1024 22
3.5in DS HD 1,261,568 2 77 32 256 1
3.5in DS HD 1,419,264 2 77 18 512 2
3.5in DS HD DOS 1.44M 1,474,560 2 80 18 512 16
3.5in DS HD 1,567,960 2 77 10 1024 3
3.5in DS HD 1,638,400 2 80 10 1024 23
5.25in DS DOS 360K 368,640 2 40 9 512 2
5.25in DS DD 655,360 2 80 8 512 26
5.25in DS HD DOS 1.2M 1,228,800 2 80 15 512 16
5.25in DS HD 1,261,568 2 77 8 1024 24
The following table shows the density information for some standard flexible disk media.
MediaType BitDensity RPM TransferRate TrackDensity DataEncoding
3.5in DS DD 7,958 300 250 135 MFM
3.5in DS HD’ 13,262 360 500 135 MFM
3.5in DS HD 15,916 300 500 135 MFM
5.25in DS 7,958 300 250 48 MFM
5.25in DS DD 7,958 300 250 96 MFM
5.25in DS HD 13,262 360 500 96 MFM
Abbreviations are interpreted as follows:
DS Double-sided media
DD Double-density media
HD High-density media
HD’ High-density media (alternate media rotation rate)
Normally each open() call causes the device and/or floppy device driver to attempt to determine the
geometry of the installed media. As a result, the current flexible disk geometry is set to the supported
geometry that matches the physical data format on the media currently installed in the device. To main-
tain reasonable open times, not all possible media geometries are checked. Therefore, it is possible that a
flexible disk medium may contain valid data even though its format is not recognized. This automatic
geometry sensing functionality may be disabled in some drivers by use of the
O_NDELAY flag in the
open() call or device driver dependent minor numbers. The Series 800 does not support this flag.
The FLOPPY_GET_INFO ioctl indicates the characteristics and current status of a floppy device. Infor-
mation for interpreting the media and data_encoding fields can be found in <sys/floppy.h >.
The following macros are defined for decoding the status and valid fields. These macros return a
non-zero (true) value for the associated conditions.
FLOPPY_NO_MEDIA(x) / Drive is empty /
FLOPPY_BLANK_MEDIA(x) / Media geometry is not recognizable /
FLOPPY_WRITE_PROT(x) / Media is write protected /
FLOPPY_MEDIA_CHANGED(x) / Media has changed since last status /
FLOPPY_HIGH_DENSITY(x) / Media has high density indication /
The argument
x in the above macros refers to the status or valid fields of the
FLOPPY_GET_INFO ioctl. Some floppy devices or floppy device drivers may be unable to determine some
status information. The valid field indicates whether or not the corresponding status information is
meaningful. Applying a macro to the valid field indicates whether or not the application of that same
macro to the status field results in a valid device status.
HP-UX 11i Version 1: September 2005 2 Hewlett-Packard Company Section 729