Meu primeiro ports ( sysutils/kldfind )
Alguns meses atras escrevi um ports chamado kldfind, que facilita
a busca por KLD no sistema.
[ricardo@ricardo(2:41pm)] /usr/ports/sysutils/kldfind> make install
[ricardo@ricardo(2:41pm)] /usr/ports/sysutils/kldfind> rehash
[ricardo@ricardo(2:43pm)] /usr/ports/sysutils/kldfind> kldfind
usage: kldfind [-qv] -c category ...
kldfind [-qv] -s string ...
kldfind -h
[ricardo@ricardo(2:43pm)] /usr/ports/sysutils/kldfind> kldfind -h
kldfind Version 0.59
Options:
-c -- find all matchs for category
-s -- string match
-v -- verbose
-q -- quiet
[ricardo@ricardo(2:45pm)] /usr/ports/sysutils/kldfind> kldfind -s star
/boot/kernel/star_saver.ko
[ricardo@ricardo(2:43pm)] /usr/ports/sysutils/kldfind> kldfind -c acpi
/boot/kernel/acpi_asus.ko
/boot/kernel/acpi_fujitsu.ko
/boot/kernel/acpi_ibm.ko
/boot/kernel/acpi_panasonic.ko
/boot/kernel/acpi_sony.ko
/boot/kernel/acpi_toshiba.ko
/boot/kernel/acpi_video.ko
[ricardo@ricardo(2:46pm)] /usr/ports/sysutils/kldfind> kldfind -vc acpi
====> Search finish, 7 resultes for /boot/kernel
KLD Description
--- -----------
===> acpi_asus, --- Asus Laptop Extras
===> acpi_fujitsu, --- Fujitsu Laptop Extras
===> acpi_ibm, --- ACPI extras driver for IBM laptops
===> acpi_panasonic, --- ACPI hotkey driver for Panasonic laptops mdoc ...
===> acpi_sony, --- ACPI notebook controller driver for Sony laptops
===> acpi_toshiba, --- Toshiba HCI interface
===> acpi_video, --- ACPI Video Extensions driver
[ricardo@ricardo(2:49pm)] /usr/ports/sysutils/kldfind> sh -c 'if kldfind -qc security ; then echo EXISTE ; else echo "NAO EXISTE" ; fi'
NAO EXISTE
Claro que esse software é beta !!
a busca por KLD no sistema.
[ricardo@ricardo(2:41pm)] /usr/ports/sysutils/kldfind> make install
[ricardo@ricardo(2:41pm)] /usr/ports/sysutils/kldfind> rehash
[ricardo@ricardo(2:43pm)] /usr/ports/sysutils/kldfind> kldfind
usage: kldfind [-qv] -c category ...
kldfind [-qv] -s string ...
kldfind -h
[ricardo@ricardo(2:43pm)] /usr/ports/sysutils/kldfind> kldfind -h
kldfind Version 0.59
Options:
-c -- find all matchs for category
-s -- string match
-v -- verbose
-q -- quiet
[ricardo@ricardo(2:45pm)] /usr/ports/sysutils/kldfind> kldfind -s star
/boot/kernel/star_saver.ko
[ricardo@ricardo(2:43pm)] /usr/ports/sysutils/kldfind> kldfind -c acpi
/boot/kernel/acpi_asus.ko
/boot/kernel/acpi_fujitsu.ko
/boot/kernel/acpi_ibm.ko
/boot/kernel/acpi_panasonic.ko
/boot/kernel/acpi_sony.ko
/boot/kernel/acpi_toshiba.ko
/boot/kernel/acpi_video.ko
[ricardo@ricardo(2:46pm)] /usr/ports/sysutils/kldfind> kldfind -vc acpi
====> Search finish, 7 resultes for /boot/kernel
KLD Description
--- -----------
===> acpi_asus, --- Asus Laptop Extras
===> acpi_fujitsu, --- Fujitsu Laptop Extras
===> acpi_ibm, --- ACPI extras driver for IBM laptops
===> acpi_panasonic, --- ACPI hotkey driver for Panasonic laptops mdoc ...
===> acpi_sony, --- ACPI notebook controller driver for Sony laptops
===> acpi_toshiba, --- Toshiba HCI interface
===> acpi_video, --- ACPI Video Extensions driver
[ricardo@ricardo(2:49pm)] /usr/ports/sysutils/kldfind> sh -c 'if kldfind -qc security ; then echo EXISTE ; else echo "NAO EXISTE" ; fi'
NAO EXISTE
Claro que esse software é beta !!
<< Página inicial