From owner-freebsd-questions@FreeBSD.ORG Mon Jul 14 03:48:27 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 51C0937B40A for ; Mon, 14 Jul 2003 03:48:27 -0700 (PDT) Received: from hotmail.com (law9-f5.law9.hotmail.com [64.4.9.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id B613743FB1 for ; Mon, 14 Jul 2003 03:48:26 -0700 (PDT) (envelope-from chaudharyanurag@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 14 Jul 2003 03:48:26 -0700 Received: from 202.144.62.166 by lw9fd.law9.hotmail.msn.com with HTTP; Mon, 14 Jul 2003 10:48:25 GMT X-Originating-IP: [202.144.62.166] X-Originating-Email: [chaudharyanurag@hotmail.com] From: "Anurag Chaudhary" To: simon@comsys.ntu-kpi.kiev.ua Date: Mon, 14 Jul 2003 16:18:25 +0530 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 14 Jul 2003 10:48:26.0540 (UTC) FILETIME=[74699EC0:01C349F5] cc: freebsd-questions@freebsd.org Subject: Re: parameters to a kld X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jul 2003 10:48:27 -0000 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 >To: "Anurag Chaudhary" >CC: freebsd-questions@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