From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,76da4c08d1b0d5,start X-Google-Attributes: gidfee84,public From: hedrick@geneva.rutgers.edu (Charles Hedrick) Subject: Re: What *specific* version of Digital Unix am I running? 3.0 3.0B? Date: 1996/03/08 Message-ID: <4hored$ka2@geneva.rutgers.edu>#1/1 X-Deja-AN: 142157678 references: <4higkm$gls@sundog.tiac.net> organization: Rutgers University LCSR newsgroups: comp.unix.osf.osf1 cgf@bbc.com (Chris Faylor) writes: >I would like to install the clock patches that have been discussed here >but I'm embarrassed to admit that I don't remember exactly what version >of OSF/1 I'm running. I have one machine running 3.0? and one running >3.2?. 'uname -a' does not report a letter after the 3.n on either >system so am I safe in assuming that I'm running vanilla 3.0 and 3.2 or >is there some other way to tell that I've forgotten? In general /etc/motd should show your actual version. If it doesn't, the following will work, though there's probably a more elegant approach: > strings /vmunix | grep UNIX Digital UNIX V3.2C (Rev. 148); Thu Feb 29 14:12:48 EST 1996 UNIX_error > The first line is what should be in /etc/motd. This string seems to be built from /usr/sys/conf/version.*. So version.variant has C in it for our situation. The string itself is in /usr/sys/MACHINE/vers.c. where MACHINE is the place where your kernel was built, by default the name of your machine.