From owner-cvs-all Sun Jul 14 9:38:39 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4311E37B401; Sun, 14 Jul 2002 09:38:35 -0700 (PDT) Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE0F543E42; Sun, 14 Jul 2002 09:38:34 -0700 (PDT) (envelope-from rizzo@iguana.icir.org) Received: (from rizzo@localhost) by iguana.icir.org (8.11.6/8.11.3) id g6EGcYY77334; Sun, 14 Jul 2002 09:38:34 -0700 (PDT) (envelope-from rizzo) Date: Sun, 14 Jul 2002 09:38:34 -0700 From: Luigi Rizzo To: Mark Peek Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/release/picobsd/build write_mfs_in_kernel.c Message-ID: <20020714093834.E74633@iguana.icir.org> References: <200207141209.g6EC9XBL099971@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from mp@FreeBSD.org on Sun, Jul 14, 2002 at 09:22:12AM -0700 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG i guess that those in need (assuming they exist) will find out and complain and possibly we will move this code to a more appropriate place. Where, i just have no idea. In any case the dd hack is as much of a hack as the one in write_mfs_in_kernel.c, and it is not bad at all: set `strings -at d kernel | grep "MFS Filesystem goes here"` mfs_ofs=$(($1 + 8192)) dd if=${c_fs} ibs=8192 iseek=1 of=kernel obs=${mfs_ofs} \ oseek=1 conv=notrunc cheers luigi On Sun, Jul 14, 2002 at 09:22:12AM -0700, Mark Peek wrote: ... > Is there a replacement way to embed a memory filesystem into the > kernel? (Besides the dd hack that picobsd is using). Are consumers of > this, like the PowerPC porting effort, still needing this > functionality? Will future ports want this? I don't believe it should > be totally removed from the system. Hooking it into usr.sbin would be > more appropriate. I'm hesitant to move it to tools or ports due to > fears of bitrot. > > Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message