what are pX and #X

Alistair Sutton alistair.sutton at gmail.com
Wed Oct 4 04:26:48 PDT 2006


On 04/10/06, pobox at verysmall.org <pobox at verysmall.org> wrote:
> What are pX and #X after the version displayed by 'uname'? As far as I
> know pX is the 'patch set' and #X is the number of times the kernel has
> been updated.
>
> However, yesterday I updated the kernel (of 6.1 installed from the boot
> CD and then FTP - some time ago) and p jumped to p10, while #X remained
> zero. I thought pX changes only when world is built and #X should have
> been changed to #1.
>
> What I did was -
>
> cvsup-ed src with tag RELENG_6_1
>
> cd /usr/src
> create MYKERNEL config
> (just commented cpu I486_CPU and I586_CPU)
>
> make buildkernel KERNCONF=MYKERNEL
> make installkernel KERNCONF=MYKERNEL
> reboot

My understanding is that as long as pX doesn't change then #X will be
incremented.

If you do another rebuild of your p10 system now then I would imagine
that #X would increase to #1 and will continue to increase until pX is
altered.

Al
-- 
WWW: http://ajs.no-dns-yet.org.uk
GPG/PGP: http://ajs.no-dns-yet.org.uk/pubkey.gpg


More information about the freebsd-questions mailing list