/stand (again) puzzle

Erik Trulsson ertr1013 at student.uu.se
Thu Apr 17 12:25:58 PDT 2003


On Thu, Apr 17, 2003 at 07:27:33PM +0200, dick hoogendijk wrote:
> I'm so puzzled that I did it all over again last night:
> # shutdown now
> # cd /usr/obj
> # chflags -R noschg *
> # rm -rf *
> # cd /usr/src
> # make buildworld
> # skip new kernel; I have a 4.8 one already
> # make installworld
> # skip mergemaster; did run it last time to update /etc
> # *** notice this: ***
> # cd /usr/src/release/sysinstall
> # make all install
> 
> The result is a NEW sysinstall in /stand, but the rest is still old! If

This is normal.

> I run sysinstall and press F1 I get help for version 4.7 :-((

The helpfiles in /stand/help has presumably not been updated.
Don't ask me how to do that.  I don't know. :-/
(The sources for them reside in /usr/src/release/doc.)

> 
> =-=-=-=-
> Some part of a "ls -l /stand"
> 
> -r-xr-xr-x  32 root  wheel  2175016 Oct  9  2002 -sh
> -r-xr-xr-x  32 root  wheel  2175016 Oct  9  2002 [
> -r-xr-xr-x  32 root  wheel  2175016 Oct  9  2002 arp
> -r-xr-xr-x  32 root  wheel  2175016 Oct  9  2002 boot_crunch
> -r-xr-xr-x  32 root  wheel  2175016 Oct  9  2002 camcontrol
> r-xr-xr-x  32 root  wheel  2175016 Oct  9  2002 route
> -r-xr-xr-x  32 root  wheel  2175016 Oct  9  2002 rtsol
> -r-xr-xr-x  32 root  wheel  2175016 Oct  9  2002 sed
> -r-xr-xr-x  32 root  wheel  2175016 Oct  9  2002 sh
> -r-xr-xr-x  32 root  wheel  2175016 Oct  9  2002 slattach
> -r-xr-xr-x   1 root  wheel   923632 Apr 16 22:56 sysinstall
> -r-xr-xr-x  32 root  wheel  2175016 Oct  9  2002 test
> -r-xr-xr-x  32 root  wheel  2175016 Oct  9  2002 tunefs
> =-=-=-
> 
> I really have NO IDEA whatsoever how to get a "fresh" /stand directory
> with not only sysinstall refreshed, but all other "2175016 Oct 9" things
> too. What am I missing???

You are missing a lot of black magic that 'make release' uses and which
us normal users don't really want to know about.

For one thing the file/files that originally got installed in /stand
are actually several programs that made into one by crunchgen(1) and
then got hardlinks with the real names.

If you really want to know how it works you can start by reading the
release(7) and crunchgen(1) manpages as well as
/usr/src/release/Makefile   but my advice is to don't bother about it and
leave things as they are. You are likely to suffer less pain that way. :-)

There is no simple way to do what you want (and definitely no
well-documented way.)




-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013 at student.uu.se


More information about the freebsd-questions mailing list