Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jan 2001 14:38:53 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        "Crist J. Clark" <cjclark@reflexnet.net>
Cc:        Jordan Hubbard <jkh@winston.osd.bsdi.com>, current@FreeBSD.org, stable@FreeBSD.org, bmah@FreeBSD.org
Subject:   Re: sysinstall.8 Breaking buildworld
Message-ID:  <XFMail.010111143853.jhb@FreeBSD.org>
In-Reply-To: <20010111134616.A91185@rfx-64-6-211-149.users.reflexco>

next in thread | previous in thread | raw e-mail | index | archive | help

On 11-Jan-01 Crist J. Clark wrote:
> On Thu, Jan 11, 2001 at 11:52:43AM -0800, John Baldwin wrote:
> 
> [snip]
> 
>> Erm, many things live in both /stand and other places:
>> 
>> > ll /stand/ | wc -l
>>       35
>> > ll /stand/rm /bin/rm
>> -r-xr-xr-x   2 root  wheel   255736 Jan  9 08:17 /bin/rm
>> -r-xr-xr-x  31 root  wheel  1729520 Jul 28 07:32 /stand/rm
> 
> I am not clear what you are saying here. Only sysinstall lives in
> /stand,

Heh, no.  That is a crunch.  It has the object code for _all_ of those
binaries in it.  So /stand/rm will remove a file just like the normal rm:

> /stand/rm
usage: rm [-f | -i] [-dPRrvW] file ...
       unlink file

>> Putting it in world wouldn't touch /stand, it would just add it to either
>> /usr/sbin or /sbin and keep that copy updated.
> 
> [snip]
> 
>> I vote for both, but not to touch /stand.  We don't keep rm.1 in sync with
>> /stand/rm, we keep it in sync with /bin/rm, so this seems to be the most
>> consistent..
> 
> Well, /stand/rm is not _really_ rm at all, but I get the point. I
> guess the only question is whether to put it in /sbin or /usr/sbin. I
> think /sbin makes sense (so it is bootable), but it is 1.6MB of
> /-bloat... But from another thread about making 250MB the default /
> size, I guess few care too much about that anymore.

It isn't that big:

> file $owd/sysinstall
/usr/obj/usr/src/sbin/sysinstall/sysinstall: ELF 32-bit LSB executable, Intel
80386, version 1 (FreeBSD), statically linked, not stripped
> ll !:1
ll /usr/obj/usr/src/sbin/sysinstall/sysinstall
-rwxrwxr-x  1 john  src  899374 Jan 11 14:06
/usr/obj/usr/src/sbin/sysinstall/sysinstall

The stripped version is about 840k, which isn't but so bad.  That is if it
lives in /sbin (which I vote for).  The dynamic version if it goes in /usr/sbin
would be smaller again.

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010111143853.jhb>