How can I see which version is in /usr/src

Giorgos Keramidas keramida at ceid.upatras.gr
Mon Feb 28 22:20:24 GMT 2005


On 2005-02-28 23:11, "Gelsema, Patrick" <gelsemap at superhero.nl> wrote:
> Just wondering how I can see which version of Freebsd I've got as
> sources in my /usr/src directory.

One way would be to check the definition of __FreeBSD_version:

$ grep '^#define[[:space:]]\+__FreeBSD_version' /usr/src/sys/sys/param.h
#define __FreeBSD_version 600019        /* Master, propagated to newvers */



More information about the freebsd-questions mailing list