All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] RFC: hidden environment variables
@ 2007-04-23 16:46 Timur Tabi
  2007-04-23 17:29 ` Grant Likely
                   ` (3 more replies)
  0 siblings, 4 replies; 34+ messages in thread
From: Timur Tabi @ 2007-04-23 16:46 UTC (permalink / raw)
  To: u-boot

WD et al:

I'd like to propose a new feature for U-Boot: hidden environment variables.  These are 
variables that are stored in environment but are normally not visible to the user. 
Specifically, a hidden environment variable would have these properties:

1) Doesn't show up via "print" or "echo"
2) Can't be referenced via a $
3) Can't be set via setenv

Only internal U-Boot code can modify/query these variables.  This way, internal code can 
use the existing environment data structure without having to expose this data to the user 
(and giving him the impression that he can access/manipulate this data directly).

The only drawback to this plan is that, after modifying a hidden environment variable, the 
user would need to be told to issue "saveenv" if he wants his changes saved permanently.

One advantage of this feature is that we can develop new commands that store data 
permanently without having to add hooks into _do_setenv().

-- 
Timur Tabi
Linux Kernel Developer @ Freescale

^ permalink raw reply	[flat|nested] 34+ messages in thread

end of thread, other threads:[~2007-04-24 18:58 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-23 16:46 [U-Boot-Users] RFC: hidden environment variables Timur Tabi
2007-04-23 17:29 ` Grant Likely
2007-04-23 18:47 ` Ulf Samuelsson
2007-04-23 19:22 ` Wolfgang Denk
2007-04-23 20:28   ` Scott Wood
2007-04-23 21:51     ` Wolfgang Denk
2007-04-23 23:20       ` Timur Tabi
2007-04-24  0:12         ` Wolfgang Denk
2007-04-24 18:58           ` Rune Torgersen
2007-04-23 19:28 ` Ben Warren
2007-04-23 19:32   ` Ulf Samuelsson
2007-04-23 19:39     ` Ben Warren
2007-04-23 19:45       ` Timur Tabi
2007-04-23 19:53         ` Ben Warren
2007-04-23 21:49           ` Timur Tabi
2007-04-23 22:04             ` Ben Warren
2007-04-23 21:37         ` Wolfgang Denk
2007-04-23 21:56           ` Timur Tabi
2007-04-23 22:13             ` Wolfgang Denk
2007-04-23 23:19               ` Timur Tabi
2007-04-24  0:06                 ` Wolfgang Denk
2007-04-23 21:34     ` Wolfgang Denk
2007-04-24  9:05     ` Ladislav Michl
2007-04-23 19:49   ` Scott Wood
2007-04-23 21:40     ` Wolfgang Denk
2007-04-23 19:50   ` Timur Tabi
2007-04-23 20:05     ` Jeff Mann
2007-04-23 21:46       ` Wolfgang Denk
2007-04-23 21:51       ` Timur Tabi
2007-04-23 22:05         ` Wolfgang Denk
2007-04-23 23:14           ` Timur Tabi
2007-04-23 23:52             ` Wolfgang Denk
2007-04-24 13:43               ` Truong, Loc
2007-04-23 21:43     ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.