public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Detlev Zundel <dzu@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Delete all env vars except read onlys
Date: Fri, 15 Feb 2008 16:52:07 +0100	[thread overview]
Message-ID: <m27ih6p68o.fsf@ohwell.denx.de> (raw)
In-Reply-To: <20080214074453.25D9E2483C@gemini.denx.de> (Wolfgang Denk's message of "Thu, 14 Feb 2008 08:44:53 +0100")

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

  reply	other threads:[~2008-02-15 15:52 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-12  8:44 [U-Boot-Users] Delete all env vars except read onlys Matthias Fuchs
2008-02-12 14:49 ` Stefan Roese
2008-02-12 22:55   ` Wolfgang Denk
2008-02-13  8:21   ` Matthias Fuchs
2008-02-13  8:56     ` Stefan Roese
2008-02-13  9:18       ` Matthias Fuchs
2008-02-13 10:02     ` Markus Klotzbücher
2008-02-13 10:13       ` Stefan Roese
2008-02-13 10:33         ` Markus Klotzbücher
2008-02-13 11:13           ` Detlev Zundel
2008-02-13 12:55             ` Markus Klotzbücher
2008-02-13 12:58               ` Stefan Roese
2008-02-13 22:43             ` Wolfgang Denk
2008-02-13 22:49               ` Scott Wood
2008-02-13 23:03                 ` Wolfgang Denk
2008-02-13 23:04                   ` Scott Wood
2008-02-13 23:11                     ` Wolfgang Denk
2008-02-15 15:37                       ` Detlev Zundel
2008-02-13 22:40         ` Wolfgang Denk
2008-02-13 22:50           ` Scott Wood
2008-02-13 23:05             ` Wolfgang Denk
2008-02-14  5:20             ` Stefan Roese
2008-02-14  7:44               ` Wolfgang Denk
2008-02-15 15:52                 ` Detlev Zundel [this message]
2008-02-15 16:11                   ` Wolfgang Denk
2008-02-15 16:40                   ` Wolfgang Denk
2008-02-15 17:12                     ` Markus Klotzbücher
2008-02-15 20:27                     ` Jean-Christophe PLAGNIOL-VILLARD
2008-02-20 21:17                       ` Matthias Fuchs
2008-02-20 21:30                         ` Ulf Samuelsson
2008-02-21  0:04                           ` Wolfgang Denk
2008-02-22 12:00                         ` Wolfgang Denk
2008-02-18  9:41                     ` Martin Krause
2008-03-25 21:10                     ` Wolfgang Denk
2008-02-13 22:38     ` Wolfgang Denk
2008-02-12 22:38 ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m27ih6p68o.fsf@ohwell.denx.de \
    --to=dzu@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox