From owner-freebsd-current Tue Nov 3 06:30:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA14860 for freebsd-current-outgoing; Tue, 3 Nov 1998 06:30:27 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from zone.syracuse.net (zone.syracuse.net [205.232.47.17]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA14851 for ; Tue, 3 Nov 1998 06:30:14 -0800 (PST) (envelope-from green@zone.syracuse.net) Received: from localhost (green@localhost) by zone.syracuse.net (8.8.8/8.8.7) with ESMTP id JAA27908; Tue, 3 Nov 1998 09:29:17 -0500 (EST) Date: Tue, 3 Nov 1998 09:29:17 -0500 (EST) From: Brian Feldman To: Peter Wemm cc: John Hay , freebsd-current@FreeBSD.ORG Subject: Re: Booting Elf Kernel In-Reply-To: <199811030521.NAA21942@spinner.netplex.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG So should we take the VFS loading out of libc and add it to mount? Or should there be a wrapper function in libc, getkldbyname (char *name) and return "/modules/name.ko"? Brian Feldman On Tue, 3 Nov 1998, Peter Wemm wrote: > Brian Feldman wrote: > > Ahhhh, that's where it is! I have no good idea on how to allow, with this > > code, lkm's and kld's to coexist.... so is it time to completely phase out > > lkm's yet? > > I think the best way is to have mount(2) initiate a kldload if needed. We > will need this functionality sooner or later. If mount(2) does it, we can > garbage collect unused, unmounted filesystems after a while and unload > them. > > > Brian Feldman > > > > On Mon, 2 Nov 1998, John Hay wrote: > > > > > > Be sure to let me know when ELF kernels can autoload kld modules like the > > > > current a.out kernel does with lkm's. > > > > > > It's not the kernel that loads them. Go and look in lib/libc/gen/getvfsent. > c > > > > > > John > > > -- > > > John Hay -- John.Hay@mikom.csir.co.za > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-current" in the body of the message > > > > Cheers, > -Peter > -- > Peter Wemm Netplex Consulting > "No coffee, No workee!" :-) > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message