From owner-freebsd-questions@FreeBSD.ORG Mon Jun 15 15:13:58 2015 Return-Path: Delivered-To: freebsd-questions@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8D4FA715 for ; Mon, 15 Jun 2015 15:13:58 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4E9FD1D7 for ; Mon, 15 Jun 2015 15:13:58 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-111-193.dynamic.qsc.de [92.195.111.193]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id E56553CDA7; Mon, 15 Jun 2015 17:06:58 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t5FF6vse002225; Mon, 15 Jun 2015 17:06:58 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 15 Jun 2015 17:06:57 +0200 From: Polytropon To: freebsd-questions@freebsd.org Cc: Lowell Gilbert Subject: Re: reload kernel without reboot? Message-Id: <20150615170657.8106edd0.freebsd@edvax.de> In-Reply-To: <44wpz56pxr.fsf@lowell-desk.lan> References: <20150614182418.56857acc.freebsd@edvax.de> <44wpz56pxr.fsf@lowell-desk.lan> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jun 2015 15:13:58 -0000 On Mon, 15 Jun 2015 09:50:40 -0400, Lowell Gilbert wrote: > A standard kernel comes with many hundreds of kernel modules. We don't > know what you're working on specifically, but the building and loading > and unloading of modules is not tricky. If I remember correctly, there's even some example code of how to create a kernel module somewhere in the source tree. It should be a good starting point for moving the "moving parts" into a kernel module that can be dealt with using kldload and kldunload. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...