Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ fd(4S) — SunOS 4.0.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

dkio(4S)

FD(4S)  —  DEVICES AND NETWORK INTERFACES

NAME

fd − Disk driver for Floppy Disk Controllers

CONFIG — Sun386i SYSTEMS

controller fdc0 at atmem ? csr 0x1000 dmachan 2 irq 6 priority 2
disk fd0 at fdc0 drive 0 flags 0

CONFIG — SUN-3x SYSTEMS

controller fdc0 at obio ? csr 0x6e000000 priority 6 vector fdintr 0x5c

This synopsis should be used to generate a kernel for a Sun-3/80 system only. 

AVAILABILITY

Sun386i and Sun-3/80 systems only. 

DESCRIPTION

The block-files access the disk using the system’s normal buffering mechanism and may be read and written without regard to physical disk records.  There is also a ‘raw’ interface that provides for direct transmission between the disk and the user’s read or write buffer.  A single read or write call usually results in one I/O operation; therefore raw I/O is considerably more efficient when many words are transmitted.  The names of the raw files conventionally begin with an extra ‘r.’

Disk Support

The fd0 partition on a floppy disk is normally used for the file system. 

FILES

1.44 MB Floppy Disk Drives:

/dev/fd0a block file

/dev/fd0c block file /dev/rfd0a raw file /dev/rfd0c raw file

720 K Floppy Disk Drives:

/dev/fdl0a block file

/dev/fdl0c block file

/dev/rfdl0a raw file

/dev/rfdl0c raw file

SEE ALSO

dkio(4S)

DIAGNOSTICS

fd drv %d, trk %d: %s
A command such as read or write encountered a format-related  error condition. The value of %s is derived from the error number given by the controller, indicating the nature of the error.  The track number is relative to the beginning of the partition involved. 

fd drv %d, blk %d: %s
A command such as read or write encountered an error condition related to I/O.  The value of %s is derived from the error number returned by the controller and indicates the nature of the error.  The block number is relative to the start of the partition involved. 

fd controller: %s
An error occurred in the controller. The value of %s is derived from the status returned by the controller and specifies the error encountered. 

fd(%d):%s please insert
I/O was attempted while the floppy drive door was not latched. The value of %s indicates which disk was expected to be in the drive. 

Sun Release 4.0  —  Last change: 25 March 1989

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026