Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ fd(7) — A/UX 0.7

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cpio(1)

eject(1)

tar(1)

diskformat(1M)

mkfs(1M)

mount(1M)

umount(1M)

ioctl(2)



     fd(7)                                                       fd(7)



     NAME
          fd - floppy disk drive interface

     DESCRIPTION
          The fd device driver provides an interface to 3.5 inch
          micro-diskette drives. These drives support a single-sided
          format, providing 400K bytes of storage or a double-sided
          format, providing 800K bytes of storage.  The storage format
          is associated with individual diskettes when they are
          formatted.  There is no partitioning on the device.  Slice
          zero, and slice seven of the device each correspond to the
          entire diskette.  All other slices are zero length.

          The driver accepts the following ioctls:

          ioctl(fd, UIOCFORMAT, fmt)
               Format the diskette.  The file descriptor should be the
               character special file corresponding to the diskette
               (i.e. /dev/rdsk/c8d?s0).  The third parameter to the
               ioctl function call contains the address of a
               diskformat structure (defined in
               /usr/include/sys/diskformat.h).  The dlheads field of
               this structure determines the sides to be formatted.
               If it is set to default or set to 1, the disk is
               formatted two-sided, otherwise it is formatted one-
               sided.  All other fields of the diskformat structure
               are ignored.

          ioctl(fd, ALEJECT, 0)
               Eject the diskette. The file descriptor corresponds to
               the character special diskette file.  It may be
               appropriate to unmount a file system before ejecting
               the diskette.

     FILES
          /dev/dsk/c8d[01]s[07]
          /dev/rdsk/c8d[01]s[07]

     SEE ALSO
          cpio(1), eject(1), tar(1), diskformat(1M), mkfs(1M),
          mount(1M), umount(1M), ioctl(2).














     Page 1                                        (last mod. 1/15/87)



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