parameters to a kld

Anurag Chaudhary chaudharyanurag at hotmail.com
Mon Jul 14 03:48:27 PDT 2003


hi

thanx for that procfs stuff. I have mounted procfs now.
I dont think you can create your own sysctl variable. If its possible, 
please tell me how.
It allows you to only set or get values of existing variables

thanx
Chaudhary Anurag


>From: Andrey Simonenko <simon at comsys.ntu-kpi.kiev.ua>
>To: "Anurag Chaudhary" <chaudharyanurag at hotmail.com>
>CC: freebsd-questions at freebsd.org
>Subject: Re: parameters to a kld
>Date: Mon, 14 Jul 2003 13:14:56 +0300 (EEST)
>
>On Mon, 14 Jul 2003 09:01:46 +0000 (UTC) in lucky.freebsd.questions, Anurag 
>Chaudhary wrote:
> >
> > How can I pass load time parameters to a kld.
>
>Not sure that it is possible, at least kldload(2) doesn't accept
>any arguments, except kld file path.  Probably sysctl variables
>can help.
>
> > Also my /proc directory is empty.Why is it so?
>
>Is procfs(5) mounted to /proc directory?  Checkout output of the
>mount command and content of the /etc/fstab file.
>
> > If I have to see the address of a pci port or say parallel port, how can 
>I
> > do so?
>
>dmesg(8) usually helps (also see /var/log/messages).

_________________________________________________________________
It's new, it's here! It's full of fun! 
http://server1.msn.co.in/sp03/messengerpromo/index.asp MSN Messenger V6.0



More information about the freebsd-questions mailing list