From owner-freebsd-current@FreeBSD.ORG Fri Nov 4 16:16:24 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D90E106564A for ; Fri, 4 Nov 2011 16:16:24 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 372998FC14 for ; Fri, 4 Nov 2011 16:16:23 +0000 (UTC) Received: by iabz21 with SMTP id z21so4337995iab.13 for ; Fri, 04 Nov 2011 09:16:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Mk1TSvhmtZp54WVP7surmY/4UAcIau+sDaZ88SSQdPc=; b=QLoFZ4wYRfXSGhXyChux+iq3sBArjuwXPx+IkUTbTBPxCItsHXw1hHk7hTd789ajoH dmTXJwWSKyAmKdPzMeEbMVr40+hl7ox/3FnoZ3w09AmW+8DuGV7AMF4ct9vP7Wnq87uv qFwBFLap31j3ogxLHZQOsmn7IsBdnoqV016ZQ= MIME-Version: 1.0 Received: by 10.231.48.203 with SMTP id s11mr3811116ibf.90.1320423383393; Fri, 04 Nov 2011 09:16:23 -0700 (PDT) Received: by 10.231.11.140 with HTTP; Fri, 4 Nov 2011 09:16:22 -0700 (PDT) Received: by 10.231.11.140 with HTTP; Fri, 4 Nov 2011 09:16:22 -0700 (PDT) In-Reply-To: <003101cc95ca$80ec8b60$82c5a220$@com> References: <4EAB2D38.4040200@feral.com> <003101cc95ca$80ec8b60$82c5a220$@com> Date: Fri, 4 Nov 2011 16:16:22 +0000 Message-ID: From: Chris Rees To: Pegasus Mc Cleaft Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: mj@feral.com, freebsd-current@freebsd.org, "Lyndon Nerenberg \(VE6BBM/VE7TFX\)" Subject: RE: Adding disk firmware programming capability to camcontrol X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Nov 2011 16:16:24 -0000 On 29 Oct 2011 00:38, "Pegasus Mc Cleaft" wrote: > > >> The linux hdparm program is so paranoid about this that you have to us= e > >> extra arguments like "--yes-really-destroy-my-disk-drive" to do this. > > > >I concur. Loudly. The ability to brick your hardware is just too > >large to not make people go through the "I tell you three times" > >dance. It's not like people will do this often enough that the > >pain will be fatal. And if it is, they ought to be bright enough to > >know how to automate the process. > > > >--lyndon > > Hi Lyndon and group, > > I tend to disagree that there should be such argument antics > employed to protect an operation such as this. Being root should be the only > protection needed (of course, that's only my opinion). I don=92t want to have > to look up in a man page what magic token I need to add to prove to the > utility that I understand the consequences of what I am about to do. I > personally wouldn't mind a simple "Are you sure?" if the magic token is not > added on the command line, however. > > To me, the only difference between borking a drive because of bad > firmware and typing "rm -rf *" from root is about =A340. You still lose = at > least a day rebuilding/restoring everything. > You clearly haven't bought a hard drive recently. Chris