From owner-freebsd-current@FreeBSD.ORG Fri Apr 6 17:43:10 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 4FDEA16A404 for ; Fri, 6 Apr 2007 17:43:10 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id 00D6213C448 for ; Fri, 6 Apr 2007 17:43:09 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 8FC6D8BCF4A; Fri, 6 Apr 2007 19:43:08 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jih+9fC7WPxA; Fri, 6 Apr 2007 19:43:06 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 15F438BCEEC; Fri, 6 Apr 2007 19:43:06 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id l36Hh5YE090275; Fri, 6 Apr 2007 19:43:05 +0200 (CEST) (envelope-from rdivacky) Date: Fri, 6 Apr 2007 19:43:05 +0200 From: Roman Divacky To: Norikatsu Shigemura Message-ID: <20070406174305.GA90217@freebsd.org> References: <20070407023855.ede13b76.nork@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070407023855.ede13b76.nork@FreeBSD.org> User-Agent: Mutt/1.4.2.2i Cc: freebsd-current@FreeBSD.org 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 17:43:10 -0000 > Index: linprocfs.c > =================================================================== > RCS file: /home/ncvs/src/sys/compat/linprocfs/linprocfs.c,v > retrieving revision 1.108 > diff -u -r1.108 linprocfs.c > --- 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?