I recently saw the following in a post to the list, "8.0-STABLE FreeBSD 8.0-STABLE #2 r207058M:". My question is how do you get the r number to display? My uname -a says:"8.0-STABLE FreeBSD 8.0-STABLE #2: Sat Apr 17 20:56:53". Is there a command line option, or a configuration setting somewhere? tia
In message <alpine.BSF.1.10.1004241455590.861@neu.net>, AN (andy@neu.net) wrote:> I recently saw the following in a post to the list, "8.0-STABLE FreeBSD > 8.0-STABLE #2 r207058M:". My question is how do you get the r number to > display? My uname -a says:"8.0-STABLE FreeBSD 8.0-STABLE #2: Sat Apr 17 > 20:56:53". Is there a command line option, or a configuration setting > somewhere?You use SVN instead of CVSup or CVS to update your source tree. Cheers, Nick. --
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 04/24/10 11:02, AN wrote:> I recently saw the following in a post to the list, "8.0-STABLE FreeBSD > 8.0-STABLE #2 r207058M:". My question is how do you get the r number to > display? My uname -a says:"8.0-STABLE FreeBSD 8.0-STABLE #2: Sat Apr 17 > 20:56:53". Is there a command line option, or a configuration setting > somewhere?This indicates the type of source-code repository in use. If you use cvsup or csup, you get the result you see. If you use a subversion repository from which to build, you get the revision number (plus an 'M', if there are local changes applied), imb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkvTEx4ACgkQQv9rrgRC1JL0kACdFP/dF6J3LQzQZKWAeDQIqsTJ 8f0AmgNnKFyCZmfb74Fm9W3IyMoRFWXm =rEK/ -----END PGP SIGNATURE-----
On Sat, Apr 24, 2010 at 03:02:49PM +0000, AN wrote:> I recently saw the following in a post to the list, "8.0-STABLE > FreeBSD 8.0-STABLE #2 r207058M:". My question is how do you get the > r number to display? My uname -a says:"8.0-STABLE FreeBSD > 8.0-STABLE #2: Sat Apr 17 20:56:53". Is there a command line > option, or a configuration setting somewhere?Those people are using freebsd-update(8). You're not. Don't worry about it. :-) -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 24/04/2010 16:02:49, AN wrote:> I recently saw the following in a post to the list, "8.0-STABLE FreeBSD > 8.0-STABLE #2 r207058M:". My question is how do you get the r number to > display? My uname -a says:"8.0-STABLE FreeBSD 8.0-STABLE #2: Sat Apr 17 > 20:56:53". Is there a command line option, or a configuration setting > somewhere?If you get your kernel+system sources via cvsup then you won't be able to see the Subversion revision number -- CVS overwrites the $FreeBSD$ and similar tags in the source code when sources are imported from SVN to CVS. I believe the same applies to freebsd-update, although in that case, you can only get the -RELEASE branches. Presumably if you were to check out 8-Stable directly from a SVN server, you would see the global version. However, unless you are a FreeBSD committer, checking sources out of SVN is (I believe) discouraged in order to reduce the load on the SVN servers. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkvTE5UACgkQ8Mjk52CukIzu7wCeKdHtnqVRs7mKfnYBZuu8lLFs hgUAnin6jzpuKH5baOFlcq5gaqinm0F6 =+UNZ -----END PGP SIGNATURE-----