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 <[EMAIL PROTECTED]> -- 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message