From eugen@grosbein.pp.ru  Sat Jan  7 09:49:37 2006
Return-Path: <eugen@grosbein.pp.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9279316A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  7 Jan 2006 09:49:37 +0000 (GMT)
	(envelope-from eugen@grosbein.pp.ru)
Received: from grosbein.pp.ru (grgw.svzserv.kemerovo.su [213.184.64.166])
	by mx1.FreeBSD.org (Postfix) with ESMTP id BB60243D5A
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  7 Jan 2006 09:49:36 +0000 (GMT)
	(envelope-from eugen@grosbein.pp.ru)
Received: from grosbein.pp.ru (localhost [127.0.0.1])
	by grosbein.pp.ru (8.13.4/8.13.4) with ESMTP id k079EMTY001677
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 7 Jan 2006 16:14:23 +0700 (KRAT)
	(envelope-from eugen@grosbein.pp.ru)
Received: (from eugen@localhost)
	by grosbein.pp.ru (8.13.4/8.13.4/Submit) id k079EMWT001676;
	Sat, 7 Jan 2006 16:14:22 +0700 (KRAT)
	(envelope-from eugen)
Message-Id: <200601070914.k079EMWT001676@grosbein.pp.ru>
Date: Sat, 7 Jan 2006 16:14:22 +0700 (KRAT)
From: Eugene Grosbein <eugen@grosbein.pp.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] fdc(4) man page refers to non-existing device fd
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         91448
>Category:       docs
>Synopsis:       [patch] fdc(4) man page refers to non-existing device fd
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    keramida
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 07 09:50:02 GMT 2006
>Closed-Date:    Mon Oct 30 16:11:43 GMT 2006
>Last-Modified:  Mon Oct 30 16:11:43 GMT 2006
>Originator:     Eugene Grosbein
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
Svyaz-Service JSC
>Environment:
System: FreeBSD grosbein.pp.ru 6.0-RELEASE FreeBSD 6.0-RELEASE #1: Fri Jan 6 20:35:37 KRAT 2006 root@grosbein.pp.ru:/mnt/usr/local/obj6/usr/src/sys/DADV i386

>Description:
	man fdc mentions device fd in the SYNOPSIS section

>How-To-Repeat:
	Try to include 'device fd' to the kernel config file.
	make buildkernel fails:

config: Error: device "fd" is unknown

>Fix:
	Apply this patch to src/share/man/man4/fdc.4

--- fdc.4.orig	Sat Jan  7 16:11:54 2006
+++ fdc.4	Sat Jan  7 16:12:48 2006
@@ -27,7 +27,7 @@
 .\"
 .\" $FreeBSD: src/share/man/man4/fdc.4,v 1.34 2004/07/15 16:47:31 njl Exp $
 .\"
-.Dd July 15, 2004
+.Dd January 7, 2006
 .Dt FDC 4
 .Os
 .Sh NAME
@@ -35,7 +35,6 @@
 .Nd "PC architecture floppy disk controller driver"
 .Sh SYNOPSIS
 .Cd device fdc
-.Cd device fd
 .Pp
 In
 .Pa /boot/device.hints :
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: keramida 
State-Changed-When: Wed May 10 19:28:14 UTC 2006 
State-Changed-Why:  
Are you sure this is ok for RELENG_6?  My copy of the 
RELENG_6 sources includes: 

src/sys/i386/conf$ grep 'device[[:space:]]+fd' GENERIC NOTES ../../conf/NOTES 
GENERIC:device          fdc 
../../conf/NOTES:device         fddi                    #Generic FDDI 
../../conf/NOTES:device         fdc 
../../conf/NOTES:# fpa:  Support for the Digital DEFPA PCI FDDI. `device fddi' is also needed. 
src/sys/i386/conf$ 

http://www.freebsd.org/cgi/query-pr.cgi?pr=91448 

From: Eugene Grosbein <eugen@grosbein.pp.ru>
To: keramida@freebsd.org
Cc: bug-followup@freebsd.org
Subject: Re: docs/91448 : [patch] fdc(4) man page refers to non-existing device fd
Date: Thu, 11 May 2006 20:08:42 +0800

 > Are you sure this is ok for RELENG_6?  My copy of the=20
 > RELENG_6 sources includes:=20
 >
 > src/sys/i386/conf$ grep 'device[[:space:]]+fd' GENERIC NOTES ../../conf/N=
 OTES=20
 > GENERIC:device          fdc=20
 > ../../conf/NOTES:device         fddi                    #Generic FDDI=20
 > ../../conf/NOTES:device         fdc=20
 > ../../conf/NOTES:# fpa:  Support for the Digital DEFPA PCI FDDI. =04evice=
  fddi' is also needed.=20
 
 Well, there is no 'device fd' still. There is 'device fdc' only.
 And fdc(4) refers to 'device fd' that does not exists, does it?
 
 Eugene Grosbein
State-Changed-From-To: feedback->patched 
State-Changed-By: keramida 
State-Changed-When: Thu May 11 17:23:20 UTC 2006 
State-Changed-Why:  
Committed to HEAD.  I'll merge to -STABLE in a few days. 


Responsible-Changed-From-To: freebsd-doc->keramida 
Responsible-Changed-By: keramida 
Responsible-Changed-When: Thu May 11 17:23:20 UTC 2006 
Responsible-Changed-Why:  
MFC reminder. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=91448 

From: Giorgos Keramidas <keramida@freebsd.org>
To: Eugene Grosbein <eugen@grosbein.pp.ru>
Cc: bug-followup@freebsd.org
Subject: Re: docs/91448 : [patch] fdc(4) man page refers to non-existing device fd
Date: Thu, 11 May 2006 20:25:33 +0300

 On 2006-05-11 20:08, Eugene Grosbein <eugen@grosbein.pp.ru> wrote:
 >> Are you sure this is ok for RELENG_6?  My copy of the
 >> RELENG_6 sources includes:
 >>
 >> src/sys/i386/conf$ grep 'device[[:space:]]+fd' GENERIC NOTES ../../conf/=
 NOTES
 >> GENERIC:device          fdc
 >> ../../conf/NOTES:device         fddi                    #Generic FDDI
 >> ../../conf/NOTES:device         fdc
 >> ../../conf/NOTES:# fpa:  Support for the Digital DEFPA PCI FDDI. =04evic=
 e fddi' is also needed.
 >
 > Well, there is no 'device fd' still. There is 'device fdc' only.
 > And fdc(4) refers to 'device fd' that does not exists, does it?
 
 Ah, yes, thanks.  I misunderstood you at first.  The 'device fd' line
 was removed years ago from the GENERIC kernel configuration, as part
 of the transition from statically allocated device numbers to device
 hints.  I'll commit the patch :)
 
State-Changed-From-To: patched->closed 
State-Changed-By: keramida 
State-Changed-When: Mon Oct 30 16:11:05 UTC 2006 
State-Changed-Why:  
Merged to RELENG_6 after approval from the release engineers. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=91448 
>Unformatted:
