floppy 881 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. .TH FLOPPY 3
  2. .SH NAME
  3. floppy \- floppy disk 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. .PP
  18. The floppy disk interface serves a one-level directory giving access to up
  19. to four floppy disk drives.
  20. Each drive is represented by a data and control file.
  21. There are no partitions.
  22. .PP
  23. Messages accepted by the
  24. .B ctl
  25. file include:
  26. .TF format
  27. .TP
  28. .B eject
  29. Eject the floppy, if possible.
  30. .TP
  31. .B reset
  32. Reset the drive.
  33. .TP
  34. .BI format " type
  35. Format the floppy. The
  36. .I type
  37. sets the density and
  38. type of disk to be formatted; see
  39. .B format
  40. in
  41. .IR prep (8).
  42. .PD
  43. .PP
  44. A read of the
  45. .B ctl
  46. file returns a string describing the form factor of the disk, one of
  47. .BR 3½DD ,
  48. .BR 3½HD ,
  49. .BR 5¼DD ,
  50. or
  51. .BR 5¼HD .
  52. .SH SOURCE
  53. .B /sys/src/9/*/devfloppy.c