From owner-freebsd-small Tue Apr 24 8:13:19 2001 Delivered-To: freebsd-small@freebsd.org Received: from rgmail.regenstrief.org (rgmail.regenstrief.org [134.68.31.197]) by hub.freebsd.org (Postfix) with ESMTP id B578C37B423 for ; Tue, 24 Apr 2001 08:13:14 -0700 (PDT) (envelope-from gunther@aurora.regenstrief.org) Received: from aurora.regenstrief.org (rgnout.regenstrief.org [134.68.31.38]) by rgmail.regenstrief.org (8.11.0/8.8.7) with ESMTP id f3OFDZA16702 for ; Tue, 24 Apr 2001 10:13:36 -0500 Message-ID: <3AE59808.E1CC8B49@aurora.regenstrief.org> Date: Tue, 24 Apr 2001 15:13:12 +0000 From: Gunther Schadow Organization: Regenstrief Institute for Health Care X-Mailer: Mozilla 4.75 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-small@freebsd.org Subject: PicoBSD's kernel, /dev/kmem, and the kernfs Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, trying to use the ipfilter suite with PicoBSD poses problems. Ipfstat uses /kernel and /dev/kmem to read the filter statistics and this seems not available on PicoBSD. Sure this is because the PicoBSD kernel is without any symbols and is gzipped, and is not even in the root file system. There are all good reasons why this is so (even if PicoBSD is used from a flash ROM instead of a floppy.) But could one not make kernel and kmem available anyway using the kernfs virtual file system? I could imagine that we need not absolutely strip the kernel from its symbol table. We could still gzip the kernel. Given that the kernel is loaded into physical memory, could it not be accessible from there to the kernfs virtual file system? Or mapped into the mfs root file system? How hard would it be? There are a number of system tools that use kernel and kmem, moving all of them to something like sps and vm etc. would be a lot of repetitive work, there should be a more fundamental solution... Any thoughts? -Gunther -- Gunther Schadow, M.D., Ph.D. gschadow@regenstrief.org Medical Information Scientist Regenstrief Institute for Health Care Adjunct Assistent Professor Indiana University School of Medicine tel:1(317)630-7960 http://aurora.regenstrief.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message