1
0

floppy 962 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. .TH FLOPPY 3
  2. .SH NAME
  3. floppy \- floppy diskette interface
  4. .SH SYNOPSIS
  5. .nf
  6. .B bind -a #f /dev
  7. .B /dev/fd0disk
  8. .B /dev/fd0ctl
  9. .B /dev/fd1disk
  10. .B /dev/fd1ctl
  11. .B /dev/fd2disk
  12. .B /dev/fd2ctl
  13. .B /dev/fd3disk
  14. .B /dev/fd3ctl
  15. .fi
  16. .SH DESCRIPTION
  17. The floppy diskette interface serves a one-level directory giving access to up
  18. to four floppy diskette drives.
  19. Each drive is represented by a data and control file.
  20. There are no partitions.
  21. .PP
  22. Messages accepted by the
  23. .B ctl
  24. file include:
  25. .TF format
  26. .TP
  27. .B eject
  28. Eject the floppy, if possible.
  29. .TP
  30. .B reset
  31. Reset the drive.
  32. .TP
  33. .BI format " type
  34. Format the floppy. The
  35. .I type
  36. sets the density and
  37. type of diskette to be formatted; see
  38. .B format
  39. in
  40. .IR prep (8).
  41. .PD
  42. .PP
  43. A read of the
  44. .B ctl
  45. file returns a string describing the form factor of the diskette, one of
  46. .BR 3½DD ,
  47. .BR 3½HD ,
  48. .BR 5¼DD ,
  49. or
  50. .BR 5¼HD .
  51. .SH SOURCE
  52. .B /sys/src/9/pc/devfloppy.c
  53. .SH BUGS
  54. Floppies are tiny, unreliable and eventually wear out.