From owner-freebsd-bugs Sat Jun 29 17:50:14 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2CCF437B407 for ; Sat, 29 Jun 2002 17:50:09 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCEF643E09 for ; Sat, 29 Jun 2002 17:50:08 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g5U0o8JU015014 for ; Sat, 29 Jun 2002 17:50:08 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g5U0o77b015013; Sat, 29 Jun 2002 17:50:07 -0700 (PDT) Date: Sat, 29 Jun 2002 17:50:07 -0700 (PDT) Message-Id: <200206300050.g5U0o77b015013@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Ian Dowse Subject: Re: kern/40021: [patch] use ld(1) to build kernel with linked-in md(4) filesys Reply-To: Ian Dowse Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/40021; it has been noted by GNATS. From: Ian Dowse To: W Gerald Hicks Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: kern/40021: [patch] use ld(1) to build kernel with linked-in md(4) filesys Date: Sun, 30 Jun 2002 01:43:45 +0100 In message <200206292331.g5TNVRRu000860@gehicks.dyndns.org>, W Gerald Hicks wri tes: > Some applications such as picoBSD and etherboot still need a > linked-in filesystem. This patch allows one to specify an object > file created with mdconfig(8) and objcopy(1) to be linked into the > kernel image. This has the added benefit of allowing a flexible > size for the filesystem. Looks useful. > The patch deprecates 'options MD_ROOT_SIZE' replacing it with > 'makeoptions MD_ROOT_IMAGE="mdimage.o"' where mdimage.o > is a file created something like this: The patch seems to remove rather than deprecate the MD_ROOT_SIZE code. Is there a good reason not just leave it there and add the new option? The new approach requires that you have the image available at the time that the kernel is compiled, so for some applications it is less flexible (for example, we use built-in root filesystems in a lot of diskless terminals, and it is useful that updating the root filesystem does not require re-linking the kernel). It would also be preferable if the makefile could do the objcopy step, so you can specify the actual image file in MD_ROOT_IMAGE. Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message