NAME
|
env – environment variables |
SYNOPSIS
|
bind #e /env /env/var1 /env/var2
|
DESCRIPTION
|
The env device serves a one–level directory containing files with
arbitrary names and contents. The intention is that the file name
is the name of an environment variable (see rc(1)), and the content
is the variable's current value.
|
SEE ALSO
|
rc(1), fork(2), #c/reboot in cons(3), plan9.ini(8) |
SOURCE
|
/sys/src/9/port/devenv.c |
BUGS
|
A write starting at an offset after the current extent of a file
yields an error instead of zero filling. |