From mboxrd@z Thu Jan 1 00:00:00 1970 From: Detlev Zundel Date: Fri, 15 Feb 2008 16:52:07 +0100 Subject: [U-Boot-Users] Delete all env vars except read onlys In-Reply-To: <20080214074453.25D9E2483C@gemini.denx.de> (Wolfgang Denk's message of "Thu, 14 Feb 2008 08:44:53 +0100") References: <20080214074453.25D9E2483C@gemini.denx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Wolfgang, > In message <200802140620.15102.sr@denx.de> you wrote: >> >> I would still prefer the version with the '--force' parameter. Just my 2 >> cents. > > I really don't want to have this, for two reasons: 1) U-Boot doesn't > do "Do you really want to" confirmations, because these don't fit into > the Unix design philisophy; 2) U-Boot doesn't do GNU style long > command line switches (for several reasons, memory footprint being one > of them). As I hinted at in my other mail, git is my prime example of living up to the spirit of unix - and still many commands there, e.g. git-push need a '-f' to prevent clobbering costly changes inadvertently. In my opinion your argument 1) is not true as it stands. Unix wants its users to be as productive as possible and typing two extra characters when ommitting them can cause hours of work is definitely in this spirit. Exaggerating your argument I would ask why you do not work only as root on your machine. In U-Boot we do not have this "user" level of protection so IMHO it makes sense to have at least a bit of it. It is true however that we don't have any kind of option processing, so probably '-force' wasn't a good choice to begin with. What about only using "all" as a "conformative" option? Cheers Detlev -- Perfection (in design) is achieved not when there is nothing more to add, but rather when there is nothing more to take away. -- Antoine de Saint-Exupery -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de