[Dovecot] dovecot -n - provide sys info too? - WAS: Re: Dovecot read only for users

Proskurin Kirill k.proskurin at fxclub.org
Thu Oct 30 09:21:46 EET 2008


Charles Marcus wrote:
> On 10/29/2008 2:41 PM, Timo Sirainen wrote:
>>> /etc/gentoo-release
>> Added.
>>
>>> Hmmm... this doesn't really contain useful info though...
>>>
>>> ~ # cat /etc/gentoo release
>>> Gentoo Base System release 1.12.11.1
>> Looks just fine.
>>
>>> maybe some forme of the uname command?
>>>
>>> ~ # uname -orpm
>>> 2.6.23-gentoo-r9 x86_64 AMD Opteron(tm) Processor 244 GNU/Linux
>> uname() is also used. It would probably print with you:
>>
>> # OS: Linux 2.6.23-gentoo-r9 x86_64 Gentoo Base System release 1.12.11.1
> 
> Ahh... well, there ya go... thanks Timo, maybe this will save you some
> few precious seconds... ;)
> 

For FreeBSD you may use:

#sysctl kern.version

kern.version: FreeBSD 7.0-RELEASE-p5 #0: Wed Oct  1 10:10:12 UTC 2008
     root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC

Or:
# uname -srmi
FreeBSD 7.0-RELEASE-p5 i386 GENERIC

-- 
Best regards,
Proskurin Kirill


More information about the dovecot mailing list