man ugen error
Hans Petter Selasky
hselasky at c2i.net
Mon Mar 5 17:57:10 UTC 2012
On Monday 05 March 2012 12:07:44 Maxim Konovalov wrote:
> On Fri, 2 Dec 2011, 11:07-0000, Thomas Mueller wrote:
> > > in FreeBSD 10-current.
> > >
> > > It should be removed and added to old files. Could you make a patch for
> > > that?
> > >
> > > --HPS
> >
> > I found /usr/share/man/man4/ugen.4.gz in FreeBSD 9.0-RC2.
> > What needs to be patched? What file, where?
> > Might it be /usr/src/ObsoleteFiles.inc ?
> > I have extremely limited experience applying patches, no experience
> > writing a patch. Where do I learn what and how to do? I might need to
> > see some examples to get me started.
>
> Something like that should work:
>
> Index: ObsoleteFiles.inc
> ===================================================================
> --- ObsoleteFiles.inc (revision 231431)
> +++ ObsoleteFiles.inc (working copy)
> @@ -38,6 +38,8 @@
> # xargs -n1 | sort | uniq -d;
> # done
>
> +# 20120305: ugen(4) is now part of usb(4)
> +OLD_FILES+=usr/share/man/man4/ugen.4.gz
> # 20120113: removal of wtmpcvt(1)
> OLD_FILES+=usr/bin/wtmpcvt
> OLD_FILES+=usr/share/man/man1/wtmpcvt.1.gz
> Index: share/man/man4/ng_ubt.4
> ===================================================================
> --- share/man/man4/ng_ubt.4 (revision 231431)
> +++ share/man/man4/ng_ubt.4 (working copy)
> @@ -107,7 +107,6 @@
> This node shuts down when the corresponding USB device is un-plugged.
> .Sh SEE ALSO
> .Xr netgraph 4 ,
> -.Xr ugen 4 ,
> .Xr usb 4 ,
> .Xr ngctl 8
> .Sh HISTORY
> Index: share/man/man4/ubtbcmfw.4
> ===================================================================
> --- share/man/man4/ubtbcmfw.4 (revision 231431)
> +++ share/man/man4/ubtbcmfw.4 (working copy)
> @@ -93,7 +93,6 @@
> .El
> .Sh SEE ALSO
> .Xr ng_ubt 4 ,
> -.Xr ugen 4 ,
> .Xr usb 4 ,
> .Xr bcmfw 8
> .Sh HISTORY
> Index: share/man/man4/Makefile
> ===================================================================
> --- share/man/man4/Makefile (revision 231431)
> +++ share/man/man4/Makefile (working copy)
> @@ -477,7 +477,6 @@
> ufm.4 \
> ufoma.4 \
> uftdi.4 \
> - ugen.4 \
> uhci.4 \
> uhid.4 \
> uhso.4 \
> Index: share/man/man9/DEVICE_PROBE.9
> ===================================================================
> --- share/man/man9/DEVICE_PROBE.9 (revision 231431)
> +++ share/man/man9/DEVICE_PROBE.9 (working copy)
> @@ -119,9 +119,6 @@
> treatment for some reason.
> .It BUS_PROBE_HOOVER
> The driver matches all unclaimed devices on a bus.
> -The
> -.Xr ugen 4
> -device is one example.
> .It BUS_PROBE_NOWILDCARD
> The driver expects its parent to tell it which children to manage
> and no probing is really done.
> Index: usr.sbin/bluetooth/bcmfw/bcmfw.8
> ===================================================================
> --- usr.sbin/bluetooth/bcmfw/bcmfw.8 (revision 231431)
> +++ usr.sbin/bluetooth/bcmfw/bcmfw.8 (working copy)
> @@ -96,8 +96,7 @@
> .Pp
> .Dl "bcmfw -n ubtbcmfw0 -m BCM2033-MD.hex -f BCM2033-FW.bin"
> .Sh SEE ALSO
> -.Xr ubtbcmfw 4 ,
> -.Xr ugen 4
> +.Xr ubtbcmfw 4
> .Sh AUTHORS
> .An Maksim Yevmenkin Aq m_evmenkin at yahoo.com
> .Sh BUGS
> %%%
>
> I'm not sure about the date of ugen.4 removal, so I put the current
> date.
>
> Also, there are some references to ugen.4 in the following man pages:
>
> ./usr.sbin/bluetooth/ath3kfw/ath3kfw.8
> ./usr.sbin/uathload/uathload.8
>
> Not sure how to deal with them.
/dev/ugen is still there, but ugen as a separate and configurable kernel
device was removed in FreeBSD-8.
--HPS
More information about the freebsd-current
mailing list