From owner-cvs-all Mon Nov 19 17:21:11 2001 Delivered-To: cvs-all@freebsd.org Received: from peter3.wemm.org (c1315225-a.plstn1.sfba.home.com [24.14.150.180]) by hub.freebsd.org (Postfix) with ESMTP id B571B37B41C; Mon, 19 Nov 2001 17:20:49 -0800 (PST) Received: from overcee.netplex.com.au (overcee.wemm.org [10.0.0.3]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id fAK1KnM44433; Mon, 19 Nov 2001 17:20:49 -0800 (PST) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 6DCE13811; Mon, 19 Nov 2001 17:20:49 -0800 (PST) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Josef Karthauser Cc: John Baldwin , cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: Re: cvs commit: src/release Makefile In-Reply-To: <20011120004811.C1670@tao.org.uk> Date: Mon, 19 Nov 2001 17:20:49 -0800 From: Peter Wemm Message-Id: <20011120012049.6DCE13811@overcee.netplex.com.au> 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 Josef Karthauser wrote: > On Tue, Nov 20, 2001 at 12:37:48AM +0000, Josef Karthauser wrote: > > > This doesn't kill write_mfs_in_kernel, but it is now no longer used. T= > he only > > > user of it now is picoBSD. It should probably move to /usr/bin or some= > thing > > > out of src/release however. Or perhaps under src/release/picobsd. > =20 > > Is it? I'm not sure that picobsd does use it anymore. > > Yes it does. It makes sense for it to be under src/relase/picobsd. > I'll make a copy of it there, and then someone can delete the original > if they fancy. > > Joe wite_mfs_in_kernel should die completely, even in picobsd. There are much better ways: peter@daintree[5:17pm]~/m-125> cat main.c extern char __start_foo[]; extern char __stop_foo[]; main() { printf("start=%p, stop=%p\n", __start_foo, __stop_foo); } peter@daintree[5:17pm]~/m-126> cc -c main.c peter@daintree[5:18pm]~/m-127> objcopy --add-section foo=/etc/termcap main.o main2.o peter@daintree[5:18pm]~/m-128> cc -o main main2.o peter@daintree[5:18pm]~/m-129> ./main start=0x50, stop=0x2ea27 peter@daintree[5:18pm]~/m-130> strings -a main | more ... ASM_FILE_END]GCC: (c) 2.95.3 20010315 (release) 01.01 01.01 01.01 01.01 # Copyright (c) 1980, 1985, 1989, 1993 # The Regents of the University of California. All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions .... # @(#)termcap.src 8.2 (Berkeley) 11/17/93 # $FreeBSD: src/share/termcap/termcap.src,v 1.109 2001/08/15 03:25:57 ache Exp $ .... This has the distinct advantage that it is auto-sizing. You dont have to pre-reserve space for it. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message