You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Keith Poole edited this page Sep 5, 2015
·
3 revisions
This is a list of environment variables currently used in Harvey. In Harvey, "everything is a file" is universal, so environment variables are also served by a file server which is mounted under /env. Currently, this server serves these files:
/env/NPROC - number of processors on the machine
/env/apid
/env/auth - network address of auth server
/env/boottime - date/time of last boot
/env/cflag
/env/cputype - Currently always "amd64"
/env/debugfactotum - If set, adds a -p flag to factotum during boot
/env/facedom - default domain for faces server (not currently used)
/env/fileserver
'/env/fn#sigexit'
/env/fs - network address of file server
/env/home - user's home directory
/env/ifs
/env/maxcores - limits the number of cores harvey can use (kernel parameter)
/env/nobootprompt - type of boot e.g. tcp, local, etc set as a kernel parameter to skip console boot prompt
/env/objtype - Currently always "amd64"
/env/path - search path for executables
/env/pgsz - set to 2097152 (2Mb)
/env/pid
/env/prompt - current prompt
/env/rcname - path to rc shell
/env/rootdir - root directory
/env/service - type of server (e.g. "cpu")
/env/site
/env/status
/env/sysname - if not set as a kernel parameter, it will be set in cs.c
/env/terminal -
/env/timezone - set by init.c to the contents of /adm/local/timezone