|
|
1.1 ! root 1: This example is actually the source for /usr/etc/fdform, the NeXT Floppy Disk Format utility. This formats a floppy disk at any specified density using the fd driver. Command line options are as described in the fdform man page. ! 2: ! 3: This example illustrates how to do the following: ! 4: ! 5: -- Inquire the fd driver as to the type of media present. ! 6: -- Give the driver new format parameters. ! 7: -- Generate commands, such as Recalibrate, Format Track, and Seek, and ! 8: send them to the Intel 82077 controller chip via the FDIOCREQ ioctl. ! 9: -- Read the disk, one track at a time, using the FDIOCRRW ioctl. ! 10: ! 11: Refer to the man page for fd(4) for specific information on using the floppy disk driver. ! 12:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.