The kldpatch utility can print or alter the content of device/quirk tables

in kernel modules. These tables are generally used to identify devices,
and possibly apply specific quirks to enable/disable certain features.

Kldpatch is especially useful to let the kernel recognise a new device
without rebooting and rebuilding/reinstalling kernel or modules.

WWW: http://info.iet.unipi.it/~luigi/FreeBSD/

Note - this may be worth importing in the base system, however we still
need it as a port for older OS releases.
This commit is contained in:
Luigi Rizzo 2009-01-12 22:56:28 +00:00
parent 3395329ee5
commit be8ff57cd2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=225891
4 changed files with 39 additions and 0 deletions

View file

@ -367,6 +367,7 @@
SUBDIR += kkeyled
SUBDIR += klaptopdaemon
SUBDIR += kldfind
SUBDIR += kldpatch
SUBDIR += kleansweep
SUBDIR += klineakconfig
SUBDIR += kmilo

View file

@ -0,0 +1,27 @@
# New ports collection makefile for: kldpatch
# Date created: 9 January 2009
# Whom: luigi@freebsd.org
#
# $FreeBSD$
#
PORTNAME= kldpatch
PORTVERSION= 20090112
CATEGORIES= sysutils
MASTER_SITES= http://info.iet.unipi.it/~luigi/FreeBSD/
DISTNAME= ${PORTVERSION}-${PORTNAME}
EXTRACT_SUFX= .tgz
MAINTAINER= luigi@FreeBSD.org
COMMENT= Utility to patch modules and kernel
MAN8= kldpatch.8
PLIST_FILES= sbin/kldpatch
WRKSRC=${WRKDIR}/${PORTNAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/${MAN8} ${PREFIX}/man/man8
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
MD5 (20090112-kldpatch.tgz) = 1ed1f74d15a7ecac3c1e944754db94ca
SHA256 (20090112-kldpatch.tgz) = 1ff5f94b066e67bc81b0a2eeb91aaef8b0a5aa52a8c899a89281df12d361b1ef
SIZE (20090112-kldpatch.tgz) = 17248

View file

@ -0,0 +1,8 @@
The kldpatch utility can print or alter the content of device/quirk tables
in kernel modules. These tables are generally used to identify devices,
and possibly apply specific quirks to enable/disable certain features.
Kldpatch is especially useful to let the kernel recognise a new device
without rebooting and rebuilding/reinstalling kernel or modules.
WWW: http://info.iet.unipi.it/~luigi/FreeBSD/