Re: mastake in 4.9 -> 5.0 upgrade guide
Янчарук Александр <[email protected]>
| Newsgroups | gmane.os.openbsd.www |
|---|---|
| Message-ID | <[email protected]> |
Thank you very much for detailed explanation! On 11.06.2012 09:21, Jérémie Courrèges-Anglas wrote: > Янчарук Александр<[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. > -- С уважением, Янчарук Александр [email protected] <mailto:[email protected]>