From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Mon, 12 Sep 2011 20:50:36 +0200 Subject: [U-Boot] [PATCH 5/5] NAND: Add scrub.quiet command option In-Reply-To: <20110912183747.E072D11F9E57@gemini.denx.de> References: <1315800250-19761-1-git-send-email-marek.vasut@gmail.com> <201109121945.17407.marek.vasut@gmail.com> <20110912183747.E072D11F9E57@gemini.denx.de> Message-ID: <201109122050.36226.marek.vasut@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Monday, September 12, 2011 08:37:47 PM Wolfgang Denk wrote: > Dear Marek Vasut, > > In message <201109121945.17407.marek.vasut@gmail.com> you wrote: > > On Monday, September 12, 2011 06:45:43 PM Mike Frysinger wrote: > > > On Monday, September 12, 2011 00:04:10 Marek Vasut wrote: > > > > This allows the scrub command to scrub without asking the user if he > > > > really wants to scrub the area. Useful in scripts. > > > > > > "quiet" and "skip user input" are two different things. can you use a > > > more clean option like accepting "-y" to the "scrub" subcommand ? > > > > I'd prefer to have this hidden from common users as much as possible. > > This is probably well-intentioned, but keep in mind old (and good!) > Unix rules like: > > "UNIX was not designed to stop you from doing stupid things, because > that would also stop you from doing clever things." - Doug Gwyn > > Don't try hiding stuff - others might find it useful. You can use the usual scrub command, noone is preventing you from anything. Using this kind of a scrub.quiet command is really an arguable practice. > > Best regards, > > Wolfgang Denk