Date: Wed, 17 May 2006 11:42:28 -0300 From: "Ricardo A. Reis" <ricardo_bsd@yahoo.com.br> To: "Tarasov Alexey" <lexa@wincmd.ru>, "freebsd-stable@freebsd.org current@freebsd.org." <freebsd-stable@freebsd.org>, freebsd-hackers@freebsd.org Subject: Re: Fwd: kldfind Message-ID: <op.s9o9s2ofp1tyz6@localhost> In-Reply-To: <446ABF8A.9050206@wincmd.ru> References: <op.s9nofuojp1tyz6@localhost> <op.s9nxcrv0p1tyz6@localhost> <446ABF8A.9050206@wincmd.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
> Hello Ricardo! > > I think it will be better if your utility displays short description for > each kld module (from man page for example). Hi Alexey, Thanks for all feedback's, i update kldfind for v53 in http://ricardo.epm.br/freebsd/script/kldfind/kldfind-v053, i short description is very util, i will work in integrated kldfind with section name in respective manual, for next version. changelog, v0.52: Replace exit codes and change case per ( getopts + case) v0.53: Add new option (quiet and verbose) default output is short version. Short output (default) ./kldfind-v053 -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 /boot/modules/acpi_asus.ko ./kldfind-v053 -vc acpi (verbose output) >> Search finish, 7 resultes for /boot/kernel acpi_asus acpi_fujitsu acpi_ibm acpi_panasonic acpi_sony acpi_toshiba acpi_video >> Search finish, 1 resultes for /boot/modules acpi_asus >> Search finish, 0 resultes for /usr/local/modules Quiet output, return 1 or 0 if ./kldfind-v053 -qc acpi; then echo YES;else echo NO;fi YES if ./kldfind-v053 -qc aaaaaacpi; then echo YES;else echo NO;fi NO Thanks, any comments is very util. > > Ricardo A. Reis wrote: >> >> ------- Forwarded message ------- >> From: "Ricardo A. Reis" <ricardo_bsd@yahoo.com.br> >> To: "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org> >> Cc: >> Subject: kldfind >> Date: Tue, 16 May 2006 15:03:20 -0300 >> >> >> Hi all, >> >> >> I writed one script for find freebsd kernel modules, >> >> >> [ricardo@myfreebsd:~/kldfind] # ./kldfind >> usage: kldfind [-chs] string >> >> [ricardo@myfreebsd:~/kldfind] # ./kldfind -h >> Options: >> -c -- find all matchs for category >> -s -- string match >> >> [ricardo@myfreebsd:~/kldfind] # ./kldfind -c acpi >>>> Searching ... >> >>>> Resultes for /boot/kernel >> >> acpi_asus >> acpi_fujitsu >> acpi_ibm >> acpi_panasonic >> acpi_sony >> acpi_toshiba >> acpi_video >> acpi_dock >> >> [ricardo@myfreebsd:~/kldfind] # ./kldfind -s vlan >>>> Searching ... >> >>>> Resultes for /boot/kernel >> >> if_vlan >> ng_vlan >> >> Any feedback is very util, >> >> >> http://ricardo.epm.br/freebsd/script/ >> >> Ricardo A. Reis >> UNIFESP >> Unix and Network Admin >> >> >> _______________________________________________________ >> Abra sua conta no Yahoo! Mail: 1GB de espac,o, alertas de e-mail no >> celular e anti-spam realmente eficaz. >> http://br.info.mail.yahoo.com/ >> _______________________________________________ >> freebsd-stable@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-stable >> To unsubscribe, send any mail to >> "freebsd-stable-unsubscribe@freebsd.org" >> >> >> >> --Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ >> >> >> _______________________________________________________Novo Yahoo! >> Messenger com voz: Instale agora e fac,a ligac,o~es de >> grac,a.http://br.messenger.yahoo.com/ >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to >> "freebsd-current-unsubscribe@freebsd.org" >> >> >> > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org" -- Atenciosamente Ricardo A. Reis UNIFESP Unix and Network Adm
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.s9o9s2ofp1tyz6>