From owner-freebsd-current@FreeBSD.ORG Fri Apr 6 18:08:56 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 78AB116A403; Fri, 6 Apr 2007 18:08:56 +0000 (UTC) (envelope-from nork@FreeBSD.org) Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [219.127.74.120]) by mx1.freebsd.org (Postfix) with ESMTP id F282C13C487; Fri, 6 Apr 2007 18:08:55 +0000 (UTC) (envelope-from nork@FreeBSD.org) Received: from mail.ninth-nine.com ([IPv6:2001:3e0:4cf:1:d2:ff:fe23:1b4]) (authenticated bits=0) by sakura.ninth-nine.com (8.13.8/8.13.8/NinthNine) with ESMTP id l36I8sTj051671 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 7 Apr 2007 03:08:54 +0900 (JST) (envelope-from nork@FreeBSD.org) Date: Sat, 7 Apr 2007 03:08:54 +0900 From: Norikatsu Shigemura To: Roman Divacky Message-Id: <20070407030854.3aa6f9a7.nork@FreeBSD.org> In-Reply-To: <20070406174305.GA90217@freebsd.org> References: <20070407023855.ede13b76.nork@FreeBSD.org> <20070406174305.GA90217@freebsd.org> X-Mailer: Sylpheed 2.4.0beta7 (GTK+ 2.10.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (sakura.ninth-nine.com [IPv6:2001:3e0:4cf:0:230:48ff:fe41:2455]); Sat, 07 Apr 2007 03:08:54 +0900 (JST) Cc: freebsd-current@FreeBSD.org, Norikatsu Shigemura Subject: Re: Cannot mount linprocfs by unresolving sysvs?m symbols X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2007 18:08:56 -0000 On Fri, 6 Apr 2007 19:43:05 +0200 Roman Divacky wrote: > > --- linprocfs.c 30 Mar 2007 17:56:44 -0000 1.108 > > +++ linprocfs.c 6 Apr 2007 17:33:05 -0000 > > @@ -1238,3 +1238,5 @@ > > PSEUDOFS(linprocfs, 1); > > MODULE_DEPEND(linprocfs, linux, 1, 1, 1); > > MODULE_DEPEND(linprocfs, procfs, 1, 1, 1); > > +MODULE_DEPEND(linprocfs, sysvmsg, 1, 1, 1); > > +MODULE_DEPEND(linprocfs, sysvsem, 1, 1, 1); > I dont like this, I would prefer some dynamic determining > whether sysv symbols are present and if not just fill > in "safe" values. > is there a way to do this nicely? safe values? Ah, that's solution is not good. When linprocfs is loaded, if sysvmsg or sysvsem module is not(or not loaded), these modules should be loaded. And you know well thus modules like snd_*.