From owner-freebsd-questions@FreeBSD.ORG Wed Feb 8 18:35:06 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 029EC16A420 for ; Wed, 8 Feb 2006 18:35:06 +0000 (GMT) (envelope-from freebsd@sopwith.solgatos.com) Received: from schitzo.solgatos.com (c-67-168-241-176.hsd1.or.comcast.net [67.168.241.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FFD743D45 for ; Wed, 8 Feb 2006 18:35:05 +0000 (GMT) (envelope-from freebsd@sopwith.solgatos.com) Received: from schitzo.solgatos.com (localhost.home.localnet [127.0.0.1]) by schitzo.solgatos.com (8.13.4/8.13.4) with ESMTP id k18IYuF6030155; Wed, 8 Feb 2006 10:34:57 -0800 Received: from sopwith.solgatos.com (uucp@localhost) by schitzo.solgatos.com (8.13.4/8.13.4/Submit) with UUCP id k18IYuKx030152; Wed, 8 Feb 2006 10:34:56 -0800 Received: from localhost by sopwith.solgatos.com (8.8.8/6.24) id SAA13412; Wed, 8 Feb 2006 18:29:28 GMT Message-Id: <200602081829.SAA13412@sopwith.solgatos.com> To: cpghost In-reply-to: Your message of "Wed, 08 Feb 2006 07:54:05 +0100." <20060208065405.GA11496@epia2.farid-hajji.net> Date: Wed, 08 Feb 2006 10:29:28 +0000 From: Dieter Cc: freebsd-questions@freebsd.org Subject: Re: [WISH] Linux kernel as drop-in replacement in FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2006 18:35:06 -0000 > > > since Linux' support for some hardware is better than FreeBSD's, > > > it would be nice to have an *optional* way of running a FreeBSD > > > system (userland, including all third party programs) on top > > > of the Linux kernel. > > > > I'd prefer to have a way to use a Linux device driver with a > > BSD kernel. > > Of course, but if I understand drivers correctly, that would be > nearly impossible... unless the interface between linux device > drivers and the rest of the linux kernel consisted of a well > defined API (perhaps it does, I don't know). Basically, a driver > can access ANY data structure of the kernel, and that's why it's > not trivial to combine a Linux driver with the FreeBSD kernel. If the driver is loaded with "modprobe", wouldn't that have a well defined API?