From owner-freebsd-small Sun Jun 30 8:34:23 2002 Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A8DEB37B405 for ; Sun, 30 Jun 2002 08:34:17 -0700 (PDT) Received: from mail.cruzio.com (dsl3-63-249-66-210.cruzio.com [63.249.66.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 245E643E09 for ; Sun, 30 Jun 2002 08:34:17 -0700 (PDT) (envelope-from brucem@mail.cruzio.com) Received: (from brucem@localhost) by mail.cruzio.com (8.11.3/8.11.3) id g5UFn9400581; Sun, 30 Jun 2002 08:49:09 -0700 (PDT) (envelope-from brucem) Date: Sun, 30 Jun 2002 08:49:09 -0700 (PDT) From: "Bruce R. Montague" Message-Id: <200206301549.g5UFn9400581@mail.cruzio.com> To: freebsd-small@FreeBSD.ORG Subject: re: [patch] use ld(1) to build kernel with linked-in md(4) filesys Cc: gehicks@gehicks.dyndns.org, iedowse@maths.tcd.ie Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, Jerry, I think I may have lost some context on your recent message, subject "[patch] use ld(1) ... linked-in md(4) filesys", that starts "> The patch seems to remove". Perhaps there was a leading paragraph that didn't get pasted or somesuch. * If I understand, you have a patch that involves relinking the kernel image (effectively an image copy with alterations, brought by the goodness of ELF?). * During this relink, the size of the md filesystem in the image (is this a segment or section?) can be changed. * The relink can be controlled by a "picobsd" script command, which will support new "relink" options... or is another script intended? What is "it's" in "Yes, it's intended to replace the MD_ROOT_SIZE" option? * During a relink, a compile/build cycle must be done in conjunction with having the old image to be relinked available (?). Additional control files such as (/usr/locl/src/picobsd/conf) can steer" the relink process. * The kernel build makefile has been modified with additional targets so that it can link what it's got at the time (might not be all you need), and also attempt to link to produce a final bootable kernel. * Basically, going in the direction of a kernel binary linkage editor.... * The PR 40017 adds options to config so that locations of the the source tree and config file tree can be explicitly provided. Is this basically right? Sorry to seem so thick this morning, I'm asking because this sounds like very interesting good stuff that would make picobsd more tractable... and I did enjoy relinking with IEWL... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message