Environment Variables
foo
OSVERSION
OSVERSION |
Release |
601000 |
6.1 |
603000 |
6.3 |
604000 |
6.4 |
800107 |
8.0 |
801000 |
8.1 |
UNAME_*
MACHINE_ARCH
Somehow make picks up amd64? Maybe was just an old "up-to-date make" in my build tree. If not it can be forced by:
MACHINE_ARCH=i386
/etc/login.conf
- setenv line
- :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES:\
- cap_mkdb /etc/login.conf
Example
UNAME_m=i386 UNAME_p=i386 UNAME_r="8.0-RELEASE" UNAME_v="FreeBSD 8.0-RELEASE #0 r12345: Sun Mar 7 11:28:18 EST 2010 emaste@localhost:/usr/obj/usr/src/sys/GENERIC" OSVERSION=800107
Troublesome Binaries
- ps
- top
- ifconfig
- netstat