HP-UX Reference (11i v2 07/12) - 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
3.5in SD DOS 120M 120 MBytes 2 1736 51-92 512 *
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
* For the LS-120 floppy, mediainit does not need the -f option. (The option is ignored.)
mediainit formats the disk as a 120-MByte floppy.
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
3.5in SD 33,660 720 500 2490 RLL
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)
SD LS-120 super disk
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 Servers do 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 */
HP-UX 11i Version 2: December 2007 Update 2 Hewlett-Packard Company 45