Date: Tue, 24 Apr 2001 15:13:12 +0000 From: Gunther Schadow <gunther@aurora.regenstrief.org> To: freebsd-small@freebsd.org Subject: PicoBSD's kernel, /dev/kmem, and the kernfs Message-ID: <3AE59808.E1CC8B49@aurora.regenstrief.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AE59808.E1CC8B49>