Re: mastake in 4.9 -> 5.0 upgrade guide

[email protected] (Jérémie Courrèges-Angl as)
Newsgroups gmane.os.openbsd.www
Message-ID <[email protected]>
Янчарук Александр <[email protected]> writes:

> Hi!
>
> I have a question about 4.9 -> 5.0 upgrade guide content:
> http://www.openbsd.org/faq/upgrade50.html
>
> There is the text:
> *Install new kernel(s):*
>
>   * If using a single processor kernel:
>
>         *export RELEASEPATH=*//usr/rel/    /# where you put the files/
>         *cd ${RELEASEPATH}*
>         *rm /obsd ; ln /bsd /obsd&&  cp bsd /nbsd&&  mv /nbsd /bsd*
>         *cp bsd.rd bsd.mp /*
>
>     (note: you will get a harmless error message if your platform
>     doesn't have a bsd.mp):
>
>   * If you are using the multiprocessor kernel:
>
>         *export RELEASEPATH=*//usr/rel/    /# where you put the files/
>         *cd ${RELEASEPATH}*
>         *rm /obsd ; ln /bsd /obsd&&  cp bsd.mp /nbsd&&  mv /nbsd /bsd*
>         *cp bsd.rd /*
>         *cp bsd /bsd.sp*
>
> Is it correct command for a single processor kernel:
> *cp bsd.rd bsd.mp* ?

Yes it is. Please read carefully:

>   * If using a single processor kernel:
                 ^^^^^^
>         *export RELEASEPATH=*//usr/rel/    /# where you put the files/
>         *cd ${RELEASEPATH}*
>         *rm /obsd ; ln /bsd /obsd &&  cp bsd /nbsd &&  mv /nbsd /bsd*

Here you're copying the single processor kernel to /bsd, the safe way.

>         *cp bsd.rd bsd.mp /*

Here you're copying bsd.rd to /bsd.rd, and bsd.mp to /bsd.mp.  The point
is to have an up-to-date version of bsd.rd and bsd.mp to boot from.
Even if you don't use /bsd.mp at all.

>     (note: you will get a harmless error message if your platform
>     doesn't have a bsd.mp):
>
> And for a multiprocessor: *cp bsd /bsd.sp*

Here the point is to have an up-to-date version of /bsd.sp, in case it
is ever needed.

> May be i'm wrong, but doesn't bsd.sp mean 'single processor kernel'?

You are right.

--
Jérémie Courrèges-Anglas
GPG fingerprint: 61DB D9A0 00A4 67CF 2A90 8961 6191 8FBF 06A1 1494

[demime 1.01d removed an attachment of type application/pgp-signature]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.