Technical data
fd(7D) Devices SunOS 5.5
5.25" Diskettes For 5.25" double-sided diskettes, the following densities are supported:
SPARC 5.25" diskettes are not supported.
x86 high density 80 cylinders, 15 sectors per track, 1.2 Mbyte capacity
double density 40 cylinders, 9 sectors per track, 360 Kbyte capacity
double density 40 cylinders, 8 sectors per track, 320 Kbyte capacity
quad density 80 cylinders, 9 sectors per track, 720 Kbyte capacity
double density 40 cylinders, 16 sectors per track (256 bytes per sector), 320
Kbyte capacity
double density 40 cylinders, 4 sectors per track (1024 bytes per sector), 320
Kbyte capacity
ERRORS EBUSY During opening, the partition has been opened for exclusive access and
another process wants to open the partition. Once open, this error is
returned if the floppy disk driver attempted to pass a command to the
floppy disk controller when the controller was busy handlinganother
command. In this case, the application should try the operation again.
EFAULT An invalid address was specified in an ioctl command (see fdio(7I)).
EINVAL The number of bytes read or written is not a multipleof the diskette’s
sector size. This error is also returned when an unsupported command
is specified using the FDIOCMD ioctl command (see fdio(7I)).
EIO During opening, the diskette does not have a label or there is no diskette
in the drive. Once open, this error is returned if the requested I/O
transfer could not be completed.
ENOSPC An attempt was made to write past the end of the diskette.
ENOTTY The floppy disk driver does not support the requested ioctl functions
(see fdio(7I)).
ENXIO The floppy disk device does not exist or the device is not ready.
EROFS The floppy disk device is opened for write access and the diskette in the
drive is write protected.
x86 Only ENOSYS The floppy disk device does not support the requested ioctl function
(FDEJECT).
CONFIGURATION
x86 The driver attempts to initializeitself usingCMOS configuration memory for floppy drive
size and capacity. This information in the file /platform/i86pc/kernel/drv/fd.conf needs
to be edited only if more than two floppy drives are installed, or if a 3D mode (760 KB,
1.2 MB and 1.44 MB) 3.5" floppy drive exists.
name="fd" parent="fdc" unit=0 mode_3D=0;
name="fd" parent="fdc" unit=1 mode_3D=0;
7D-112 modified 25 Aug 1995










