Bug 14565

Summary: ioctl() codes for device type `fd' (floppies) not documented
Product: Documentation Reporter: Ronald F. Guilmette <rfg>
Component: Books & ArticlesAssignee: Joerg Wunsch <joerg>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Ronald F. Guilmette 1999-10-28 01:30:01 UTC
	There _are_ some special ioctl() control codes that apply only to
	floppy disks (see /usr/include/machine/ioctl_fd.h) but these are
	not documented, e.g. in fdc(4).

	Also, of course, the man page for fdc(4) should mention:

		#include <machine/ioctl_fd.h>

	as being something that you need to do in order to get at the ioctl()
	codes for floppy drives.

Fix: 

Read the source for /usr/include/machine/ioctl_fd.h.
How-To-Repeat: 
	man 4 fdc
Comment 1 tim 2000-05-16 17:43:03 UTC
>
>   Fix
>          
>        Read the source for /usr/include/machine/ioctl_fd.h.

Can you submit documentation for these ioctls?  The manpages mdoc(7)
and mdoc.samples(7) and /usr/share/examples/mdoc/ may be useful.
Comment 2 dd freebsd_committer freebsd_triage 2001-09-03 19:09:57 UTC
Responsible Changed
From-To: freebsd-doc->joerg

Joerg has been working on the fdc driver.  Perhaps he could think about 
doing this?
Comment 3 j 2001-09-03 21:44:27 UTC
No need to submit that documentation.  A number of things will be
changed in that driver again, and once i'm ready with this, updating
the documentation is on my todo list.

Btw., the header file has been changed into <sys/fdcio.h>.
-- 
cheers, J"org                                                73 de DL8DTL

joerg_wunsch@uriah.heep.sax.de                  http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)
Comment 4 Joerg Wunsch freebsd_committer freebsd_triage 2001-12-25 21:22:19 UTC
State Changed
From-To: open->closed

With the update of fdc.4 in rev 1.30, all fdc(4) ioctls are now 
documented in the man page.